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

[PL] Remove wrongly inserted scaling value.

The Neumann BC is a*du/dn = g_N(x), and the user
provides only the g_N(x) function.
parent d42d0570
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
......
......@@ -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;
......
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