WarpX
|
#include <Interpolate.H>
Public Member Functions | |
PoissonInterpCPtoFP (amrex::Array4< amrex::Real > const phi_fp_arr, amrex::Array4< amrex::Real const > const phi_cp_arr, amrex::IntVect const refratio) | |
AMREX_GPU_DEVICE AMREX_FORCE_INLINE void | operator() (int i, int j, int k) const noexcept |
Public Attributes | |
amrex::Array4< amrex::Real > const | m_phi_fp_arr |
amrex::Array4< amrex::Real const > const | m_phi_cp_arr |
amrex::IntVect const | m_refratio |
Local interpolation from phi_cp to phi[lev+1]
This is needed to work-around an NVCC limitation in downstream code (ImpactX), when nesting lambdas. Otherwise this could be written directly into the ParallelFor.
[out] | phi_fp_arr | phi on the fine level |
[in] | phi_cp_arr | phi on the coarse level |
[in] | refratio | refinement ration |
|
inline |
|
inlinenoexcept |
amrex::Array4<amrex::Real const> const ablastr::fields::details::PoissonInterpCPtoFP::m_phi_cp_arr |
amrex::Array4<amrex::Real> const ablastr::fields::details::PoissonInterpCPtoFP::m_phi_fp_arr |
amrex::IntVect const ablastr::fields::details::PoissonInterpCPtoFP::m_refratio |