Finite Volume Solver
prototype
A framework to build finite volume solvers for the AG Klein at the Freie Universität Berlin.
|
This boundary condition provides wall boundary which acts only on a specified subset of ghost cells. More...
#include <ReflectiveBoundary2.hpp>
Public Member Functions | |
ReflectiveBoundary2 (Tag, const Equation &equation, Direction dir, int side, const ::amrex::Box &boundary_section) | |
Constructs the boundary condition with respective execution tag. More... | |
ReflectiveBoundary2 (const Equation &equation, Direction dir, int side, const ::amrex::Box &boundary_section) | |
Delegates the construction to the tag constructor. More... | |
void | FillBoundary (::amrex::MultiFab &mf, const GriddingAlgorithm &gridding, int level) |
Fill the boundary section with reflected states. More... | |
void | FillBoundary (::amrex::MultiFab &mf, const GriddingAlgorithm &gridding, int level, Direction dir) |
Conditionally fill the boundary section with reflected states, if dir == dir_. More... | |
Private Attributes | |
Local< Tag, Equation > | equation_ |
The equation defines how to reflect states. More... | |
Direction | dir_ |
int | side_ |
::amrex::Box | boundary_section_ |
This boundary condition provides wall boundary which acts only on a specified subset of ghost cells.
fub::amrex::cutcell::ReflectiveBoundary2< Tag, Equation >::ReflectiveBoundary2 | ( | Tag | , |
const Equation & | equation, | ||
Direction | dir, | ||
int | side, | ||
const ::amrex::Box & | boundary_section | ||
) |
Constructs the boundary condition with respective execution tag.
|
inline |
Delegates the construction to the tag constructor.
void fub::amrex::cutcell::ReflectiveBoundary2< Tag, Equation >::FillBoundary | ( | ::amrex::MultiFab & | mf, |
const GriddingAlgorithm & | gridding, | ||
int | level | ||
) |
Fill the boundary section with reflected states.
The reflected state is taken from a mirrored index by given direction and side.
void fub::amrex::cutcell::ReflectiveBoundary2< Tag, Equation >::FillBoundary | ( | ::amrex::MultiFab & | mf, |
const GriddingAlgorithm & | gridding, | ||
int | level, | ||
Direction | dir | ||
) |
Conditionally fill the boundary section with reflected states, if dir == dir_.
The reflected state is taken from a mirrored index by given direction and side.
|
private |
|
private |
|
private |
The equation defines how to reflect states.
This needs to be Local'ized because the implementation might use OpenMP.
|
private |