Skip to content

Commit

Permalink
protects now parallel ref_fixture_tet_brick_grid
Browse files Browse the repository at this point in the history
  • Loading branch information
Mike Park authored and Mike Park committed Jul 20, 2021
1 parent e0acbcd commit 131e85b
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/ref_cavity_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -490,14 +490,16 @@ int main(int argc, char *argv[]) {
RSS(ref_fixture_tet_brick_grid(&ref_grid, ref_mpi), "brick");
ref_node = ref_grid_node(ref_grid);

node = 39;
ref_node_xyz(ref_node, 0, node) = -0.5;
RSS(ref_cavity_create(&ref_cavity), "create");
RSS(ref_cavity_form_ball(ref_cavity, ref_grid, node), "insert first");
RSS(ref_cavity_enlarge_visible(ref_cavity), "enlarge");
REIS(REF_CAVITY_BOUNDARY_CONSTRAINED, ref_cavity_state(ref_cavity),
"enlarge wrong state");
RSS(ref_cavity_free(ref_cavity), "free");
if (ref_mpi_once(ref_mpi)) {
node = 39;
ref_node_xyz(ref_node, 0, node) = -0.5;
RSS(ref_cavity_create(&ref_cavity), "create");
RSS(ref_cavity_form_ball(ref_cavity, ref_grid, node), "insert first");
RSS(ref_cavity_enlarge_visible(ref_cavity), "enlarge");
REIS(REF_CAVITY_BOUNDARY_CONSTRAINED, ref_cavity_state(ref_cavity),
"enlarge wrong state");
RSS(ref_cavity_free(ref_cavity), "free");
}

RSS(ref_grid_free(ref_grid), "free");
}
Expand Down

0 comments on commit 131e85b

Please sign in to comment.