diff --git a/Applications/ApplicationsLib/ProjectData.cpp b/Applications/ApplicationsLib/ProjectData.cpp index ce542f45ea2d19eb90e9b5b9e797d9fdb92cbc75..28e1e84b6849d3416a9513e38adf9eeb3e760791 100644 --- a/Applications/ApplicationsLib/ProjectData.cpp +++ b/Applications/ApplicationsLib/ProjectData.cpp @@ -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); diff --git a/ProcessLib/DeactivatedSubdomain.cpp b/ProcessLib/DeactivatedSubdomain.cpp index 34fe292767c116ed2cb6e06c50a277d7dad8e527..82a715609663545487f12dfbe80103b342d982fe 100644 --- a/ProcessLib/DeactivatedSubdomain.cpp +++ b/ProcessLib/DeactivatedSubdomain.cpp @@ -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( diff --git a/ProcessLib/DeactivatedSubdomain.h b/ProcessLib/DeactivatedSubdomain.h index 637ab592851dc3a46ae6785a65a96cb5d0136097..dbfac39dee811fdbd6af8de1e9911976f58e8ba0 100644 --- a/ProcessLib/DeactivatedSubdomain.h +++ b/ProcessLib/DeactivatedSubdomain.h @@ -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>> diff --git a/ProcessLib/ProcessVariable.cpp b/ProcessLib/ProcessVariable.cpp index d85f0c06c461413c17eaddff425c09b3e74d793a..7ae6e0ae0261fe3f8e922cc1d82ec0b5067d6ac2 100644 --- a/ProcessLib/ProcessVariable.cpp +++ b/ProcessLib/ProcessVariable.cpp @@ -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) {