From 1cbd7034660ff03ab689746a82201b95af044801 Mon Sep 17 00:00:00 2001 From: Ann Almgren Date: Fri, 18 Oct 2024 08:55:05 -0700 Subject: [PATCH] fix compile (#1895) --- Source/TimeIntegration/ERF_TI_slow_rhs_fun.H | 6 ++---- Source/Utils/ERF_InteriorGhostCells.cpp | 4 +--- Source/Utils/ERF_Utils.H | 3 +-- 3 files changed, 4 insertions(+), 9 deletions(-) diff --git a/Source/TimeIntegration/ERF_TI_slow_rhs_fun.H b/Source/TimeIntegration/ERF_TI_slow_rhs_fun.H index c9f963c68..994379325 100644 --- a/Source/TimeIntegration/ERF_TI_slow_rhs_fun.H +++ b/Source/TimeIntegration/ERF_TI_slow_rhs_fun.H @@ -249,8 +249,7 @@ // Populate RHS for relaxation zones if using real bcs if (use_real_bcs && (level == 0)) { if (real_width>0) { - realbdy_compute_interior_ghost_rhs(init_type, - bdy_time_interval, start_bdy_time, new_stage_time, slow_dt, + realbdy_compute_interior_ghost_rhs(bdy_time_interval, start_bdy_time, new_stage_time, slow_dt, real_width, real_set_width, fine_geom, S_rhs, S_old, S_data, bdy_data_xlo, bdy_data_xhi, @@ -459,8 +458,7 @@ // Populate RHS for relaxation zones if using real bcs if (use_real_bcs && (level == 0)) { if (real_width>0) { - realbdy_compute_interior_ghost_rhs(init_type, - bdy_time_interval, start_bdy_time, new_stage_time, slow_dt, + realbdy_compute_interior_ghost_rhs(bdy_time_interval, start_bdy_time, new_stage_time, slow_dt, real_width, real_set_width, fine_geom, S_rhs, S_old, S_data, bdy_data_xlo, bdy_data_xhi, diff --git a/Source/Utils/ERF_InteriorGhostCells.cpp b/Source/Utils/ERF_InteriorGhostCells.cpp index 1cdfafcc7..76a57beea 100644 --- a/Source/Utils/ERF_InteriorGhostCells.cpp +++ b/Source/Utils/ERF_InteriorGhostCells.cpp @@ -89,7 +89,6 @@ compute_interior_ghost_bxs_xy (const Box& bx, /** * Compute the RHS in the relaxation zone * - * @param[in] init_type initialization method for this simulation * @param[in] bdy_time_interval time interval between boundary condition time stamps * @param[in] time current time * @param[in] delta_t timestep @@ -105,8 +104,7 @@ compute_interior_ghost_bxs_xy (const Box& bx, * @param[in] start_bdy_time time of the first boundary data read in */ void -realbdy_compute_interior_ghost_rhs (const std::string& /*init_type*/, - const Real& bdy_time_interval, +realbdy_compute_interior_ghost_rhs (const Real& bdy_time_interval, const Real& start_bdy_time, const Real& time, const Real& delta_t, diff --git a/Source/Utils/ERF_Utils.H b/Source/Utils/ERF_Utils.H index 0362866b9..f713347f2 100644 --- a/Source/Utils/ERF_Utils.H +++ b/Source/Utils/ERF_Utils.H @@ -88,8 +88,7 @@ void compute_interior_ghost_bxs_xy (const amrex::Box& bx, /* * Compute relaxation region RHS with wrfbdy */ -void realbdy_compute_interior_ghost_rhs (const std::string& init_type, - const amrex::Real& bdy_time_interval, +void realbdy_compute_interior_ghost_rhs (const amrex::Real& bdy_time_interval, const amrex::Real& start_bdy_time, const amrex::Real& time, const amrex::Real& delta_t,