OGS
FemCondition.cpp
Go to the documentation of this file.
1
12#include "FemCondition.h"
13
14namespace DataHolderLib
15{
17 std::string const& param_name)
18 : _process_var(process_var), _param_name(param_name){};
19
20void FemCondition::setMesh(std::string const& mesh_name)
21{
23 _base_obj_name = mesh_name;
24 _obj_name = "";
25}
26
27void FemCondition::setGeoObject(std::string const& geo_name,
28 std::string const& obj_name)
29{
31 _base_obj_name = geo_name;
32 _obj_name = obj_name;
33}
34
35} // namespace DataHolderLib
virtual void setGeoObject(std::string const &geo_name, std::string const &obj_name)
Sets a geometric object as corresponding object for the condition.
void setMesh(std::string const &mesh_name)
Sets a mesh as corresponding object for the condition.
FemCondition(ProcessVariable const &process_var, std::string const &param_name)