Skip to content
Snippets Groups Projects
Commit fb2b307a authored by Alexander Kissinger's avatar Alexander Kissinger
Browse files

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
parent d2a41e2f
No related branches found
No related tags found
No related merge requests found
...@@ -284,8 +284,6 @@ public: ...@@ -284,8 +284,6 @@ public:
for (unsigned int eIdx = 0; eIdx < numElements; ++eIdx) { for (unsigned int eIdx = 0; eIdx < numElements; ++eIdx) {
if(eIt->partitionType() == Dune::InteriorEntity)
{
deltaEffStressX[eIdx] = Scalar(0.0); deltaEffStressX[eIdx] = Scalar(0.0);
if (dim >= 2) if (dim >= 2)
deltaEffStressY[eIdx] = Scalar(0.0); deltaEffStressY[eIdx] = Scalar(0.0);
...@@ -332,7 +330,6 @@ public: ...@@ -332,7 +330,6 @@ public:
ElementIterator eEndit = this->gridView_().template end<0>(); ElementIterator eEndit = this->gridView_().template end<0>();
// loop over all elements (cells) // loop over all elements (cells)
for (; eIt != eEndit; ++eIt) { for (; eIt != eEndit; ++eIt) {
if(eIt->partitionType() == Dune::InteriorEntity) if(eIt->partitionType() == Dune::InteriorEntity)
{ {
...@@ -535,7 +532,7 @@ public: ...@@ -535,7 +532,7 @@ public:
totalStressZ[eIdx][2] = initStressZ[eIdx][2] + deltaEffStressZ[eIdx][2] - deltaEffPressure[eIdx]; totalStressZ[eIdx][2] = initStressZ[eIdx][2] + deltaEffStressZ[eIdx][2] - deltaEffPressure[eIdx];
} }
} }
} }
} }
// calculate principal stresses i.e. the eigenvalues of the total stress tensor // calculate principal stresses i.e. the eigenvalues of the total stress tensor
...@@ -636,7 +633,7 @@ public: ...@@ -636,7 +633,7 @@ public:
// Pressure margins according to J. Rutqvist et al. / International Journal of Rock Mecahnics & Mining Sciences 45 (2008), 132-143 // Pressure margins according to J. Rutqvist et al. / International Journal of Rock Mecahnics & Mining Sciences 45 (2008), 132-143
Pcrtens[eIdx] = Peff - principalStress3[eIdx]; Pcrtens[eIdx] = Peff - principalStress3[eIdx];
Pcrshe[eIdx] = Peff - Psc; Pcrshe[eIdx] = Peff - Psc;
}
} }
writer.attachVertexData(Te, "T"); writer.attachVertexData(Te, "T");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment