From b49c69b349a4b670f9b8c2258afd3e1fa792d724 Mon Sep 17 00:00:00 2001 From: Joscha Gedicke Date: Thu, 17 Mar 2016 11:39:41 +0100 Subject: [PATCH] corrected language spelling in comments --- include/deal.II/lac/constraint_matrix.h | 14 +++++++------- include/deal.II/lac/constraint_matrix.templates.h | 4 ++-- include/deal.II/meshworker/simple.h | 8 ++++---- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/include/deal.II/lac/constraint_matrix.h b/include/deal.II/lac/constraint_matrix.h index 4fe2034994..64a35a46b0 100644 --- a/include/deal.II/lac/constraint_matrix.h +++ b/include/deal.II/lac/constraint_matrix.h @@ -742,19 +742,19 @@ public: /** * Same as the previous function, except that it uses two (possibly) different - * index sets to correctly handle inhomogeneties when the local matrix is + * index sets to correctly handle inhomogeneities when the local matrix is * computed from a combination of two neighboring elements, for example for an * edge integral term in DG. Note that in the case that these two elements have * different polynomial degree, the local matrix is rectangular. * - * local_dof_indices_row is the set of row indices and - * local_dof_indices_col is the set of column indices of the local matrix. - * diagonal=false says whether the two index sets are equal or not. + * local_dof_indices_row is the set of row indices and + * local_dof_indices_col is the set of column indices of the local matrix. + * diagonal=false says whether the two index sets are equal or not. * - * If both index sets are equal, diagonal must be set to true or we + * If both index sets are equal, diagonal must be set to true or we * simply use the previous function. If both index sets are different (diagonal=false) - * the global_vector is modified to handle inhomogeneties but no - * entries from local_vector are added. Note that the edge integrals for inner + * the global_vector is modified to handle inhomogeneities but no + * entries from local_vector are added. Note that the edge integrals for inner * edged for DG do not contribute any values to the right hand side. */ template diff --git a/include/deal.II/lac/constraint_matrix.templates.h b/include/deal.II/lac/constraint_matrix.templates.h index 1170cf7316..bf2ee1b0f5 100644 --- a/include/deal.II/lac/constraint_matrix.templates.h +++ b/include/deal.II/lac/constraint_matrix.templates.h @@ -645,11 +645,11 @@ distribute_local_to_global (const Vector &local_vector, // diagonal checks if we have only one index set (if both are equal // diagonal should be set to true). - // If true we do both, assemply of the right hand side (next lines) + // If true we do both, assembly of the right hand side (next lines) // and (see further below) modifications of the right hand side // according to the inhomogeneous constraints. // Otherwise we only modify the right hand side according to - // local_matrix and the inhomogeneos constraints, and omit the vector add. + // local_matrix and the inhomogeneous constraints, and omit the vector add. const size_type m_local_dofs = local_dof_indices_row.size(); const size_type n_local_dofs = local_dof_indices_col.size(); diff --git a/include/deal.II/meshworker/simple.h b/include/deal.II/meshworker/simple.h index b04373c43d..862d62a749 100644 --- a/include/deal.II/meshworker/simple.h +++ b/include/deal.II/meshworker/simple.h @@ -72,11 +72,11 @@ namespace MeshWorker * structure in DoFInfo is being used. * * Store information on the local block structure. If the assembler is - * inititialized with this function, initialize_info() will generate one + * initialized with this function, initialize_info() will generate one * local matrix for each block row and column, which will be numbered * lexicographically, row by row. * - * In spite of using local block structure, all blocks will be enteres + * In spite of using local block structure, all blocks will be entered * into the same global matrix, disregarding any global block structure. */ @@ -109,7 +109,7 @@ namespace MeshWorker const DOFINFO &info2); protected: /** - * The global residal vectors filled by assemble(). + * The global residual vectors filled by assemble(). */ AnyData residuals; @@ -957,7 +957,7 @@ namespace MeshWorker for (unsigned int k=0; k= threshold) // Enter values into matrix only if j corresponds to a - // degree of freedom on the refinemenent edge, k does + // degree of freedom on the refinement edge, k does // not, and both are not on the boundary. This is part // the difference between the complete matrix with no // boundary condition at the refinement edge and and -- 2.39.5