diff --git a/Exec/science/subchandra/problem_initialize_state_data.H b/Exec/science/subchandra/problem_initialize_state_data.H index eb01adfa4c..289d0c9136 100644 --- a/Exec/science/subchandra/problem_initialize_state_data.H +++ b/Exec/science/subchandra/problem_initialize_state_data.H @@ -6,6 +6,7 @@ #include #include #include +#include AMREX_GPU_HOST_DEVICE AMREX_INLINE void problem_initialize_state_data (int i, int j, int k, @@ -34,7 +35,7 @@ void problem_initialize_state_data (int i, int j, int k, state(i,j,k,UTEMP) = interpolate(dist, model::itemp); Real sumX{0.0_rt}; for (int n = 0; n < NumSpec; ++n) { - state(i,j,k,UFS+n) = amrex::min(1.0_rt, amrex::max(interpolate(dist, model::ispec+n), small_x)); + state(i,j,k,UFS+n) = amrex::min(1.0_rt, amrex::max(interpolate(dist, model::ispec+n), network_rp::small_x)); sumX += state(i,j,k,UFS+n); }