21 #ifndef FUB_AMREX_BOUNDARY_CONDITION_REF_HPP
22 #define FUB_AMREX_BOUNDARY_CONDITION_REF_HPP
26 #include <AMReX_PhysBCFunct.H>
34 template <
typename BC,
typename Gr
iddingAlgorithm>
64 void operator() (::amrex::MultiFab& mf,
int dcomp,
int ncomp,
65 ::amrex::IntVect
const& nghost, ::amrex::Real time,
73 template <
typename BC,
typename Gr
iddingAlgorithm>
76 : pointer{&condition}, gridding{&grid}, level{lvl} {}
78 template <
typename BC,
typename Gr
iddingAlgorithm>
80 ::amrex::IntVect
const&, ::amrex::Real,
82 if (pointer && gridding) {
83 pointer->FillBoundary(mf, *gridding, level);
This class references a BoundaryCondition object and acts as an adapter such that it is enabled to be...
Definition: BoundaryConditionRef.hpp:35
BC * pointer
This function fills the ghost layer of the specified MultiFab mf.
Definition: BoundaryConditionRef.hpp:68
void operator()(::amrex::MultiFab &mf, int dcomp, int ncomp, ::amrex::IntVect const &nghost, ::amrex::Real time, int bccomp)
This function fills the ghost layer of the specified MultiFab mf.
Definition: BoundaryConditionRef.hpp:79
BoundaryConditionRef()=delete
This adapter class is not default constructible.
const GriddingAlgorithm * gridding
This function fills the ghost layer of the specified MultiFab mf.
Definition: BoundaryConditionRef.hpp:69
int level
This function fills the ghost layer of the specified MultiFab mf.
Definition: BoundaryConditionRef.hpp:70
This class modifies and initializes a PatchLevel in a PatchHierarchy.
Definition: AMReX/GriddingAlgorithm.hpp:60
The amrex namespace.
Definition: AverageState.hpp:33