Finite Volume Solver
prototype
A framework to build finite volume solvers for the AG Klein at the Freie Universität Berlin.
|
This class references a BoundaryCondition object and acts as an adapter such that it is enabled to be used as an AMReX boundary condition. More...
#include <BoundaryConditionRef.hpp>
Public Member Functions | |
Constructors | |
BoundaryConditionRef ()=delete | |
This adapter class is not default constructible. More... | |
BoundaryConditionRef (BC &condition, const GriddingAlgorithm &grid, int level) | |
Constructs a reference to condition and stores a pointer to grid at refinement level level . More... | |
Actions | |
BC * | pointer |
This function fills the ghost layer of the specified MultiFab mf . More... | |
const GriddingAlgorithm * | gridding |
This function fills the ghost layer of the specified MultiFab mf . More... | |
int | level |
This function fills the ghost layer of the specified MultiFab mf . More... | |
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 . More... | |
This class references a BoundaryCondition object and acts as an adapter such that it is enabled to be used as an AMReX boundary condition.
|
delete |
This adapter class is not default constructible.
fub::amrex::BoundaryConditionRef< BC, GriddingAlgorithm >::BoundaryConditionRef | ( | BC & | condition, |
const GriddingAlgorithm & | grid, | ||
int | level | ||
) |
Constructs a reference to condition
and stores a pointer to grid
at refinement level level
.
[in] | condition | The condition that will be invoked |
[in] | grid | The reference gridding algorithm can be used if a Geometry object or boundary conditions are needed |
[in] | level | The refinement level for which this boundary conditions will be applied to. |
Nothing. |
void fub::amrex::BoundaryConditionRef< BC, GriddingAlgorithm >::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
.
Throws | any exception that is thrown by the reference boundary condition. |
const GriddingAlgorithm* fub::amrex::BoundaryConditionRef< BC, GriddingAlgorithm >::gridding |
This function fills the ghost layer of the specified MultiFab mf
.
Throws | any exception that is thrown by the reference boundary condition. |
int fub::amrex::BoundaryConditionRef< BC, GriddingAlgorithm >::level |
This function fills the ghost layer of the specified MultiFab mf
.
Throws | any exception that is thrown by the reference boundary condition. |
BC* fub::amrex::BoundaryConditionRef< BC, GriddingAlgorithm >::pointer |
This function fills the ghost layer of the specified MultiFab mf
.
Throws | any exception that is thrown by the reference boundary condition. |