OGS
FemCondition.cpp
Go to the documentation of this file.
1
12
#include "
FemCondition.h
"
13
14
namespace
DataHolderLib
15
{
16
FemCondition::FemCondition
(
ProcessVariable
const
& process_var,
17
std::string
const
& param_name)
18
: _process_var(process_var), _param_name(param_name){};
19
20
void
FemCondition::setMesh
(std::string
const
& mesh_name)
21
{
22
_base_type
=
BaseObjType::MESH
;
23
_base_obj_name
= mesh_name;
24
_obj_name
=
""
;
25
}
26
27
void
FemCondition::setGeoObject
(std::string
const
& geo_name,
28
std::string
const
& obj_name)
29
{
30
_base_type
=
BaseObjType::GEOMETRY
;
31
_base_obj_name
= geo_name;
32
_obj_name
= obj_name;
33
}
34
35
}
// namespace DataHolderLib
FemCondition.h
DataHolderLib::FemCondition::setGeoObject
virtual void setGeoObject(std::string const &geo_name, std::string const &obj_name)
Sets a geometric object as corresponding object for the condition.
Definition
FemCondition.cpp:27
DataHolderLib::FemCondition::_obj_name
std::string _obj_name
Definition
FemCondition.h:79
DataHolderLib::FemCondition::setMesh
void setMesh(std::string const &mesh_name)
Sets a mesh as corresponding object for the condition.
Definition
FemCondition.cpp:20
DataHolderLib::FemCondition::FemCondition
FemCondition(ProcessVariable const &process_var, std::string const ¶m_name)
Definition
FemCondition.cpp:16
DataHolderLib::FemCondition::_base_type
BaseObjType _base_type
Definition
FemCondition.h:75
DataHolderLib::FemCondition::_base_obj_name
std::string _base_obj_name
Definition
FemCondition.h:78
DataHolderLib
Definition
MeshElementRemovalDialog.h:26
DataHolderLib::BaseObjType::MESH
@ MESH
DataHolderLib::BaseObjType::GEOMETRY
@ GEOMETRY
DataHolderLib::ProcessVariable
Definition
FemCondition.h:19
Applications
DataHolderLib
FemCondition.cpp
Generated by
1.12.0