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

#include <AMReX_StateData.H>

Public Member Functions

 StateDataPhysBCFunct (StateData &sd, int sc, const Geometry &geom_)
 Helper that applies physical BCs for a particular StateData component range.
 
void operator() (MultiFab &mf, int dest_comp, int num_comp, IntVect const &nghost, Real time, int bccomp)
 Apply BCs to mf for components [dest_comp, dest_comp+num_comp).
 
void FillBoundary (MultiFab &mf, int dest_comp, int num_comp, IntVect const &nghost, Real time, int bccomp)
 

Constructor & Destructor Documentation

◆ StateDataPhysBCFunct()

amrex::StateDataPhysBCFunct::StateDataPhysBCFunct ( StateData sd,
int  sc,
const Geometry geom_ 
)

Helper that applies physical BCs for a particular StateData component range.

Parameters
sdStateData whose data will be modified.
scStarting component index within sd.
geom_Geometry describing the level.

Member Function Documentation

◆ FillBoundary()

void amrex::StateDataPhysBCFunct::FillBoundary ( MultiFab mf,
int  dest_comp,
int  num_comp,
IntVect const &  nghost,
Real  time,
int  bccomp 
)
inline

◆ operator()()

void amrex::StateDataPhysBCFunct::operator() ( MultiFab mf,
int  dest_comp,
int  num_comp,
IntVect const &  nghost,
Real  time,
int  bccomp 
)

Apply BCs to mf for components [dest_comp, dest_comp+num_comp).

Parameters
mfMultiFab to modify.
dest_compDestination component offset.
num_compNumber of components to update.
nghostHow many ghost cells should be filled.
timePhysical time at which BCs are evaluated.
bccompComponent offset into the descriptor's BC array.

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