From f6e20a6e51024dedd11e6d23669d42c4650edefc Mon Sep 17 00:00:00 2001 From: Timo Koch <timo.koch@iws.uni-stuttgart.de> Date: Thu, 10 Mar 2016 12:06:58 +0100 Subject: [PATCH] [Fix] Replace decoupled by sequential in error message --- dumux/porousmediumflow/2p2c/sequential/fvpressure.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dumux/porousmediumflow/2p2c/sequential/fvpressure.hh b/dumux/porousmediumflow/2p2c/sequential/fvpressure.hh index 0bf44abb1b..4b6bd2f231 100644 --- a/dumux/porousmediumflow/2p2c/sequential/fvpressure.hh +++ b/dumux/porousmediumflow/2p2c/sequential/fvpressure.hh @@ -1024,7 +1024,7 @@ void FVPressure2P2C<TypeTag>::updateMaterialLawsInElement(const Element& element Scalar massn = sumConc * fluidState.phaseMassFraction(nPhaseIdx); if ((cellData.density(wPhaseIdx)*cellData.density(nPhaseIdx)) == 0) - DUNE_THROW(Dune::MathError, "Decoupled2p2c::postProcessUpdate: try to divide by 0 density"); + DUNE_THROW(Dune::MathError, "Sequential2p2c::postProcessUpdate: try to divide by 0 density"); Scalar vol = massw / cellData.density(wPhaseIdx) + massn / cellData.density(nPhaseIdx); if (Dune::FloatCmp::ne<Scalar, Dune::FloatCmp::absolute>(problem().timeManager().timeStepSize(), 0.0, 1.0e-30)) { @@ -1032,7 +1032,7 @@ void FVPressure2P2C<TypeTag>::updateMaterialLawsInElement(const Element& element if (std::isnan(cellData.volumeError())) { - DUNE_THROW(Dune::MathError, "Decoupled2p2c::postProcessUpdate:\n" + DUNE_THROW(Dune::MathError, "Sequential2p2c::postProcessUpdate:\n" << "volErr[" << eIdxGlobal << "] isnan: vol = " << vol << ", massw = " << massw << ", rho_l = " << cellData.density(wPhaseIdx) << ", massn = " << massn << ", rho_g = " << cellData.density(nPhaseIdx) -- GitLab