WarpX
Functions
Interpolate Namespace Reference

Functions

std::unique_ptr< MultiFab > getInterpolatedScalar (const MultiFab &F_cp, const MultiFab &F_fp, const DistributionMapping &dm, const int r_ratio, const Real *, const int ngrow)
 Samples/Interpolates the coarse scalar multifab F_cp on the fine grid associated with the fine multifab F_fp. More...
 
std::array< std::unique_ptr< MultiFab >, 3 > getInterpolatedVector (const MultiFab *Fx_cp, const MultiFab *Fy_cp, const MultiFab *Fz_cp, const MultiFab *Fx_fp, const MultiFab *Fy_fp, const MultiFab *Fz_fp, const DistributionMapping &dm, const int r_ratio, const Real *dx, const int ngrow)
 Samples/Interpolates the coarse vector multifab F*_cp on the fine grid associated with the fine multifab F*_fp. More...
 
AMREX_GPU_DEVICE AMREX_FORCE_INLINE void interp (int j, int k, int l, amrex::Array4< amrex::Real > const &fine, amrex::Array4< amrex::Real const > const &crse, int r_ratio, IntVect const &type) noexcept
 

Function Documentation

◆ getInterpolatedScalar()

std::unique_ptr< MultiFab > Interpolate::getInterpolatedScalar ( const MultiFab &  F_cp,
const MultiFab &  F_fp,
const DistributionMapping &  dm,
const int  r_ratio,
const Real *  ,
const int  ngrow 
)

Samples/Interpolates the coarse scalar multifab F_cp on the fine grid associated with the fine multifab F_fp.

◆ getInterpolatedVector()

std::array< std::unique_ptr< MultiFab >, 3 > Interpolate::getInterpolatedVector ( const MultiFab *  Fx_cp,
const MultiFab *  Fy_cp,
const MultiFab *  Fz_cp,
const MultiFab *  Fx_fp,
const MultiFab *  Fy_fp,
const MultiFab *  Fz_fp,
const DistributionMapping &  dm,
const int  r_ratio,
const Real *  ,
const int  ngrow 
)

Samples/Interpolates the coarse vector multifab F*_cp on the fine grid associated with the fine multifab F*_fp.

◆ interp()

AMREX_GPU_DEVICE AMREX_FORCE_INLINE void Interpolate::interp ( int  j,
int  k,
int  l,
amrex::Array4< amrex::Real > const &  fine,
amrex::Array4< amrex::Real const > const &  crse,
int  r_ratio,
IntVect const &  type 
)
noexcept