diff --git a/dumux/boxmodels/2p2c/2p2cmodel.hh b/dumux/boxmodels/2p2c/2p2cmodel.hh index e041d305cf98fe7e394a3633bd5801b0c28b52fc..4504f041058a3bb43138ec3dc3ac3753a7c13e65 100644 --- a/dumux/boxmodels/2p2c/2p2cmodel.hh +++ b/dumux/boxmodels/2p2c/2p2cmodel.hh @@ -179,7 +179,7 @@ public: = staticVertexDat_[globalIdx].phasePresence; } - massUpwindWeight_ = GET_PARAM(TypeTag, bool, MassUpwindWeight); + massUpwindWeight_ = GET_PARAM(TypeTag, Scalar, MassUpwindWeight); } /*! diff --git a/dumux/boxmodels/2p2c/2p2cnewtoncontroller.hh b/dumux/boxmodels/2p2c/2p2cnewtoncontroller.hh index 0e218dc7b4d1c0632183fc48f026a94d7feba84c..9c31367a0cbc42b99907091a5079140c6723c6cc 100644 --- a/dumux/boxmodels/2p2c/2p2cnewtoncontroller.hh +++ b/dumux/boxmodels/2p2c/2p2cnewtoncontroller.hh @@ -78,7 +78,7 @@ public: catch (Dumux::NumericalProblem &e) { std::cout << "rank " << this->problem_().gridView().comm().rank() - << " caught an exception while assembling:" << e.what() + << " caught an exception while updating:" << e.what() << "\n"; succeeded = 0; succeeded = this->problem_().gridView().comm().min(succeeded);