Skip to content
Snippets Groups Projects
Commit ae169cdc authored by podlesny's avatar podlesny
Browse files

now refine entire lower boundary of body1

parent 2ae6e855
No related branches found
No related tags found
No related merge requests found
...@@ -43,7 +43,7 @@ void TwoBlocksFactory<HostGridType, VectorTEMPLATE>::setBodies() { ...@@ -43,7 +43,7 @@ void TwoBlocksFactory<HostGridType, VectorTEMPLATE>::setBodies() {
cuboidGeometries_[0]->addWeakeningPatch(frictionParset, {origins[0][0], origins[0][1]+ heights[0]}, {origins[0][0] + lengths[0], origins[0][1]+ heights[0]}); cuboidGeometries_[0]->addWeakeningPatch(frictionParset, {origins[0][0], origins[0][1]+ heights[0]}, {origins[0][0] + lengths[0], origins[0][1]+ heights[0]});
cuboidGeometries_[1] = std::make_shared<CuboidGeometry>(origins[1], lengths[1], heights[1]); cuboidGeometries_[1] = std::make_shared<CuboidGeometry>(origins[1], lengths[1], heights[1]);
cuboidGeometries_[1]->addWeakeningPatch(frictionParset, {origins[1][0] + 0.2*lengths[1], origins[1][1]}, {origins[1][0] + 0.8*lengths[1], origins[1][1]}); cuboidGeometries_[1]->addWeakeningPatch(frictionParset, {origins[1][0] + 0.2*lengths[1], origins[1][1]}, {origins[1][0] + lengths[1], origins[1][1]});
#else #else
#error CuboidGeometry only supports 2D and 3D!" #error CuboidGeometry only supports 2D and 3D!"
#endif #endif
......
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