From b52b1ae4f7b84dfe10b5bed9068c67cb15c8199f Mon Sep 17 00:00:00 2001 From: Thomas Fischer <thomas.fischer@ufz.de> Date: Thu, 6 Dec 2018 12:13:28 +0100 Subject: [PATCH] [PL] Rm ProcessVariable::getOrCreateMeshProperty(). --- ProcessLib/ProcessVariable.cpp | 6 ------ ProcessLib/ProcessVariable.h | 5 ----- 2 files changed, 11 deletions(-) diff --git a/ProcessLib/ProcessVariable.cpp b/ProcessLib/ProcessVariable.cpp index 28b79663ed2..1810f6569c3 100644 --- a/ProcessLib/ProcessVariable.cpp +++ b/ProcessLib/ProcessVariable.cpp @@ -176,12 +176,6 @@ MeshLib::Mesh const& ProcessVariable::getMesh() const return _mesh; } -MeshLib::PropertyVector<double>& ProcessVariable::getOrCreateMeshProperty() -{ - return *MeshLib::getOrCreateMeshProperty<double>( - _mesh, _name, MeshLib::MeshItemType::Node, _n_components); -} - std::vector<std::unique_ptr<BoundaryCondition>> ProcessVariable::createBoundaryConditions( const NumLib::LocalToGlobalIndexMap& dof_table, diff --git a/ProcessLib/ProcessVariable.h b/ProcessLib/ProcessVariable.h index 383e9761c8f..a343b165a01 100644 --- a/ProcessLib/ProcessVariable.h +++ b/ProcessLib/ProcessVariable.h @@ -69,11 +69,6 @@ public: return _initial_condition; } - // Get or create a property vector for results. - // The returned mesh property size is number of mesh nodes times number of - // components. - MeshLib::PropertyVector<double>& getOrCreateMeshProperty(); - unsigned getShapeFunctionOrder() const { return _shapefunction_order; } private: -- GitLab