WarpX
Namespaces | Functions
average.cpp File Reference
#include "average.H"
#include "ablastr/utils/TextMsg.H"
#include <AMReX_BLProfiler.H>
#include <AMReX_BoxArray.H>
#include <AMReX_Config.H>
#include <AMReX_GpuControl.H>
#include <AMReX_GpuLaunch.H>
#include <AMReX_IndexType.H>
#include <AMReX_IntVect.H>
#include <AMReX_MFIter.H>
#include <AMReX_MultiFab.H>
#include <memory>

Namespaces

 ablastr
 
 ablastr::coarsen
 
 ablastr::coarsen::average
 

Functions

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. More...
 
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. More...