Skip to content

Commit

Permalink
change ParmParse parameter to eb2.stl_use_bvh
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiqunZhang committed Sep 9, 2024
1 parent 3ab7b9d commit bddfa15
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Src/EB/AMReX_EB2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@ Build (const Geometry& geom, int required_coarsening_level,
pp.queryAdd("stl_center", stl_center);
bool stl_reverse_normal = false;
pp.queryAdd("stl_reverse_normal", stl_reverse_normal);
bool stl_bvh_opt = true;
pp.queryAdd("stl_bvh_opt", stl_bvh_opt);
bool stl_use_bvh = true;
pp.queryAdd("stl_use_bvh", stl_use_bvh);
IndexSpace::push(new IndexSpaceSTL(stl_file, stl_scale, // NOLINT(clang-analyzer-cplusplus.NewDeleteLeaks)
{stl_center[0], stl_center[1], stl_center[2]},
int(stl_reverse_normal),
Expand All @@ -226,7 +226,7 @@ Build (const Geometry& geom, int required_coarsening_level,
build_coarse_level_by_coarsening,
a_extend_domain_face,
a_num_coarsen_opt,
stl_bvh_opt));
stl_use_bvh));
}
else
{
Expand Down

0 comments on commit bddfa15

Please sign in to comment.