Provides an interface to work with OpenFOAM custom boundary conditions descriptions. More...
#include <cadex/Mesh_NetgenOpenFOAMBCProvider.hxx>
Public Types | |
typedef std::pair< std::string, std::string > | LineType |
A two-field line used in boundary conditions description (e.g. "type patch"). | |
typedef std::list< LineType > | DescriptionListType |
A list of lines representing a boundary condition description. | |
Public Member Functions | |
virtual | ~Mesh_NetgenOpenFOAMBCProvider () |
Destructor. | |
virtual bool | BCDescription (int theBCIndex, DescriptionListType &theDescriptionList)=0 |
Provides a description for a boundary condition. | |
Provides an interface to work with OpenFOAM custom boundary conditions descriptions.
Subclasses must redefine the virtual BCDescription() method to return a string list representing a boundary condition. Below is an example of using a custom subclass storing list in an unordered_map:
|
pure virtual |
Provides a description for a boundary condition.
Returns true if there is a description for a given BC index or false otherwise.