1 #ifndef ERF_SBM_STAGE_OWNERSHIP_H_
2 #define ERF_SBM_STAGE_OWNERSHIP_H_
4 #include <AMReX_Array4.H>
5 #include <AMReX_GpuQualifiers.H>
10 AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE
void
12 const amrex::Array4<const amrex::Real>& predictor,
17 const bool sbm_active,
18 const int qc_component,
19 const int qr_component) noexcept
21 const bool sbm_projected_liquid =
23 (component == qc_component || component == qr_component);
24 if (!sbm_projected_liquid) {
25 current(i, j, k, component) = predictor(i, j, k, component);
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void copy_host_slow_component(const amrex::Array4< amrex::Real > ¤t, const amrex::Array4< const amrex::Real > &predictor, const int i, const int j, const int k, const int component, const bool sbm_active, const int qc_component, const int qr_component) noexcept
Definition: ERF_SBMStageOwnership.H:11