From fb2b307a88dd7d20dc9f14614e52d676da9d61ed Mon Sep 17 00:00:00 2001 From: Alexander Kissinger <alexander.kissinger@iws.uni-stuttgart.de> Date: Tue, 30 Sep 2014 09:07:02 +0000 Subject: [PATCH] Fixed messed up version from commit 13431. Now it should compile again. git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@13435 2fb0f335-1f38-0410-981e-8018bf24f1b0 --- dumux/geomechanics/el2p/el2pmodel.hh | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/dumux/geomechanics/el2p/el2pmodel.hh b/dumux/geomechanics/el2p/el2pmodel.hh index 9f69a53262..f3ad422ebd 100644 --- a/dumux/geomechanics/el2p/el2pmodel.hh +++ b/dumux/geomechanics/el2p/el2pmodel.hh @@ -284,8 +284,6 @@ public: for (unsigned int eIdx = 0; eIdx < numElements; ++eIdx) { - if(eIt->partitionType() == Dune::InteriorEntity) - { deltaEffStressX[eIdx] = Scalar(0.0); if (dim >= 2) deltaEffStressY[eIdx] = Scalar(0.0); @@ -332,7 +330,6 @@ public: ElementIterator eEndit = this->gridView_().template end<0>(); // loop over all elements (cells) for (; eIt != eEndit; ++eIt) { - if(eIt->partitionType() == Dune::InteriorEntity) { @@ -535,7 +532,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 @@ -636,7 +633,7 @@ public: // Pressure margins according to J. Rutqvist et al. / International Journal of Rock Mecahnics & Mining Sciences 45 (2008), 132-143 Pcrtens[eIdx] = Peff - principalStress3[eIdx]; Pcrshe[eIdx] = Peff - Psc; - } + } writer.attachVertexData(Te, "T"); -- GitLab