Go to the source code of this file.
|
| AMREX_GPU_DEVICE AMREX_FORCE_INLINE amrex::Real | ablastr::coarsen::average::Interp (amrex::Array4< amrex::Real const > const &arr_src, amrex::GpuArray< int, 3 > const &sf, amrex::GpuArray< int, 3 > const &sc, amrex::GpuArray< int, 3 > const &cr, int const i, int const j, int const k, int const comp) |
| | Interpolates the floating point data contained in the source Array4 arr_src, extracted from a fine MultiFab, with weights defined in such a way that the total charge is preserved.
|
| |
| void | ablastr::coarsen::average::Loop (amrex::MultiFab &mf_dst, amrex::MultiFab const &mf_src, int ncomp, amrex::IntVect ngrow, amrex::IntVect crse_ratio) |
| | Loops over the boxes of the coarsened MultiFab mf_dst and fills them by interpolating the data contained in the fine MultiFab mf_src.
|
| |
| void | ablastr::coarsen::average::Coarsen (amrex::MultiFab &mf_dst, amrex::MultiFab const &mf_src, amrex::IntVect crse_ratio) |
| | Stores in the coarsened MultiFab mf_dst the values obtained by interpolating the data contained in the fine MultiFab mf_src.
|
| |