Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
zhichen3 committed Oct 7, 2024
1 parent a18761d commit a7ce238
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Exec/science/xrb_spherical/inputs.He.1000Hz
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions Exec/science/xrb_spherical/problem_tagging.H
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand All @@ -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;
}
Expand Down

0 comments on commit a7ce238

Please sign in to comment.