Commit c210884f authored by Dmitry Yu. Naumov's avatar Dmitry Yu. Naumov

Merge branch 'tiny_typo_fix' into 'master'

tiny spelling errors in variable names corrected

See merge request ogs/ogs!3182
parents 53bac4b4 85b28292
......@@ -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;
}
......
......@@ -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
......
......@@ -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 =
......
......@@ -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);
/**
......
......@@ -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.
......
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment