Commit 9d1daaef authored by Klaus Mosthaf's avatar Klaus Mosthaf
Browse files

small correction to last commit, massFraction and moleFraction get only

one argument (the component index)


git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@12491 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 704bef8d
......@@ -151,8 +151,8 @@ public:
delP[globalIdx] = volVars.pressure()*scale_ - 1e5;
for (int compIdx = 0; compIdx < numComponents; ++compIdx)
{
(*moleFraction[compIdx])[globalIdx]= volVars.moleFraction(phaseIdx,compIdx);
(*massFraction[compIdx])[globalIdx]= volVars.massFraction(phaseIdx,compIdx);
(*moleFraction[compIdx])[globalIdx]= volVars.moleFraction(compIdx);
(*massFraction[compIdx])[globalIdx]= volVars.massFraction(compIdx);
Valgrind::CheckDefined((*moleFraction[compIdx])[globalIdx]);
Valgrind::CheckDefined((*massFraction[compIdx])[globalIdx]);
}
......
......@@ -156,8 +156,8 @@ public:
delP[globalIdx] = volVars.pressure()*scale_ - 1e5;
for (int compIdx = 0; compIdx < numComponents; ++compIdx)
{
(*moleFraction[compIdx])[globalIdx]= volVars.moleFraction(phaseIdx,compIdx);
(*massFraction[compIdx])[globalIdx]= volVars.massFraction(phaseIdx,compIdx);
(*moleFraction[compIdx])[globalIdx]= volVars.moleFraction(compIdx);
(*massFraction[compIdx])[globalIdx]= volVars.massFraction(compIdx);
Valgrind::CheckDefined((*moleFraction[compIdx])[globalIdx]);
Valgrind::CheckDefined((*massFraction[compIdx])[globalIdx]);
}
......
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