OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Types | Public Member Functions | List of all members
AmrDirichletBoundary< Level > Class Template Reference

#include <AmrDirichletBoundary.h>

Inheritance diagram for AmrDirichletBoundary< Level >:
Inheritance graph
[legend]
Collaboration diagram for AmrDirichletBoundary< Level >:
Collaboration graph
[legend]

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

 AmrDirichletBoundary ()
 
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_tgetNumberOfPoints () const
 

Detailed Description

template<class Level>
class AmrDirichletBoundary< Level >

Dirichlet boundary is on faces of physical domain the boundary value would be at different locations depending on the level.

Definition at line 11 of file AmrDirichletBoundary.h.

Member Typedef Documentation

template<class Level >
typedef amr::AmrIntVect_t AmrDirichletBoundary< Level >::AmrIntVect_t

Definition at line 18 of file AmrDirichletBoundary.h.

template<class Level >
typedef Level::go_t AmrDirichletBoundary< Level >::go_t

Definition at line 16 of file AmrDirichletBoundary.h.

template<class Level >
typedef Level::lo_t AmrDirichletBoundary< Level >::lo_t

Definition at line 15 of file AmrDirichletBoundary.h.

template<class Level >
typedef Level::scalar_t AmrDirichletBoundary< Level >::scalar_t

Definition at line 17 of file AmrDirichletBoundary.h.

template<class Level >
typedef Level::umap_t AmrDirichletBoundary< Level >::umap_t

Definition at line 14 of file AmrDirichletBoundary.h.

Constructor & Destructor Documentation

template<class Level >
AmrDirichletBoundary< Level >::AmrDirichletBoundary ( )
inline

Definition at line 22 of file AmrDirichletBoundary.h.

Member Function Documentation

template<class Level >
void AmrDirichletBoundary< Level >::apply ( const AmrIntVect_t iv,
const lo_t dir,
umap_t map,
const scalar_t value,
Level *  mglevel,
const go_t nr 
)
virtual

Apply boundary in a certain direction.

Parameters
ivis the cell where we want to have the boundary value
dirdirection of physical / mesh boundary
mapwith indices global matrix indices and matrix values
valuematrix entry (coefficients)
valueof matrix entry that is supposed for index
nris the number of grid points

Implements AmrBoundary< Level >.

Definition at line 34 of file AmrDirichletBoundary.h.


The documentation for this class was generated from the following file: