Commit d2a41e2f authored by Alexander Kissinger's avatar Alexander Kissinger
Browse files

Fixed bug from my previous commit (13429) which led to an error in compilation.

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@13431 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent 5c449201
......@@ -333,6 +333,9 @@ public:
// loop over all elements (cells)
for (; eIt != eEndit; ++eIt) {
if(eIt->partitionType() == Dune::InteriorEntity)
{
// get FE function spaces to calculate gradients (gradient data of momentum balance
// equation is not stored in fluxvars since it is not evaluated at box integration point)
// copy the values of the sol vector to the localFunctionSpace values of the current element
......@@ -532,6 +535,7 @@ public:
totalStressZ[eIdx][2] = initStressZ[eIdx][2] + deltaEffStressZ[eIdx][2] - deltaEffPressure[eIdx];
}
}
}
}
// calculate principal stresses i.e. the eigenvalues of the total stress tensor
......
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