Class BoundaryUtilityStrategy is an abstract base class that declares an interface that allows application code to read problem-specific boundary data when using the SAMRAI boundary utilities. Currently, there are two virtual member functions defined.
One allows users to read problem-specific DIRICHLET boundary values from an input database; the other does the same for NEUMANN boundary values. More virtual functions may be added in the future as additional boundary conditions are supported.
More...
#include <BoundaryUtilityStrategy.h>
See the include file BoundaryDefines.h for integer constant definitions that apply for the various boundary types, locations, and boundary conditions.
- See also
- appu::CartesianBoundaryUtilities2
-
appu::CartesianBoundaryUtilities3
◆ BoundaryUtilityStrategy()
| SAMRAI::appu::BoundaryUtilityStrategy::BoundaryUtilityStrategy |
( |
| ) |
|
◆ ~BoundaryUtilityStrategy()
| virtual SAMRAI::appu::BoundaryUtilityStrategy::~BoundaryUtilityStrategy |
( |
| ) |
|
|
virtual |
◆ readDirichletBoundaryDataEntry()
| virtual void SAMRAI::appu::BoundaryUtilityStrategy::readDirichletBoundaryDataEntry |
( |
tbox::Pointer< tbox::Database > |
db, |
|
|
std::string & |
db_name, |
|
|
int |
bdry_location_index |
|
) |
| |
|
inlinevirtual |
Read DIRICHLET boundary state values for an edge (in 2d) or a face (in 3d) from a given database. This virtual function is given a blank implementation here to avoid the need for users to do the same if they do not need this functionality.
- Parameters
-
| db | Input database from which to read boundary values. |
| db_name | Name of input database (e.g., for error reporting). |
| bdry_location_index | Integer index for location of edge (in 2d) or face (in 3d) boundary. |
◆ readNeumannBoundaryDataEntry()
| virtual void SAMRAI::appu::BoundaryUtilityStrategy::readNeumannBoundaryDataEntry |
( |
tbox::Pointer< tbox::Database > |
db, |
|
|
std::string & |
db_name, |
|
|
int |
bdry_location_index |
|
) |
| |
|
inlinevirtual |
Read NEUMANN boundary state values for an edge (in 2d) or a face (in 3d) from a given database. This virtual function is given a blank implementation here to avoid the need for users to do the same if they do not need this functionality.
- Parameters
-
| db | Input database from which to read boundary values. |
| db_name | Name of input database (e.g., for error reporting). |
| bdry_location_index | Integer index for location of edge (in 2d) or face (in 3d) boundary. |
The documentation for this class was generated from the following file: