OGS
FemCondition.cpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#include "FemCondition.h"
5
6namespace DataHolderLib
7{
9 std::string const& param_name)
10 : _process_var(process_var), _param_name(param_name){};
11
12void FemCondition::setMesh(std::string const& mesh_name)
13{
15 _base_obj_name = mesh_name;
16 _obj_name = "";
17}
18
19void FemCondition::setGeoObject(std::string const& geo_name,
20 std::string const& obj_name)
21{
23 _base_obj_name = geo_name;
24 _obj_name = obj_name;
25}
26
27} // 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)
ProcessVariable _process_var