|
OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
|
#include <AmrDirichletBoundary.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 |
| typedef Level::basefab_t | basefab_t |
Public Member Functions | |
| AmrDirichletBoundary () | |
| void | apply (const AmrIntVect_t &iv, const lo_t &dir, umap_t &map, const scalar_t &value, Level *mglevel, const go_t *) |
| 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 |
Private Attributes | |
| const go_t | nPoints_m |
| Number of points used for boundary. | |
Definition at line 28 of file AmrDirichletBoundary.h.
| typedef amr::AmrIntVect_t AmrDirichletBoundary< Level >::AmrIntVect_t |
Definition at line 35 of file AmrDirichletBoundary.h.
|
inherited |
Definition at line 36 of file AmrBoundary.h.
| typedef Level::go_t AmrDirichletBoundary< Level >::go_t |
Definition at line 33 of file AmrDirichletBoundary.h.
| typedef Level::lo_t AmrDirichletBoundary< Level >::lo_t |
Definition at line 32 of file AmrDirichletBoundary.h.
| typedef Level::scalar_t AmrDirichletBoundary< Level >::scalar_t |
Definition at line 34 of file AmrDirichletBoundary.h.
| typedef Level::umap_t AmrDirichletBoundary< Level >::umap_t |
Definition at line 31 of file AmrDirichletBoundary.h.
|
inline |
Definition at line 39 of file AmrDirichletBoundary.h.
References AmrBoundary< Level >::AmrBoundary().
|
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 51 of file AmrDirichletBoundary.h.
|
inlineinherited |
Definition at line 88 of file AmrBoundary.h.
References nPoints_m.
|
inlineinherited |
Check if we are on the physical boundary (all directions)
| iv | cell to check |
| nr | is the number of grid points |
Definition at line 52 of file AmrBoundary.h.
References isBoundary(), and nr.
Referenced by isBoundary().
|
inlineinherited |
Check if we are on the physical boundary (certain direction)
| iv | cell to check |
| nr | is the number of grid points |
Definition at line 63 of file AmrBoundary.h.
References nr.
|
privateinherited |
Number of points used for boundary.
Definition at line 93 of file AmrBoundary.h.
Referenced by AmrBoundary(), and getNumberOfPoints().