Block-Structured AMR Software Framework
Loading...
Searching...
No Matches
amrex::Extrapolater Namespace Reference

Functions

void FirstOrderExtrap (MultiFab &mf, const Geometry &geom, int scomp, int ncomp)
 Extrapolate cell-centered data outward one cell to fill boundary conditions.
 
void FirstOrderExtrap (MultiFab &mf, const Geometry &geom, int scomp, int ncomp, int nGrow)
 Overload that extrapolates into a caller-provided number of grow cells.
 

Variables

const int finebnd = 1
 
const int crsebnd = 0
 
const int physbnd = 0
 
const int interior = 1
 

Function Documentation

◆ FirstOrderExtrap() [1/2]

void amrex::Extrapolater::FirstOrderExtrap ( MultiFab mf,
const Geometry geom,
int  scomp,
int  ncomp 
)

Extrapolate cell-centered data outward one cell to fill boundary conditions.

Parameters
mfMultiFab whose ghost cells will be filled.
geomGeometry describing the level (used for domain bounds).
scompStarting component index in mf.
ncompNumber of components to extrapolate.
Note
FillBoundary (with periodicity) should be called on mf before invoking this routine.

◆ FirstOrderExtrap() [2/2]

void amrex::Extrapolater::FirstOrderExtrap ( MultiFab mf,
const Geometry geom,
int  scomp,
int  ncomp,
int  nGrow 
)

Overload that extrapolates into a caller-provided number of grow cells.

Parameters
mfMultiFab whose ghost cells will be filled.
geomGeometry describing the level.
scompStarting component index in mf.
ncompNumber of components to extrapolate.
nGrowNumber of ghost cells to update (instead of using mf.nGrow()).

Variable Documentation

◆ crsebnd

const int amrex::Extrapolater::crsebnd = 0

◆ finebnd

const int amrex::Extrapolater::finebnd = 1

◆ interior

const int amrex::Extrapolater::interior = 1

◆ physbnd

const int amrex::Extrapolater::physbnd = 0