OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
#include <AmrPeriodicBoundary.h>
Public Types | |
typedef Level::umap_t | umap_t |
typedef Level::lo_t | lo_t |
typedef Level::go_t | go_t |
typedef Level::scalar_t | scalar_t |
typedef amr::AmrIntVect_t | AmrIntVect_t |
Public Types inherited from AmrBoundary< Level > | |
typedef Level::umap_t | umap_t |
typedef Level::lo_t | lo_t |
typedef Level::go_t | go_t |
typedef Level::scalar_t | scalar_t |
typedef Level::basefab_t | basefab_t |
typedef amr::AmrIntVect_t | AmrIntVect_t |
Public Member Functions | |
AmrPeriodicBoundary () | |
void | apply (const AmrIntVect_t &iv, const lo_t &dir, umap_t &map, const scalar_t &value, Level *mglevel, const go_t *nr) |
Public Member Functions inherited from AmrBoundary< Level > | |
AmrBoundary (go_t nPoints) | |
bool | isBoundary (const AmrIntVect_t &iv, const go_t *nr) const |
bool | isBoundary (const AmrIntVect_t &iv, const lo_t &dir, const go_t *nr) const |
const go_t & | getNumberOfPoints () const |
Definition at line 27 of file AmrPeriodicBoundary.h.
typedef amr::AmrIntVect_t AmrPeriodicBoundary< Level >::AmrIntVect_t |
Definition at line 34 of file AmrPeriodicBoundary.h.
typedef Level::go_t AmrPeriodicBoundary< Level >::go_t |
Definition at line 32 of file AmrPeriodicBoundary.h.
typedef Level::lo_t AmrPeriodicBoundary< Level >::lo_t |
Definition at line 31 of file AmrPeriodicBoundary.h.
typedef Level::scalar_t AmrPeriodicBoundary< Level >::scalar_t |
Definition at line 33 of file AmrPeriodicBoundary.h.
typedef Level::umap_t AmrPeriodicBoundary< Level >::umap_t |
Definition at line 30 of file AmrPeriodicBoundary.h.
|
inline |
Definition at line 38 of file AmrPeriodicBoundary.h.
|
virtual |
Apply boundary in a certain direction.
iv | is the cell where we want to have the boundary value |
dir | direction of physical / mesh boundary |
map | with indices global matrix indices and matrix values |
value | matrix entry (coefficients) |
value | of matrix entry that is supposed for index |
nr | is the number of grid points |
Implements AmrBoundary< Level >.
Definition at line 50 of file AmrPeriodicBoundary.h.
References nr.