Skip to content
Snippets Groups Projects
Commit 2fb472f5 authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

Ignore the normalstress for non-frictional nodes

parent bcdc12f5
No related branches found
No related tags found
No related merge requests found
......@@ -316,10 +316,7 @@
<<computeGravitationalBodyForce>>;
}
SingletonVectorType surfaceNormalStress(finestSize);
surfaceNormalStress = 0.0;
for (size_t i = 0; i < frictionalNodes.size(); ++i)
if (frictionalNodes[i][0])
surfaceNormalStress[i] = normalStress;
surfaceNormalStress = normalStress;
MatrixType stiffnessMatrix;
<<assembleStiffnessMatrix>>;
......
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