BCInterfaceData0D - The BCInterface1D data container.
More...
#include <BCInterfaceData0D.hpp>
|
void | readBC (const std::string &fileName, const std::string &dataSection, const std::string &name) |
| Read parameters for all kind of BC. More...
|
|
void | showMe (std::ostream &output=std::cout) const |
| Display general information about the content of the class. More...
|
|
|
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 |
|
BCInterfaceData0D - The BCInterface1D data container.
- Author
- Cristiano Malossi
The BCInterfaceData0D class provides a general container for all the data required by the 0D boundary conditions.
Definition at line 56 of file BCInterfaceData0D.hpp.
◆ dataContainer_Type
◆ bcType_Type
◆ BCInterfaceData0D() [1/2]
◆ BCInterfaceData0D() [2/2]
◆ ~BCInterfaceData0D()
◆ operator=()
Operator =.
- Parameters
-
- Returns
- reference to a copy of the class
Definition at line 66 of file BCInterfaceData0D.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 82 of file BCInterfaceData0D.cpp.
◆ 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 95 of file BCInterfaceData0D.cpp.
◆ setFlag()
Set the flag of the boundary condition.
- Parameters
-
flag | Boundary condition flag |
Definition at line 127 of file BCInterfaceData0D.hpp.
◆ setType()
Set the type of the boundary condition.
- Parameters
-
type | Boundary condition type |
Definition at line 136 of file BCInterfaceData0D.hpp.
◆ flag()
Get the flag of the boundary condition.
- Returns
- Boundary condition flag
Definition at line 151 of file BCInterfaceData0D.hpp.
◆ type()
Get the type of the boundary condition.
- Returns
- Boundary condition type
Definition at line 160 of file BCInterfaceData0D.hpp.
◆ readFlag()
void readFlag |
( |
const GetPot & |
dataFile, |
|
|
const char * |
flag |
|
) |
| |
|
inlineprivate |
◆ readType()
void readType |
( |
const GetPot & |
dataFile, |
|
|
const char * |
type |
|
) |
| |
|
inlineprivate |
◆ M_type
◆ M_mapType
The documentation for this class was generated from the following files: