From 75982ffb9403e8e4a326963d60841bb9f9c7907b Mon Sep 17 00:00:00 2001 From: David Wells Date: Sat, 18 Mar 2017 17:36:48 -0400 Subject: [PATCH] Clarify some sentences containing 'to to'. --- include/deal.II/base/mpi.h | 4 ++-- include/deal.II/base/quadrature_lib.h | 10 +++++----- include/deal.II/distributed/tria.h | 4 ++-- include/deal.II/dofs/dof_handler.h | 4 ++-- include/deal.II/grid/grid_tools.h | 2 +- include/deal.II/grid/tria.h | 4 ++-- include/deal.II/hp/dof_handler.h | 4 ++-- 7 files changed, 16 insertions(+), 16 deletions(-) diff --git a/include/deal.II/base/mpi.h b/include/deal.II/base/mpi.h index 8838d94029..e301de0b6c 100644 --- a/include/deal.II/base/mpi.h +++ b/include/deal.II/base/mpi.h @@ -384,8 +384,8 @@ namespace Utilities * evaluates the environment variable DEAL_II_NUM_THREADS. Finally, the * worker threads can only be created on cores to which the current MPI * process has access to; some MPI implementations limit the number of - * cores each process has access to to one or a subset of cores in order - * to ensure better cache behavior. Consequently, the number of threads + * cores each process may access to one or a subset of cores in order to + * ensure better cache behavior. Consequently, the number of threads * that will really be created will be the minimum of the argument * passed here, the environment variable (if set), and the number of * cores accessible to the thread. diff --git a/include/deal.II/base/quadrature_lib.h b/include/deal.II/base/quadrature_lib.h index 6739409fa5..144c010801 100644 --- a/include/deal.II/base/quadrature_lib.h +++ b/include/deal.II/base/quadrature_lib.h @@ -245,7 +245,7 @@ private: /** * A class for Gauss quadrature with arbitrary logarithmic weighting function. - * This formula is used to to integrate $\ln(|x-x_0|/\alpha)\;f(x)$ on the + * This formula is used to integrate $\ln(|x-x_0|/\alpha)\;f(x)$ on the * interval $[0,1]$, where $f$ is a smooth function without singularities, and * $x_0$ and $\alpha$ are given at construction time, and are the location of * the singularity $x_0$ and an arbitrary scaling factor in the singularity. @@ -314,10 +314,10 @@ protected: /** * A class for Gauss quadrature with $1/R$ weighting function. This formula - * can be used to to integrate $1/R \ f(x)$ on the reference element - * $[0,1]^2$, where $f$ is a smooth function without singularities, and $R$ is - * the distance from the point $x$ to the vertex $\xi$, given at construction - * time by specifying its index. Notice that this distance is evaluated in the + * can be used to integrate $1/R \ f(x)$ on the reference element $[0,1]^2$, + * where $f$ is a smooth function without singularities, and $R$ is the + * distance from the point $x$ to the vertex $\xi$, given at construction time + * by specifying its index. Notice that this distance is evaluated in the * reference element. * * This quadrature formula is obtained from two QGauss quadrature formulas, diff --git a/include/deal.II/distributed/tria.h b/include/deal.II/distributed/tria.h index d8a2e4e946..31b2c43661 100644 --- a/include/deal.II/distributed/tria.h +++ b/include/deal.II/distributed/tria.h @@ -246,7 +246,7 @@ namespace parallel { public: /** - * A typedef that is used to to identify cell iterators. The concept of + * A typedef that is used to identify cell iterators. The concept of * iterators is discussed at length in the * @ref Iterators "iterators documentation module". * @@ -265,7 +265,7 @@ namespace parallel typedef typename dealii::Triangulation::cell_iterator cell_iterator; /** - * A typedef that is used to to identify + * A typedef that is used to identify * @ref GlossActive "active cell iterators". * The concept of iterators is discussed at length in the * @ref Iterators "iterators documentation module". diff --git a/include/deal.II/dofs/dof_handler.h b/include/deal.II/dofs/dof_handler.h index 765c79a779..cbb426bce5 100644 --- a/include/deal.II/dofs/dof_handler.h +++ b/include/deal.II/dofs/dof_handler.h @@ -206,7 +206,7 @@ public: typedef typename ActiveSelector::active_hex_iterator active_hex_iterator; /** - * A typedef that is used to to identify + * A typedef that is used to identify * @ref GlossActive "active cell iterators". * The concept of iterators is discussed at length in the * @ref Iterators "iterators documentation module". @@ -228,7 +228,7 @@ public: typedef typename ActiveSelector::active_cell_iterator active_cell_iterator; /** - * A typedef that is used to to identify cell iterators. The concept of + * A typedef that is used to identify cell iterators. The concept of * iterators is discussed at length in the * @ref Iterators "iterators documentation module". * diff --git a/include/deal.II/grid/grid_tools.h b/include/deal.II/grid/grid_tools.h index fb8341a644..39ae2c6b4b 100644 --- a/include/deal.II/grid/grid_tools.h +++ b/include/deal.II/grid/grid_tools.h @@ -414,8 +414,8 @@ namespace GridTools * (default value) refine the cell in the direction that removes hanging node. * * @param[in] max_iterations At each step only closest cells to hanging nodes - * are refined. The code may require a lot of iterations to to remove all * hangind nodes. @p max_iterations is the maximum number of iteration + * are refined. The code may require a lot of iterations to remove all * allowed. If @p max_iterations == numbers::invalid_unsigned_int this * function continues refining until there are no hanging nodes. * diff --git a/include/deal.II/grid/tria.h b/include/deal.II/grid/tria.h index c1ddaf5764..13e5fd6fc6 100644 --- a/include/deal.II/grid/tria.h +++ b/include/deal.II/grid/tria.h @@ -1464,7 +1464,7 @@ public: }; /** - * A typedef that is used to to identify cell iterators. The concept of + * A typedef that is used to identify cell iterators. The concept of * iterators is discussed at length in the * @ref Iterators "iterators documentation module". * @@ -1481,7 +1481,7 @@ public: typedef TriaIterator > cell_iterator; /** - * A typedef that is used to to identify + * A typedef that is used to identify * @ref GlossActive "active cell iterators". * The concept of iterators is discussed at length in the * @ref Iterators "iterators documentation module". diff --git a/include/deal.II/hp/dof_handler.h b/include/deal.II/hp/dof_handler.h index 4b1b1fffd9..5c7df4c1f7 100644 --- a/include/deal.II/hp/dof_handler.h +++ b/include/deal.II/hp/dof_handler.h @@ -140,7 +140,7 @@ namespace hp typedef typename ActiveSelector::active_hex_iterator active_hex_iterator; /** - * A typedef that is used to to identify + * A typedef that is used to identify * @ref GlossActive "active cell iterators". * The concept of iterators is discussed at length in the * @ref Iterators "iterators documentation module". @@ -168,7 +168,7 @@ namespace hp typedef typename LevelSelector::cell_iterator level_cell_iterator; /** - * A typedef that is used to to identify cell iterators. The concept of + * A typedef that is used to identify cell iterators. The concept of * iterators is discussed at length in the * @ref Iterators "iterators documentation module". * -- 2.39.5