diff --git a/ProcessLib/HydroMechanics/HydroMechanicsProcess.cpp b/ProcessLib/HydroMechanics/HydroMechanicsProcess.cpp index 2f755d8f9e44f972e9e879c0f545907547e46e45..c839a59e38020ca31e05d6518b3beebe75a17d12 100644 --- a/ProcessLib/HydroMechanics/HydroMechanicsProcess.cpp +++ b/ProcessLib/HydroMechanics/HydroMechanicsProcess.cpp @@ -363,9 +363,9 @@ void HydroMechanicsProcess<DisplacementDim>::initializeBoundaryConditions() { if (_use_monolithic_scheme) { - const int process_id_of_hydromechancs = 0; + const int process_id_of_hydromechanics = 0; initializeProcessBoundaryConditionsAndSourceTerms( - *_local_to_global_index_map, process_id_of_hydromechancs); + *_local_to_global_index_map, process_id_of_hydromechanics); return; } diff --git a/ProcessLib/PhaseField/PhaseFieldProcess.cpp b/ProcessLib/PhaseField/PhaseFieldProcess.cpp index ffe8f9a9aa931e79337c88958b2cd3e33aa31e3e..7bb76091ac23e106d45b3864a3a3153774f7fcec 100644 --- a/ProcessLib/PhaseField/PhaseFieldProcess.cpp +++ b/ProcessLib/PhaseField/PhaseFieldProcess.cpp @@ -94,7 +94,7 @@ void PhaseFieldProcess<DisplacementDim>::constructDofTable() { // For displacement equation. const int mechanics_process_id = 0; - constructDofTableOfSpecifiedProsessStaggerdScheme(mechanics_process_id); + constructDofTableOfSpecifiedProsessStaggeredScheme(mechanics_process_id); // TODO move the two data members somewhere else. // for extrapolation of secondary variables of stress or strain diff --git a/ProcessLib/Process.cpp b/ProcessLib/Process.cpp index 3cdd0ad50f933ef6c492728f18d057183cbe2e53..37d98ac031452ab1a4af9ecca156ee470e25321f 100644 --- a/ProcessLib/Process.cpp +++ b/ProcessLib/Process.cpp @@ -250,8 +250,8 @@ void Process::constructDofTable() } // For staggered scheme: - const int specified_prosess_id = 0; - constructDofTableOfSpecifiedProsessStaggerdScheme(specified_prosess_id); + const int specified_process_id = 0; + constructDofTableOfSpecifiedProsessStaggeredScheme(specified_process_id); } void Process::constructMonolithicProcessDofTable() @@ -289,8 +289,8 @@ void Process::constructMonolithicProcessDofTable() assert(_local_to_global_index_map); } -void Process::constructDofTableOfSpecifiedProsessStaggerdScheme( - const int specified_prosess_id) +void Process::constructDofTableOfSpecifiedProsessStaggeredScheme( + const int specified_process_id) { // Create single component dof in every of the mesh nodes. _mesh_subset_all_nodes = @@ -303,13 +303,13 @@ void Process::constructDofTableOfSpecifiedProsessStaggerdScheme( std::vector<int> vec_var_n_components; // Collect the mesh subsets in a vector for each variables' components. std::generate_n(std::back_inserter(all_mesh_subsets), - _process_variables[specified_prosess_id][0] + _process_variables[specified_process_id][0] .get() .getNumberOfGlobalComponents(), [&]() { return *_mesh_subset_all_nodes; }); // Create a vector of the number of variable components. - vec_var_n_components.push_back(_process_variables[specified_prosess_id][0] + vec_var_n_components.push_back(_process_variables[specified_process_id][0] .get() .getNumberOfGlobalComponents()); _local_to_global_index_map = diff --git a/ProcessLib/Process.h b/ProcessLib/Process.h index e2d978a984f12b2c30fa46ca161f1eb871417e0b..b0aa626715399f3d74a577d240ab39b21171321b 100644 --- a/ProcessLib/Process.h +++ b/ProcessLib/Process.h @@ -291,7 +291,7 @@ protected: * which is stored in the * member of this class, @c _local_to_global_index_map. */ - void constructDofTableOfSpecifiedProsessStaggerdScheme( + void constructDofTableOfSpecifiedProsessStaggeredScheme( const int specified_prosess_id); /** diff --git a/ProcessLib/ThermoMechanicalPhaseField/ThermoMechanicalPhaseFieldProcess.cpp b/ProcessLib/ThermoMechanicalPhaseField/ThermoMechanicalPhaseFieldProcess.cpp index ed3e85e2a50c54f0e5467f4fed22d70947ebb3b7..4a047507ff95b3dcd89d88c5554ce0b1d37a152e 100644 --- a/ProcessLib/ThermoMechanicalPhaseField/ThermoMechanicalPhaseFieldProcess.cpp +++ b/ProcessLib/ThermoMechanicalPhaseField/ThermoMechanicalPhaseFieldProcess.cpp @@ -105,7 +105,7 @@ template <int DisplacementDim> void ThermoMechanicalPhaseFieldProcess<DisplacementDim>::constructDofTable() { // For displacement equation. - constructDofTableOfSpecifiedProsessStaggerdScheme( + constructDofTableOfSpecifiedProsessStaggeredScheme( _mechanics_related_process_id); // TODO move the two data members somewhere else. diff --git a/ProcessLib/ThermoMechanics/ThermoMechanicsProcess.cpp b/ProcessLib/ThermoMechanics/ThermoMechanicsProcess.cpp index 99712b21a3ad7311cc65787e84825e7e8b252b38..6b73b7bf16dbbfde35fad0db54f1cdd0cfe4ce0e 100644 --- a/ProcessLib/ThermoMechanics/ThermoMechanicsProcess.cpp +++ b/ProcessLib/ThermoMechanics/ThermoMechanicsProcess.cpp @@ -146,7 +146,7 @@ void ThermoMechanicsProcess<DisplacementDim>::constructDofTable() constructMonolithicProcessDofTable(); return; } - constructDofTableOfSpecifiedProsessStaggerdScheme( + constructDofTableOfSpecifiedProsessStaggeredScheme( _process_data.mechanics_process_id); // TODO move the two data members somewhere else.