Skip to content
Snippets Groups Projects
Commit 2fec8952 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[PL] Make ProcessVar::_mesh non const for prop's.

Adding new mesh properties reqiure non-const access.
parent 9038085b
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,7 @@
namespace ProcessLib
{
ProcessVariable::ProcessVariable(BaseLib::ConfigTree const& config,
MeshLib::Mesh const& mesh,
MeshLib::Mesh& mesh,
GeoLib::GEOObjects const& geometries)
: _name(config.getConfParam<std::string>("name")),
_mesh(mesh),
......
......@@ -47,7 +47,7 @@ namespace ProcessLib
class ProcessVariable
{
public:
ProcessVariable(BaseLib::ConfigTree const& config, MeshLib::Mesh const& mesh,
ProcessVariable(BaseLib::ConfigTree const& config, MeshLib::Mesh& mesh,
GeoLib::GEOObjects const& geometries);
ProcessVariable(ProcessVariable&&);
......@@ -98,7 +98,7 @@ public:
private:
std::string const _name;
MeshLib::Mesh const& _mesh;
MeshLib::Mesh& _mesh;
int _tuple_size;
std::unique_ptr<InitialCondition> _initial_condition;
std::vector<std::unique_ptr<UniformDirichletBoundaryCondition>>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment