Commit c88c9d78 authored by GILLES Sebastien's avatar GILLES Sebastien
Browse files

#1254 Fix bug in SecondPiolaKirchhoff operator: a parameter no longer required...

#1254 Fix bug in SecondPiolaKirchhoff operator: a parameter no longer required was not properly removed for calls involvins an active stress policy.
parent ba8b2276
......@@ -321,12 +321,8 @@ namespace MoReFEM
std::get<1>(additional_arguments),
local_operator.GetNonCstLocalVelocity());
const auto& active_stress_ptr = static_cast<const ActiveStressPolicyT*>(this);
auto& active_stress = *active_stress_ptr;
SetComputeEltArrayArgumentsActivePolicy(local_operator,
local_felt_space,
this->GetNthUnknown(),
std::get<2>(additional_arguments),
std::get<3>(additional_arguments),
std::get<4>(additional_arguments));
......@@ -374,7 +370,6 @@ namespace MoReFEM
SetComputeEltArrayArgumentsActivePolicy(local_operator,
local_felt_space,
this->GetNthUnknown(),
std::get<1>(additional_arguments),
std::get<2>(additional_arguments),
std::get<3>(additional_arguments));
......@@ -398,7 +393,6 @@ namespace MoReFEM
SetComputeEltArrayArgumentsActivePolicy(local_operator,
local_felt_space,
this->GetNthUnknown(),
std::get<1>(additional_arguments),
std::get<2>(additional_arguments));
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment