SAMRAI::appu::BoundaryUtilityStrategy Class Reference

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 <source/apputils/boundary/BoundaryUtilityStrategy.h>

List of all members.

Public Member Functions

 BoundaryUtilityStrategy ()
virtual ~BoundaryUtilityStrategy ()
virtual void readDirichletBoundaryDataEntry (tbox::Pointer< tbox::Database > db, std::string &db_name, int bdry_location_index)
virtual void readNeumannBoundaryDataEntry (tbox::Pointer< tbox::Database > db, std::string &db_name, int bdry_location_index)


Detailed Description

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.

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


Constructor & Destructor Documentation

SAMRAI::appu::BoundaryUtilityStrategy::BoundaryUtilityStrategy (  ) 

The default constructor for BoundaryUtilityStrategy does nothing interesting.

SAMRAI::appu::BoundaryUtilityStrategy::~BoundaryUtilityStrategy (  )  [virtual]

The destructor for BoundaryUtilityStrategy does nothing interesting.


Member Function Documentation

virtual void SAMRAI::appu::BoundaryUtilityStrategy::readDirichletBoundaryDataEntry ( tbox::Pointer< tbox::Database db,
std::string &  db_name,
int  bdry_location_index 
) [inline, virtual]

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.

virtual void SAMRAI::appu::BoundaryUtilityStrategy::readNeumannBoundaryDataEntry ( tbox::Pointer< tbox::Database db,
std::string &  db_name,
int  bdry_location_index 
) [inline, virtual]

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 files:
Generated on Thu Jun 18 11:28:21 2009 for SAMRAI by  doxygen 1.5.1