Skip to content

Commit

Permalink
fix small_x namespace in nova problem
Browse files Browse the repository at this point in the history
this was an issue with SDC
  • Loading branch information
zingale committed Jul 11, 2024
1 parent 8b289c1 commit f32745b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Exec/science/nova/problem_initialize_state_data.H
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ void problem_initialize_state_data (int i, int j, int k,
state(i,j,k,URHO) = interpolate(height, model::idens);
state(i,j,k,UTEMP) = interpolate(height, model::itemp);
for (int n = 0; n < NumSpec; n++) {
state(i,j,k,UFS+n) = amrex::max(interpolate(height, model::ispec+n), small_x);
state(i,j,k,UFS+n) = amrex::max(interpolate(height, model::ispec+n), network_rp::small_x);
}

// normalize
Expand Down

0 comments on commit f32745b

Please sign in to comment.