OGS
|
Definition at line 17 of file BoundaryCondition.h.
#include <BoundaryCondition.h>
Public Types | |
enum class | ConditionType { NONE , DIRICHLET , NEUMANN , ROBIN } |
Public Member Functions | |
BoundaryCondition (ProcessVariable const &process_var, std::string const ¶m_name, ConditionType type) | |
Managing data associated with a boundary condition. | |
std::string const | getConditionClassStr () const override |
Returns the type of condition for displaying purposes. | |
ConditionType | getType () const |
Returns the type of boundary condition this is. | |
Public Member Functions inherited from DataHolderLib::FemCondition | |
FemCondition (ProcessVariable const &process_var, std::string const ¶m_name) | |
virtual | ~FemCondition ()=default |
std::string const | getProcessVarName () const |
Returns the name of the associated process variable. | |
ProcessVariable const & | getProcessVar () const |
Returns the numerical order of the process variable. | |
std::string const | getParamName () const |
Returns the name of the parameter associated with the condition. | |
BaseObjType | getBaseObjType () const |
Specifies if the condition is set a geometry or on a mesh. | |
std::string | getBaseObjName () const |
Returns the name of the base object (i.e. geometry or mesh) | |
std::string const | getObjName () const |
Returns the name of the geometric object. | |
void | setMesh (std::string const &mesh_name) |
Sets a mesh as corresponding object for the condition. | |
virtual void | setGeoObject (std::string const &geo_name, std::string const &obj_name) |
Sets a geometric object as corresponding object for the condition. | |
Static Public Member Functions | |
static ConditionType | convertStringToType (std::string const &str) |
Converts the type enum into a string. | |
static std::string | convertTypeToString (ConditionType type) |
Converts a string specifying the type into an enum. | |
Private Attributes | |
ConditionType | _type |
|
strong |
DataHolderLib::BoundaryCondition::BoundaryCondition | ( | ProcessVariable const & | process_var, |
std::string const & | param_name, | ||
ConditionType | type ) |
Managing data associated with a boundary condition.
Definition at line 17 of file BoundaryCondition.cpp.
|
static |
Converts the type enum into a string.
Definition at line 24 of file BoundaryCondition.cpp.
|
static |
Converts a string specifying the type into an enum.
Definition at line 43 of file BoundaryCondition.cpp.
References DIRICHLET, NEUMANN, and ROBIN.
Referenced by FemConditionModel::setFemCondition().
|
inlineoverridevirtual |
Returns the type of condition for displaying purposes.
Implements DataHolderLib::FemCondition.
Definition at line 31 of file BoundaryCondition.h.
|
inline |
Returns the type of boundary condition this is.
Definition at line 37 of file BoundaryCondition.h.
References _type.
|
private |
Definition at line 46 of file BoundaryCondition.h.
Referenced by getType().