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

[Cleanup] Fix name: Normal stress != traction

parent 549f8113
No related branches found
No related tags found
No related merge requests found
...@@ -114,10 +114,10 @@ void MyAssembler<GridView, dimension>::assembleWeightedNormalStress( ...@@ -114,10 +114,10 @@ void MyAssembler<GridView, dimension>::assembleWeightedNormalStress(
Vector traction; Vector traction;
// Note: We assume v = 0 here so that there is no viscous // Note: We assume v = 0 here so that there is no viscous
// contribution to the stress. // contribution to the stress.
PointTractionBoundaryAssembler<Grid> weightedNormalStressBoundaryAssembler( PointTractionBoundaryAssembler<Grid> weightedTractionBoundaryAssembler(
youngModulus, poissonRatio, &displacementFunction, 1); youngModulus, poissonRatio, &displacementFunction, 1);
vertexAssembler.assembleBoundaryFunctional( vertexAssembler.assembleBoundaryFunctional(weightedTractionBoundaryAssembler,
weightedNormalStressBoundaryAssembler, traction, frictionalBoundary); traction, frictionalBoundary);
std::vector<typename Vector::block_type> normals; std::vector<typename Vector::block_type> normals;
frictionalBoundary.getNormals(normals); frictionalBoundary.getNormals(normals);
......
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