Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
amrex::FillPatchIteratorHelper Class Reference

#include <AMReX_AmrLevel.H>

Public Member Functions

 FillPatchIteratorHelper (AmrLevel &amrlevel, MultiFab &leveldata)
 Build a helper bound to amrlevel and destination MultiFab leveldata.
 
 FillPatchIteratorHelper (AmrLevel &amrlevel, MultiFab &leveldata, int boxGrow, Real time, int index, int scomp, int ncomp, InterpBase *mapper)
 Construct a helper and immediately populate ghost cells.
 
void Initialize (int boxGrow, Real time, int idx, int scomp, int ncomp, InterpBase *mapper)
 Prepare another fill using cached metadata.
 
void fill (FArrayBox &fab, int dcomp, int idx)
 Fill the provided FAB using cached data.
 

Friends

class FillPatchIterator
 

Constructor & Destructor Documentation

◆ FillPatchIteratorHelper() [1/2]

amrex::FillPatchIteratorHelper::FillPatchIteratorHelper ( AmrLevel amrlevel,
MultiFab leveldata 
)

Build a helper bound to amrlevel and destination MultiFab leveldata.

◆ FillPatchIteratorHelper() [2/2]

amrex::FillPatchIteratorHelper::FillPatchIteratorHelper ( AmrLevel amrlevel,
MultiFab leveldata,
int  boxGrow,
Real  time,
int  index,
int  scomp,
int  ncomp,
InterpBase mapper 
)

Construct a helper and immediately populate ghost cells.

Parameters
amrlevelSource level providing state data.
leveldataDestination MultiFab.
boxGrowNumber of grow cells to request.
timeTime at which to sample data.
indexState descriptor index.
scompSource component offset.
ncompNumber of components to fill.
mapperInterpolater override (defaults to descriptor's mapper when null).

Member Function Documentation

◆ fill()

void amrex::FillPatchIteratorHelper::fill ( FArrayBox fab,
int  dcomp,
int  idx 
)

Fill the provided FAB using cached data.

Parameters
fabDestination FAB.
dcompDestination component offset.
idxState descriptor index.

◆ Initialize()

void amrex::FillPatchIteratorHelper::Initialize ( int  boxGrow,
Real  time,
int  idx,
int  scomp,
int  ncomp,
InterpBase mapper 
)

Prepare another fill using cached metadata.

Parameters
boxGrowNumber of grow cells to request.
timeTime at which to sample data.
idxState descriptor index.
scompSource component offset.
ncompNumber of components to fill.
mapperInterpolater override (may be null).

Friends And Related Symbol Documentation

◆ FillPatchIterator

friend class FillPatchIterator
friend

The documentation for this class was generated from the following files: