From 13d5b7a1d217f66c30a60fb04eaee7ff8021d0b3 Mon Sep 17 00:00:00 2001 From: Dmitri Naumov <github@naumov.de> Date: Mon, 15 Mar 2021 13:24:35 +0100 Subject: [PATCH] [PL/DS] Fix spelling of class name. --- ProcessLib/DeactivatedSubdomain.cpp | 10 +++++----- ProcessLib/DeactivatedSubdomain.h | 8 ++++---- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/ProcessLib/DeactivatedSubdomain.cpp b/ProcessLib/DeactivatedSubdomain.cpp index 67830ae2b63..b91dedeeec1 100644 --- a/ProcessLib/DeactivatedSubdomain.cpp +++ b/ProcessLib/DeactivatedSubdomain.cpp @@ -24,7 +24,7 @@ namespace ProcessLib const std::string DeactivatedSubdomain::zero_parameter_name = "zero_for_element_deactivation_approach"; -DeactivetedSubdomainMesh::DeactivetedSubdomainMesh( +DeactivatedSubdomainMesh::DeactivatedSubdomainMesh( std::unique_ptr<MeshLib::Mesh> deactivated_subdomain_mesh_, std::vector<MeshLib::Node*>&& inner_nodes_) : mesh(std::move(deactivated_subdomain_mesh_)), @@ -35,7 +35,7 @@ DeactivetedSubdomainMesh::DeactivetedSubdomainMesh( DeactivatedSubdomain::DeactivatedSubdomain( std::unique_ptr<BaseLib::TimeInterval> time_interval_, std::vector<int>&& materialIDs_, - std::vector<std::unique_ptr<DeactivetedSubdomainMesh>>&& + std::vector<std::unique_ptr<DeactivatedSubdomainMesh>>&& deactivated_subdomain_meshes_) : time_interval(std::move(time_interval_)), materialIDs(std::move(materialIDs_)), @@ -83,7 +83,7 @@ static std::vector<MeshLib::Node*> extractInnerNodes( return inner_nodes; } -static std::unique_ptr<DeactivetedSubdomainMesh> createDeactivatedSubdomainMesh( +static std::unique_ptr<DeactivatedSubdomainMesh> createDeactivatedSubdomainMesh( MeshLib::Mesh const& mesh, int const material_id) { // An element is active if its material id matches the selected material id. @@ -104,7 +104,7 @@ static std::unique_ptr<DeactivetedSubdomainMesh> createDeactivatedSubdomainMesh( MeshLib::cloneElements(deactivated_elements)); auto inner_nodes = extractInnerNodes(mesh, *sub_mesh, is_active); - return std::make_unique<DeactivetedSubdomainMesh>( + return std::make_unique<DeactivatedSubdomainMesh>( std::move(sub_mesh), std::move(inner_nodes)); } @@ -137,7 +137,7 @@ std::unique_ptr<DeactivatedSubdomain const> createDeactivatedSubdomain( "The program terminates now."); } - std::vector<std::unique_ptr<DeactivetedSubdomainMesh>> + std::vector<std::unique_ptr<DeactivatedSubdomainMesh>> deactivated_subdomain_meshes; deactivated_subdomain_meshes.reserve( deactivated_subdomain_material_ids.size()); diff --git a/ProcessLib/DeactivatedSubdomain.h b/ProcessLib/DeactivatedSubdomain.h index b561ea410f4..75385e7d33a 100644 --- a/ProcessLib/DeactivatedSubdomain.h +++ b/ProcessLib/DeactivatedSubdomain.h @@ -35,9 +35,9 @@ class Node; namespace ProcessLib { -struct DeactivetedSubdomainMesh +struct DeactivatedSubdomainMesh { - DeactivetedSubdomainMesh( + DeactivatedSubdomainMesh( std::unique_ptr<MeshLib::Mesh> deactivated_subdomain_mesh_, std::vector<MeshLib::Node*>&& inner_nodes_); @@ -50,7 +50,7 @@ struct DeactivatedSubdomain DeactivatedSubdomain( std::unique_ptr<BaseLib::TimeInterval> time_interval_, std::vector<int>&& materialIDs_, - std::vector<std::unique_ptr<DeactivetedSubdomainMesh>>&& + std::vector<std::unique_ptr<DeactivatedSubdomainMesh>>&& deactivated_subdomain_meshes_); bool includesTimeOf(double const t) const; @@ -60,7 +60,7 @@ struct DeactivatedSubdomain /// The material IDs of the deactivated the subdomains std::vector<int> const materialIDs; - std::vector<std::unique_ptr<DeactivetedSubdomainMesh>> const + std::vector<std::unique_ptr<DeactivatedSubdomainMesh>> const deactivated_subdomain_meshes; static const std::string zero_parameter_name; -- GitLab