diff --git a/Exec/science/xrb_spherical/inputs.He.1000Hz b/Exec/science/xrb_spherical/inputs.He.1000Hz index 843f9f40ba..860fb39959 100644 --- a/Exec/science/xrb_spherical/inputs.He.1000Hz +++ b/Exec/science/xrb_spherical/inputs.He.1000Hz @@ -90,7 +90,7 @@ castro.v = 1 # verbosity in Castro.cpp amr.v = 1 # verbosity in Amr.cpp # REFINEMENT / REGRIDDING -amr.max_level = 2 # maximum level number allowed +amr.max_level = 0 #2 # maximum level number allowed amr.ref_ratio = 4 2 2 2 # refinement ratio amr.regrid_int = 2 2 2 2 # how often to regrid amr.blocking_factor = 16 # block factor in grid generation diff --git a/Exec/science/xrb_spherical/problem_tagging.H b/Exec/science/xrb_spherical/problem_tagging.H index 877bf1c8cc..48b2f254c6 100644 --- a/Exec/science/xrb_spherical/problem_tagging.H +++ b/Exec/science/xrb_spherical/problem_tagging.H @@ -31,7 +31,7 @@ void problem_tagging(int i, int j, int k, Real dist = std::abs(loc[0]); - if (level < problem::max_hse_tagging_level && dist < problem::r_refine_distance) { + if (level < problem::max_hse_tagging_level && dist < geomdata.ProbLo(0) + problem::r_refine_distance) { tag(i,j,k) = TagBox::SET; } } @@ -45,7 +45,7 @@ void problem_tagging(int i, int j, int k, } else { // tag everything below a certain height - if (loc[0] < problem::refine_height) { + if (loc[0] < geomdata.ProbLo(0) + problem::refine_height) { if (level < problem::max_base_tagging_level) { tag(i,j,k) = TagBox::SET; }