Commit bd539a50 authored by Beatrix Becker's avatar Beatrix Becker
Browse files

remove redundant setting of saturation (when saturation did not change

before at all). Approved by Bernd


git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@15000 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 96d4410f
......@@ -1185,13 +1185,9 @@ void FVSaturation2P<TypeTag>::updateMaterialLaws()
//determine phase saturations from primary saturation variable
Scalar satW = cellData.saturation(wPhaseIdx);
Scalar satNw = cellData.saturation(nPhaseIdx);
Scalar pc = MaterialLaw::pc(problem_.spatialParams().materialLawParams(*eIt), satW);
cellData.setSaturation(wPhaseIdx, satW);
cellData.setSaturation(nPhaseIdx, satNw);
cellData.setCapillaryPressure(pc);
// initialize mobilities
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment