OGS
|
Base class for boundary conditions, initial conditions and source terms.
Definition at line 39 of file FemCondition.h.
#include <FemCondition.h>
Public Member Functions | |
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. | |
virtual std::string const | getConditionClassStr () const =0 |
Returns the type of condition for displaying purposes. | |
Private Attributes | |
BaseObjType | _base_type |
ProcessVariable | _process_var |
std::string | _param_name |
std::string | _base_obj_name |
std::string | _obj_name |
DataHolderLib::FemCondition::FemCondition | ( | ProcessVariable const & | process_var, |
std::string const & | param_name ) |
Definition at line 16 of file FemCondition.cpp.
|
virtualdefault |
|
inline |
Returns the name of the base object (i.e. geometry or mesh)
Definition at line 59 of file FemCondition.h.
References _base_obj_name.
Referenced by FemConditionModel::setFemCondition(), and FileIO::XmlPrjInterface::writeCondition().
|
inline |
Specifies if the condition is set a geometry or on a mesh.
Definition at line 56 of file FemCondition.h.
References _base_type.
Referenced by FemConditionModel::setFemCondition(), and FileIO::XmlPrjInterface::writeCondition().
|
pure virtual |
Returns the type of condition for displaying purposes.
Implemented in DataHolderLib::BoundaryCondition, and DataHolderLib::SourceTerm.
Referenced by ProcessModel::addConditionItem(), and FemConditionModel::setFemCondition().
|
inline |
Returns the name of the geometric object.
Definition at line 62 of file FemCondition.h.
References _obj_name.
Referenced by FemConditionModel::setFemCondition(), and FileIO::XmlPrjInterface::writeCondition().
|
inline |
Returns the name of the parameter associated with the condition.
Definition at line 53 of file FemCondition.h.
References _param_name.
Referenced by ProcessModel::addConditionItem(), ProcessModel::removeCondition(), FemConditionModel::setFemCondition(), and FileIO::XmlPrjInterface::writeCondition().
|
inline |
Returns the numerical order of the process variable.
Definition at line 50 of file FemCondition.h.
References _process_var.
Referenced by FemConditionModel::setProcessVariable().
|
inline |
Returns the name of the associated process variable.
Definition at line 47 of file FemCondition.h.
References _process_var, and DataHolderLib::ProcessVariable::name.
Referenced by ProcessModel::addCondition(), and ProcessView::removeCondition().
|
virtual |
Sets a geometric object as corresponding object for the condition.
Definition at line 27 of file FemCondition.cpp.
References _base_obj_name, _base_type, _obj_name, and DataHolderLib::GEOMETRY.
void DataHolderLib::FemCondition::setMesh | ( | std::string const & | mesh_name | ) |
Sets a mesh as corresponding object for the condition.
Definition at line 20 of file FemCondition.cpp.
References _base_obj_name, _base_type, _obj_name, and DataHolderLib::MESH.
|
private |
Definition at line 78 of file FemCondition.h.
Referenced by getBaseObjName(), setGeoObject(), and setMesh().
|
private |
Definition at line 75 of file FemCondition.h.
Referenced by getBaseObjType(), setGeoObject(), and setMesh().
|
private |
Definition at line 79 of file FemCondition.h.
Referenced by getObjName(), setGeoObject(), and setMesh().
|
private |
Definition at line 77 of file FemCondition.h.
Referenced by getParamName().
|
private |
Definition at line 76 of file FemCondition.h.
Referenced by getProcessVar(), and getProcessVarName().