Fixed: Incorrect nf in SIMoutput::writeGlvS1 for mixed problems

This commit is contained in:
Knut Morten Okstad 2018-07-18 20:48:13 +02:00
parent 3a9a8ae65e
commit d451b1cd5d

View File

@ -527,8 +527,6 @@ int SIMoutput::writeGlvS1 (const Vector& psol, int iStep, int& nBlock,
else
haveXsol = mySol->getVectorSol() != nullptr;
}
if (myProblem && nf > 1)
nf = myProblem->getNoFields(1);
std::array<IntVec,2> vID;
std::vector<IntVec> sID;