BCInterfaceData1D - The BCInterface1D data container.
More...
#include <BCInterfaceData1D.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 |
|
BCInterfaceData1D - The BCInterface1D data container.
- Author
- Cristiano Malossi
The BCInterfaceData1D class provides a general container for all the data required by the 1D boundary conditions.
Definition at line 56 of file BCInterfaceData1D.hpp.
◆ dataContainer_Type
◆ resistanceContainer_Type
◆ BCInterfaceData1D() [1/2]
◆ BCInterfaceData1D() [2/2]
◆ ~BCInterfaceData1D()
◆ operator=()
Operator =.
- Parameters
-
- Returns
- reference to a copy of the class
Definition at line 88 of file BCInterfaceData1D.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 109 of file BCInterfaceData1D.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 125 of file BCInterfaceData1D.cpp.
◆ setSide()
Set the side of the boundary condition.
- Parameters
-
side | Boundary condition side |
Definition at line 127 of file BCInterfaceData1D.hpp.
◆ setLine()
Set the line of the boundary condition.
- Parameters
-
line | Boundary condition line |
Definition at line 136 of file BCInterfaceData1D.hpp.
◆ setQuantity()
Set the quantity of the boundary condition.
- Parameters
-
quantity | Boundary condition quantity |
Definition at line 145 of file BCInterfaceData1D.hpp.
◆ side()
Get the flag of the boundary condition.
- Returns
- Boundary condition side
Definition at line 160 of file BCInterfaceData1D.hpp.
◆ line()
Get the mode of the boundary condition.
- Returns
- Boundary condition line
Definition at line 169 of file BCInterfaceData1D.hpp.
◆ quantity()
Get the quantity of the boundary condition.
- Returns
- Boundary condition quantity
Definition at line 178 of file BCInterfaceData1D.hpp.
◆ resistance()
Get the resistance vector {R1, R2, R3 ...}.
- Returns
- Boundary condition resistance vector
Definition at line 187 of file BCInterfaceData1D.hpp.
◆ capacitance()
const Real& capacitance |
( |
| ) |
const |
|
inline |
◆ readSide()
void readSide |
( |
const GetPot & |
dataFile, |
|
|
const char * |
side |
|
) |
| |
|
inlineprivate |
◆ readLine()
void readLine |
( |
const GetPot & |
dataFile, |
|
|
const char * |
line |
|
) |
| |
|
inlineprivate |
◆ readQuantity()
void readQuantity |
( |
const GetPot & |
dataFile, |
|
|
const char * |
quantity |
|
) |
| |
|
inlineprivate |
◆ readResistance()
void readResistance |
( |
const GetPot & |
dataFile, |
|
|
const char * |
resistance |
|
) |
| |
|
private |
◆ readCapacitance()
void readCapacitance |
( |
const GetPot & |
dataFile, |
|
|
const char * |
capacitance |
|
) |
| |
|
inlineprivate |
◆ M_line
◆ M_quantity
◆ M_resistance
◆ M_capacitance
◆ M_mapSide
◆ M_mapQuantity
◆ M_mapLine
The documentation for this class was generated from the following files: