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

[PL] Rename DeactivateSubd.::zero_parameter_name.

parent a7b740cb
No related branches found
No related tags found
No related merge requests found
......@@ -307,7 +307,7 @@ void ProjectData::parseParameters(BaseLib::ConfigTree const& parameters_config)
_parameters.push_back(
std::make_unique<ProcessLib::ConstantParameter<double>>(
ProcessLib::DeactivatedSubdomain::name_of_paramater_of_zero, 0.0));
ProcessLib::DeactivatedSubdomain::zero_parameter_name, 0.0));
for (auto& parameter : _parameters)
parameter->initialize(_parameters);
......
......@@ -24,7 +24,7 @@
namespace ProcessLib
{
const std::string DeactivatedSubdomain::name_of_paramater_of_zero =
const std::string DeactivatedSubdomain::zero_parameter_name =
"zero_for_element_deactivation_approach";
DeactivetedSubdomainMesh::DeactivetedSubdomainMesh(
......
......@@ -63,7 +63,7 @@ struct DeactivatedSubdomain
std::vector<std::unique_ptr<DeactivetedSubdomainMesh>> const
deactivated_subdomain_meshes;
static const std::string name_of_paramater_of_zero;
static const std::string zero_parameter_name;
};
std::vector<std::unique_ptr<DeactivatedSubdomain const>>
......
......@@ -231,7 +231,7 @@ void ProcessVariable::createBoundaryConditionsForDeactivatedSubDomains(
std::vector<std::unique_ptr<BoundaryCondition>>& bcs)
{
auto& parameter = findParameter<double>(
DeactivatedSubdomain::name_of_paramater_of_zero, parameters, 1);
DeactivatedSubdomain::zero_parameter_name, parameters, 1);
for (auto const& deactivated_subdomain : _deactivated_subdomains)
{
......
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