From 2327e09badfc93388a9e23541804a035d8546241 Mon Sep 17 00:00:00 2001 From: Dmitri Naumov <dmitri.naumov@ufz.de> Date: Thu, 11 Mar 2021 20:38:59 +0100 Subject: [PATCH] [PL/DS] Rename inactive nodes to inner nodes. The name reflects the special nature of the nodes, namely that these are nodes not touching the active elements. --- ProcessLib/DeactivatedSubdomain.cpp | 4 ++-- ProcessLib/DeactivatedSubdomain.h | 4 ++-- ProcessLib/ProcessVariable.cpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ProcessLib/DeactivatedSubdomain.cpp b/ProcessLib/DeactivatedSubdomain.cpp index d66c037c3d2..ac0db314a6f 100644 --- a/ProcessLib/DeactivatedSubdomain.cpp +++ b/ProcessLib/DeactivatedSubdomain.cpp @@ -26,9 +26,9 @@ const std::string DeactivatedSubdomain::zero_parameter_name = DeactivetedSubdomainMesh::DeactivetedSubdomainMesh( std::unique_ptr<MeshLib::Mesh> deactivated_subdomain_mesh_, - std::vector<MeshLib::Node*>&& inactive_nodes_) + std::vector<MeshLib::Node*>&& inner_nodes_) : mesh(std::move(deactivated_subdomain_mesh_)), - inactive_nodes(std::move(inactive_nodes_)) + inner_nodes(std::move(inner_nodes_)) { } diff --git a/ProcessLib/DeactivatedSubdomain.h b/ProcessLib/DeactivatedSubdomain.h index 0366a20c96d..b561ea410f4 100644 --- a/ProcessLib/DeactivatedSubdomain.h +++ b/ProcessLib/DeactivatedSubdomain.h @@ -39,10 +39,10 @@ struct DeactivetedSubdomainMesh { DeactivetedSubdomainMesh( std::unique_ptr<MeshLib::Mesh> deactivated_subdomain_mesh_, - std::vector<MeshLib::Node*>&& inactive_nodes_); + std::vector<MeshLib::Node*>&& inner_nodes_); std::unique_ptr<MeshLib::Mesh> const mesh; - std::vector<MeshLib::Node*> const inactive_nodes; + std::vector<MeshLib::Node*> const inner_nodes; }; struct DeactivatedSubdomain diff --git a/ProcessLib/ProcessVariable.cpp b/ProcessLib/ProcessVariable.cpp index bb59622fcfc..990bdf1c6b2 100644 --- a/ProcessLib/ProcessVariable.cpp +++ b/ProcessLib/ProcessVariable.cpp @@ -261,7 +261,7 @@ void ProcessVariable::createBoundaryConditionsForDeactivatedSubDomains( DirichletBoundaryConditionWithinTimeInterval>( std::move(time_interval), parameter, *(deactivated_subdomain_mesh->mesh), - deactivated_subdomain_mesh->inactive_nodes, dof_table, + deactivated_subdomain_mesh->inner_nodes, dof_table, variable_id, component_id); #ifdef USE_PETSC -- GitLab