diff --git a/ProcessLib/GroundwaterFlowProcess.h b/ProcessLib/GroundwaterFlowProcess.h index be13d4103cfc1fe37e2542b3ec1bff04627dffa3..5ef915b9db9462b9dd07fe880eedf2e3a619d640 100644 --- a/ProcessLib/GroundwaterFlowProcess.h +++ b/ProcessLib/GroundwaterFlowProcess.h @@ -152,7 +152,6 @@ public: hydraulic_head_mesh_element_searcher, _global_setup, _integration_order, - _hydraulic_conductivity, *_local_to_global_index_map, *_mesh_subset_all_nodes); } diff --git a/ProcessLib/NeumannBc.h b/ProcessLib/NeumannBc.h index 5797f3cb4f9b848cbcdcaf584a9726fd2d791b70..1a5d24f8649fd5c899081f159c9dbce5b37874e2 100644 --- a/ProcessLib/NeumannBc.h +++ b/ProcessLib/NeumannBc.h @@ -36,12 +36,10 @@ public: NeumannBc( NeumannBcConfig* bc, unsigned const integration_order, - double const scaling_value, AssemblerLib::LocalToGlobalIndexMap const& local_to_global_index_map, MeshLib::MeshSubset const& mesh_subset_all_nodes ) : - _scaling_value(scaling_value), _function(*bc->getFunction()), _integration_order(integration_order) { @@ -97,7 +95,7 @@ public: auto elementValueLookup = [this](MeshLib::Element const& e) { - return _function() * _scaling_value; + return _function(); }; DBUG("Calling local Neumann assembler builder for neumann boundary elements."); @@ -122,8 +120,6 @@ public: private: - double const _scaling_value; - MathLib::ConstantFunction<double> const _function; std::vector<MeshLib::Element const*> _elements;