Skip to content

Commit

Permalink
fix wrong boundary condition for crack branching
Browse files Browse the repository at this point in the history
  • Loading branch information
streeve committed Nov 16, 2023
1 parent d920000 commit 267564a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/crack_branching.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,11 +84,11 @@ int main( int argc, char* argv[] )
double sigma0 = inputs["traction"];
double b0 = sigma0 / dy;

CabanaPD::RegionBoundary plane1(
low_corner[0], high_corner[0], low_corner[1] - dy,
high_corner[1] + dy, low_corner[2], high_corner[2] );
CabanaPD::RegionBoundary plane1( low_corner[0], high_corner[0],
low_corner[1] - dy, low_corner[1] + dy,
low_corner[2], high_corner[2] );
CabanaPD::RegionBoundary plane2(
low_corner[0], high_corner[0], low_corner[1] - dy,
low_corner[0], high_corner[0], high_corner[1] - dy,
high_corner[1] + dy, low_corner[2], high_corner[2] );
std::vector<CabanaPD::RegionBoundary> planes = { plane1, plane2 };
auto bc =
Expand Down

0 comments on commit 267564a

Please sign in to comment.