BCInterfaceData3D - The BCInterface3D data container.
More...
#include <BCInterfaceData3D.hpp>
|
typedef std::vector< Real > | parametersContainer_Type |
|
| BCInterfaceData () |
| Constructor. More...
|
|
| BCInterfaceData (const BCInterfaceData &data) |
| Copy constructor. More...
|
|
virtual | ~BCInterfaceData () |
| Destructor. More...
|
|
BCInterfaceData & | operator= (const BCInterfaceData &data) |
| Operator =. More...
|
|
void | setBaseString (const std::string &baseString) |
| Set the base string of the boundary condition. More...
|
|
void | setBase (const std::pair< std::string, baseList_Type > &base) |
| Set the base type of the boundary condition. More...
|
|
void | boundaryID (const ID &boundaryID) |
| Set the boundary ID. More...
|
|
const std::string & | baseString () const |
| Get the base string of the boundary condition. More...
|
|
const std::pair< std::string, baseList_Type > & | base () const |
| Get the base type of the boundary condition. More...
|
|
const std::map< std::string, baseList_Type > & | mapBase () const |
| Get the base map of the boundary condition. More...
|
|
const ID & | boundaryID () const |
| Get the boundary ID. More...
|
|
const parametersContainer_Type & | parameters () const |
| Get the parameters vector {A, B, C, ...}. More...
|
|
void | readBase (const GetPot &dataFile, const std::string &path, std::pair< std::string, baseList_Type > &base, std::string &baseString) |
|
bool | isBase (const GetPot &dataFile, const char *base, std::string &baseString) |
|
void | readParameters (const GetPot &dataFile, const char *parameters) |
|
std::pair< std::string, baseList_Type > | M_base |
|
std::string | M_baseString |
|
std::map< std::string, baseList_Type > | M_mapBase |
|
ID | M_boundaryID |
|
parametersContainer_Type | M_parameters |
|
BCInterfaceData3D - The BCInterface3D data container.
- Author
- Cristiano Malossi
The BCInterfaceData3D class provides a general container for all the data required by the 3D boundary conditions.
Definition at line 59 of file BCInterfaceData3D.hpp.
◆ dataContainer_Type
◆ BCInterfaceData3D() [1/2]
◆ BCInterfaceData3D() [2/2]
◆ ~BCInterfaceData3D()
◆ operator=()
Operator =.
- Parameters
-
- Returns
- reference to a copy of the class
Definition at line 99 of file BCInterfaceData3D.cpp.
◆ readBC()
void readBC |
( |
const std::string & |
fileName, |
|
|
const std::string & |
dataSection, |
|
|
const std::string & |
name |
|
) |
| |
|
virtual |
Read parameters for all kind of BC.
- Parameters
-
fileName | Name of the data file. |
dataSection | BC section |
name | name of the boundary condition |
Reimplemented from BCInterfaceData.
Definition at line 125 of file BCInterfaceData3D.cpp.
◆ setDirectionalBase()
void setDirectionalBase |
( |
| ) |
|
|
inline |
◆ setRobinBaseAlpha()
void setRobinBaseAlpha |
( |
| ) |
|
|
inline |
◆ setRobinBaseBeta()
void setRobinBaseBeta |
( |
| ) |
|
|
inline |
◆ showMe()
void showMe |
( |
std::ostream & |
output = std::cout | ) |
const |
|
virtual |
Display general information about the content of the class.
- Parameters
-
output | specify the output format (std::cout by default) |
Reimplemented from BCInterfaceData.
Definition at line 153 of file BCInterfaceData3D.cpp.
◆ setName()
Set the name of the boundary condition.
- Parameters
-
name | Boundary condition name |
Definition at line 150 of file BCInterfaceData3D.hpp.
◆ setFlag()
Set the flag of the boundary condition.
- Parameters
-
flag | Boundary condition flag |
Definition at line 159 of file BCInterfaceData3D.hpp.
◆ setType()
Set the type of the boundary condition.
- Parameters
-
type | Boundary condition type |
Definition at line 168 of file BCInterfaceData3D.hpp.
◆ setMode()
Set the mode of the boundary condition.
- Parameters
-
mode | Boundary condition mode |
Definition at line 177 of file BCInterfaceData3D.hpp.
◆ setComponentsVector() [1/2]
Set the components vector of the boundary condition.
- Parameters
-
componentsVector | Boundary condition components vector |
Definition at line 186 of file BCInterfaceData3D.hpp.
◆ setComponentsVector() [2/2]
void setComponentsVector |
( |
const UInt & |
componentsVector, |
|
|
const UInt & |
index |
|
) |
| |
|
inline |
Set the i-component of the components vector of the boundary condition.
- Parameters
-
componentsVector | Boundary condition component |
index | Index value |
Definition at line 196 of file BCInterfaceData3D.hpp.
◆ addComponentsVector()
void addComponentsVector |
( |
const UInt & |
componentsVector | ) |
|
|
inline |
Add a component to the component vector of the boundary condition.
- Parameters
-
componentsVector | Boundary condition component |
Definition at line 205 of file BCInterfaceData3D.hpp.
◆ name()
Get the name of the boundary condition.
- Returns
- Boundary condition name
Definition at line 220 of file BCInterfaceData3D.hpp.
◆ flag()
Get the flag of the boundary condition.
- Returns
- Boundary condition flag
Definition at line 229 of file BCInterfaceData3D.hpp.
◆ type()
Get the type of the boundary condition.
- Returns
- Boundary condition type
Definition at line 238 of file BCInterfaceData3D.hpp.
◆ mode()
Get the mode of the boundary condition.
- Returns
- Boundary condition mode
Definition at line 247 of file BCInterfaceData3D.hpp.
◆ componentsVector()
Get the vector of components of the boundary condition.
- Returns
- Boundary condition vector of components
Definition at line 256 of file BCInterfaceData3D.hpp.
◆ componentsNumber()
const ID& componentsNumber |
( |
| ) |
const |
|
inline |
Get the number of components of the boundary condition.
Note that this method should not be called for the case of "Component" boundary conditions, since it does not return the size of the M_componentsVector. It has to be used only for the case of "Full" boundary conditions.
- Returns
- Number of components of the boundary condition
Definition at line 269 of file BCInterfaceData3D.hpp.
◆ readFlag()
void readFlag |
( |
const GetPot & |
dataFile, |
|
|
const char * |
flag |
|
) |
| |
|
inlineprivate |
◆ readType()
void readType |
( |
const GetPot & |
dataFile, |
|
|
const char * |
type |
|
) |
| |
|
inlineprivate |
◆ readMode()
void readMode |
( |
const GetPot & |
dataFile, |
|
|
const char * |
mode |
|
) |
| |
|
inlineprivate |
◆ readComponentsVector()
void readComponentsVector |
( |
const GetPot & |
dataFile, |
|
|
const char * |
component |
|
) |
| |
|
private |
◆ M_baseRobinAlpha
◆ M_baseStringRobinAlpha
std::string M_baseStringRobinAlpha |
|
private |
◆ M_baseRobinBeta
◆ M_baseStringRobinBeta
std::string M_baseStringRobinBeta |
|
private |
◆ M_baseDirectional
◆ M_baseStringDirectional
std::string M_baseStringDirectional |
|
private |
◆ M_name
◆ M_type
◆ M_mode
◆ M_componentsVector
◆ M_mapType
◆ M_mapMode
The documentation for this class was generated from the following files: