From a90d85a414b298b91db89554291fbd138fbac443 Mon Sep 17 00:00:00 2001 From: David Wells Date: Sun, 28 Jun 2015 21:21:05 -0400 Subject: [PATCH] Fix some small typos. --- examples/step-17/step-17.cc | 4 ++-- include/deal.II/algorithms/theta_timestepping.h | 2 +- include/deal.II/base/auto_derivative_function.h | 4 ++-- include/deal.II/base/derivative_form.h | 4 ++-- include/deal.II/base/quadrature_lib.h | 4 ++-- include/deal.II/base/table.h | 2 +- include/deal.II/base/vector_slice.h | 2 +- include/deal.II/dofs/dof_accessor.h | 4 ++-- include/deal.II/dofs/function_map.h | 2 +- include/deal.II/fe/mapping_q_eulerian.h | 2 +- include/deal.II/grid/tria_iterator_selector.h | 14 +++++++------- include/deal.II/lac/block_sparse_matrix_ez.h | 2 +- include/deal.II/lac/parallel_block_vector.h | 10 +++++----- .../deal.II/lac/slepc_spectral_transformation.h | 4 ++-- include/deal.II/lac/sparse_direct.h | 2 +- include/deal.II/lac/transpose_matrix.h | 2 +- include/deal.II/meshworker/integration_info.h | 2 +- include/deal.II/meshworker/local_integrator.h | 4 ++-- include/deal.II/meshworker/vector_selector.h | 2 +- include/deal.II/multigrid/mg_matrix.h | 4 ++-- include/deal.II/multigrid/mg_smoother.h | 2 +- include/deal.II/numerics/data_postprocessor.h | 2 +- include/deal.II/numerics/dof_output_operator.h | 4 ++-- include/deal.II/numerics/histogram.h | 8 ++++---- include/deal.II/numerics/matrix_tools.h | 2 +- include/deal.II/numerics/time_dependent.h | 6 +++--- include/deal.II/numerics/vector_tools.h | 2 +- source/fe/fe_dgp.cc | 4 ++-- source/fe/fe_q_iso_q1.cc | 4 ++-- source/grid/manifold_lib.cc | 2 +- source/lac/petsc_precondition.cc | 4 ++-- source/lac/petsc_solver.cc | 4 ++-- source/numerics/derivative_approximation.cc | 2 +- source/numerics/matrix_tools.cc | 2 +- 34 files changed, 62 insertions(+), 62 deletions(-) diff --git a/examples/step-17/step-17.cc b/examples/step-17/step-17.cc index 5298d9dd8a..8d21b3c43d 100644 --- a/examples/step-17/step-17.cc +++ b/examples/step-17/step-17.cc @@ -1,6 +1,6 @@ /* --------------------------------------------------------------------- * - * Copyright (C) 2000 - 2014 by the deal.II authors + * Copyright (C) 2000 - 2015 by the deal.II authors * * This file is part of the deal.II library. * @@ -271,7 +271,7 @@ namespace Step17 // @sect4{ElasticProblem::~ElasticProblem} - // The destuctor is exactly as in step-8. + // The destructor is exactly as in step-8. template ElasticProblem::~ElasticProblem () { diff --git a/include/deal.II/algorithms/theta_timestepping.h b/include/deal.II/algorithms/theta_timestepping.h index 3009b0b538..aaef17882d 100644 --- a/include/deal.II/algorithms/theta_timestepping.h +++ b/include/deal.II/algorithms/theta_timestepping.h @@ -192,7 +192,7 @@ namespace Algorithms public: /** * Constructor, receiving the two operators stored in #op_explicit and - * #op_implicit. For their meening, see the description of those + * #op_implicit. For their meaning, see the description of those * variables. */ ThetaTimestepping (Operator &op_explicit, diff --git a/include/deal.II/base/auto_derivative_function.h b/include/deal.II/base/auto_derivative_function.h index 78b3ba1cd8..f2974cefae 100644 --- a/include/deal.II/base/auto_derivative_function.h +++ b/include/deal.II/base/auto_derivative_function.h @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 2001 - 2014 by the deal.II authors +// Copyright (C) 2001 - 2015 by the deal.II authors // // This file is part of the deal.II library. // @@ -30,7 +30,7 @@ DEAL_II_NAMESPACE_OPEN * The following example of an user defined function overloads and implements * only the value() function but not the gradient() function. If the * gradient() function is invoked then the gradient function implemented by - * the AutoDerivativeFunction is called, where the latter function imployes + * the AutoDerivativeFunction is called, where the latter function employs * numerical difference quotients. * * @code diff --git a/include/deal.II/base/derivative_form.h b/include/deal.II/base/derivative_form.h index a70813f57f..b74fa9eb76 100644 --- a/include/deal.II/base/derivative_form.h +++ b/include/deal.II/base/derivative_form.h @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 2013 - 2014 by the deal.II authors +// Copyright (C) 2013 - 2015 by the deal.II authors // // This file is part of the deal.II library. // @@ -28,7 +28,7 @@ DEAL_II_NAMESPACE_OPEN * function is a linear map from ${\mathbb R}^{\text{dim}}$ to ${\mathbb * R}^{\text{spacedim}}$, the second derivative a bilinear map from ${\mathbb * R}^{\text{dim}} \times {\mathbb R}^{\text{dim}}$ to ${\mathbb - * R}^{\text{spacedim}}$ and so on. In deal.II we represent these derivaties + * R}^{\text{spacedim}}$ and so on. In deal.II we represent these derivatives * using objects of type DerivativeForm<1,dim,spacedim,Number>, * DerivativeForm<2,dim,spacedim,Number> and so on. * @author Sebastian Pauletti, 2011, Luca Heltai, 2015 diff --git a/include/deal.II/base/quadrature_lib.h b/include/deal.II/base/quadrature_lib.h index 9485b05176..a7fbd90648 100644 --- a/include/deal.II/base/quadrature_lib.h +++ b/include/deal.II/base/quadrature_lib.h @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 1998 - 2014 by the deal.II authors +// Copyright (C) 1998 - 2015 by the deal.II authors // // This file is part of the deal.II library. // @@ -31,7 +31,7 @@ DEAL_II_NAMESPACE_OPEN * The coefficients of these quadrature rules are computed by the function * described in Numerical - * Recipies. + * Recipes. * * @author Guido Kanschat, 2001 */ diff --git a/include/deal.II/base/table.h b/include/deal.II/base/table.h index 3dc6ec75d1..06d0dd65cd 100644 --- a/include/deal.II/base/table.h +++ b/include/deal.II/base/table.h @@ -64,7 +64,7 @@ namespace internal /** * @internal Have a class which declares some nested typedefs, depending * on its template parameters. The general template declares nothing, but - * there are more useful specializations regaring the last parameter + * there are more useful specializations regarding the last parameter * indicating constness of the table for which accessor objects are to be * generated in this namespace. */ diff --git a/include/deal.II/base/vector_slice.h b/include/deal.II/base/vector_slice.h index bb0e13f638..919aa4726b 100644 --- a/include/deal.II/base/vector_slice.h +++ b/include/deal.II/base/vector_slice.h @@ -30,7 +30,7 @@ DEAL_II_NAMESPACE_OPEN * operator of the VECTOR and adds an offset to every index. * * Some precautions have to be taken if it is used for a constant vector: the - * VectorSlice object has to be constant, too. The appropriate initalization + * VectorSlice object has to be constant, too. The appropriate initialization * sequence is like this: * * @code diff --git a/include/deal.II/dofs/dof_accessor.h b/include/deal.II/dofs/dof_accessor.h index ec6ef21b16..07ed50a94b 100644 --- a/include/deal.II/dofs/dof_accessor.h +++ b/include/deal.II/dofs/dof_accessor.h @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 1998 - 2014 by the deal.II authors +// Copyright (C) 1998 - 2015 by the deal.II authors // // This file is part of the deal.II library. // @@ -151,7 +151,7 @@ namespace internal *

Generic loops and the third template argument

* * Many loops look very similar, whether they operate on the active dofs of - * the active cells of the Triangulation or on the level dodfs of a single + * the active cells of the Triangulation or on the level dofs of a single * level or the whole grid hierarchy. In order to use polymorphism in such * loops, they access degrees of freedom through the function * get_active_or_mg_dof_indices(), which changes behavior according to the diff --git a/include/deal.II/dofs/function_map.h b/include/deal.II/dofs/function_map.h index 38ccc45a6a..94dc275396 100644 --- a/include/deal.II/dofs/function_map.h +++ b/include/deal.II/dofs/function_map.h @@ -54,7 +54,7 @@ template class Function; * * It seems odd at first to declare this typedef inside a class, rather than * declaring a typedef at global scope. The reason is that C++ does not allow - * to define templated typedefs, where here in fact we want a typdef that + * to define templated typedefs, where here in fact we want a typedef that * depends on the space dimension. (Defining templated typedefs is something * that is possible starting with the C++11 standard, but that wasn't possible * within the C++98 standard in place when this programming pattern was diff --git a/include/deal.II/fe/mapping_q_eulerian.h b/include/deal.II/fe/mapping_q_eulerian.h index a28a81ddcd..723220360d 100644 --- a/include/deal.II/fe/mapping_q_eulerian.h +++ b/include/deal.II/fe/mapping_q_eulerian.h @@ -45,7 +45,7 @@ DEAL_II_NAMESPACE_OPEN * mapping from the initial configuration to the current configuration, and a * reference to the DoFHandler. The most common case is to use the solution * vector for the problem under consideration as the shift vector. The key - * reqirement is that the number of components of the given vector field be + * requirement is that the number of components of the given vector field be * equal to (or possibly greater than) the number of space dimensions. If * there are more components than space dimensions (for example, if one is * working with a coupled problem where there are additional solution diff --git a/include/deal.II/grid/tria_iterator_selector.h b/include/deal.II/grid/tria_iterator_selector.h index 359dc1038d..94a81d5592 100644 --- a/include/deal.II/grid/tria_iterator_selector.h +++ b/include/deal.II/grid/tria_iterator_selector.h @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 2003 - 2014 by the deal.II authors +// Copyright (C) 2003 - 2015 by the deal.II authors // // This file is part of the deal.II library. // @@ -39,12 +39,12 @@ namespace internal /** * This class implements some types which differ between the dimensions. - * These are the declararions for the 1D case only. See the + * These are the declarations for the 1D case only. See the * @ref Iterators * module for more information. * - * A @p line_iterator is typdef'd to an iterator operating on the @p lines - * member variable of a Triangulation<1> object. An @p + * A @p line_iterator is typedef'd to an iterator operating on the @p + * lines member variable of a Triangulation<1> object. An @p * active_line_iterator only operates on the active lines. @p * raw_line_iterator objects operate on all lines, used or not. * @@ -89,12 +89,12 @@ namespace internal /** * This class implements some types which differ between the dimensions. - * These are the declararions for the 2D case only. See the + * These are the declarations for the 2D case only. See the * @ref Iterators * module for more information. * - * A @p line_iterator is typdef'd to an iterator operating on the @p lines - * member variable of a Triangulation<2> object. An @p + * A @p line_iterator is typedef'd to an iterator operating on the @p + * lines member variable of a Triangulation<2> object. An @p * active_line_iterator only operates on the active lines. @p * raw_line_iterator objects operate on all lines, used or not. Using @p * active_line_iterators may not be particularly in 2D useful since it diff --git a/include/deal.II/lac/block_sparse_matrix_ez.h b/include/deal.II/lac/block_sparse_matrix_ez.h index 9e0985a386..492b9310d1 100644 --- a/include/deal.II/lac/block_sparse_matrix_ez.h +++ b/include/deal.II/lac/block_sparse_matrix_ez.h @@ -63,7 +63,7 @@ public: BlockSparseMatrixEZ (); /** - * Constructor setting up an object with given unmber of block rows and + * Constructor setting up an object with given number of block rows and * columns. The blocks themselves still have zero dimension. */ BlockSparseMatrixEZ (const unsigned int block_rows, diff --git a/include/deal.II/lac/parallel_block_vector.h b/include/deal.II/lac/parallel_block_vector.h index 9b62c3d1fe..c8ce35ae4c 100644 --- a/include/deal.II/lac/parallel_block_vector.h +++ b/include/deal.II/lac/parallel_block_vector.h @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 1999 - 2014 by the deal.II authors +// Copyright (C) 1999 - 2015 by the deal.II authors // // This file is part of the deal.II library. // @@ -44,10 +44,10 @@ namespace parallel /** - * An implementation of block vectors based on distribued deal.II vectors. - * While the base class provides for most of the interface, this class - * handles the actual allocation of vectors and provides functions that - * are specific to the underlying vector type. + * An implementation of block vectors based on distributed deal.II + * vectors. While the base class provides for most of the interface, this + * class handles the actual allocation of vectors and provides functions + * that are specific to the underlying vector type. * * @note Instantiations for this template are provided for @ * and @; others can be generated in application programs diff --git a/include/deal.II/lac/slepc_spectral_transformation.h b/include/deal.II/lac/slepc_spectral_transformation.h index a52628e7fe..4f753fda39 100644 --- a/include/deal.II/lac/slepc_spectral_transformation.h +++ b/include/deal.II/lac/slepc_spectral_transformation.h @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 2009 - 2014 by the deal.II authors +// Copyright (C) 2009 - 2015 by the deal.II authors // // This file is part of the deal.II library. // @@ -55,7 +55,7 @@ namespace SLEPcWrappers * eigensolver.solve (A, B, lambda, x, size_of_spectrum); * @endcode * - * @note These options can also be set at the commandline. + * @note These options can also be set at the command line. * * @ingroup SLEPcWrappers * @author Toby D. Young 2009, 2013 diff --git a/include/deal.II/lac/sparse_direct.h b/include/deal.II/lac/sparse_direct.h index 9cd143a4aa..de445e7ace 100644 --- a/include/deal.II/lac/sparse_direct.h +++ b/include/deal.II/lac/sparse_direct.h @@ -40,7 +40,7 @@ DEAL_II_NAMESPACE_OPEN * this link). * UMFPACK is a set of routines for solving non-symmetric sparse linear * systems, Ax=b, using the Unsymmetric-pattern MultiFrontal method and direct - * sparse LU factorization. Matrices may have symmetric or unsymmetrix + * sparse LU factorization. Matrices may have symmetric or unsymmetric * sparsity patterns, and may have unsymmetric entries. The use of this class * is explained in the * @ref step_22 "step-22" diff --git a/include/deal.II/lac/transpose_matrix.h b/include/deal.II/lac/transpose_matrix.h index dd96aac9d0..7cb5e3b9c9 100644 --- a/include/deal.II/lac/transpose_matrix.h +++ b/include/deal.II/lac/transpose_matrix.h @@ -24,7 +24,7 @@ DEAL_II_NAMESPACE_OPEN /** - * The transpose of a given matrix. This auxiliary class swaps the effect ov + * The transpose of a given matrix. This auxiliary class swaps the effect of * vmult() and Tvmult() as well as vmult_add() and Tvmult_add(). * * The implementation is analogous to the class PointerMatrix. diff --git a/include/deal.II/meshworker/integration_info.h b/include/deal.II/meshworker/integration_info.h index cbb9f92ebe..2bd707d7f8 100644 --- a/include/deal.II/meshworker/integration_info.h +++ b/include/deal.II/meshworker/integration_info.h @@ -50,7 +50,7 @@ namespace MeshWorker * This class supports two local integration models, corresponding to the * data models in the documentation of the Assembler namespace. One is the * standard model suggested by the use of FESystem. Namely, there is one - * FEValuseBase object in this class, containing all shape functions of the + * FEValuesBase object in this class, containing all shape functions of the * whole system, and having as many components as the system. Using this * model involves loops over all system shape functions. It requires to * identify the system components for each shape function and to select the diff --git a/include/deal.II/meshworker/local_integrator.h b/include/deal.II/meshworker/local_integrator.h index 09a8007f76..fcb0b5a9ee 100644 --- a/include/deal.II/meshworker/local_integrator.h +++ b/include/deal.II/meshworker/local_integrator.h @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 2006 - 2014 by the deal.II authors +// Copyright (C) 2006 - 2015 by the deal.II authors // // This file is part of the deal.II library. // @@ -38,7 +38,7 @@ namespace MeshWorker * * Additionally, since we cannot have a virtual null function, we provide * flags, which allow us to indicate, whether we want to integrate on - * boundary and interior faces. Thes flags are true by default, but can be + * boundary and interior faces. These flags are true by default, but can be * modified by applications to speed up the loop. * * If a function is not overloaded in a derived class, but its usage flag is diff --git a/include/deal.II/meshworker/vector_selector.h b/include/deal.II/meshworker/vector_selector.h index 802e6a02a5..5a4928ec50 100644 --- a/include/deal.II/meshworker/vector_selector.h +++ b/include/deal.II/meshworker/vector_selector.h @@ -52,7 +52,7 @@ namespace MeshWorker * arguments are the name of the vector and indicators, which information * is to be extracted from the vector. The name refers to an entry in a * AnyData object, which will be identified by initialize(). The three - * bool parameters indicate, whether values, greadients and Hessians of + * bool parameters indicate, whether values, gradients and Hessians of * the finite element function are to be computed on each cell or face. */ void add(const std::string &name, diff --git a/include/deal.II/multigrid/mg_matrix.h b/include/deal.II/multigrid/mg_matrix.h index efb5207845..78dd2b1dbb 100644 --- a/include/deal.II/multigrid/mg_matrix.h +++ b/include/deal.II/multigrid/mg_matrix.h @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 2003 - 2014 by the deal.II authors +// Copyright (C) 2003 - 2015 by the deal.II authors // // This file is part of the deal.II library. // @@ -32,7 +32,7 @@ namespace mg { /** * Multilevel matrix. This matrix stores an MGLevelObject of - * PointerMatrixBase objects. It implementes the interface defined in + * PointerMatrixBase objects. It implements the interface defined in * MGMatrixBase, so that it can be used as a matrix in Multigrid. * * @author Guido Kanschat diff --git a/include/deal.II/multigrid/mg_smoother.h b/include/deal.II/multigrid/mg_smoother.h index f846daab11..45160691d6 100644 --- a/include/deal.II/multigrid/mg_smoother.h +++ b/include/deal.II/multigrid/mg_smoother.h @@ -70,7 +70,7 @@ public: void set_symmetric (const bool); /** - * Switch on/off transposed smoothing. The effect is overriden by + * Switch on/off transposed smoothing. The effect is overridden by * set_symmetric(). */ void set_transpose (const bool); diff --git a/include/deal.II/numerics/data_postprocessor.h b/include/deal.II/numerics/data_postprocessor.h index 9167d859b0..0baa696320 100644 --- a/include/deal.II/numerics/data_postprocessor.h +++ b/include/deal.II/numerics/data_postprocessor.h @@ -38,7 +38,7 @@ DEAL_II_NAMESPACE_OPEN * * For the (graphical) output of a FE solution one frequently wants to include * derived quantities, which are calculated from the values of the solution - * and possibly the first and second derivates of the solution. Examples are + * and possibly the first and second derivatives of the solution. Examples are * the calculation of Mach numbers from velocity and density in supersonic * flow computations, or the computation of the magnitude of a complex-valued * solution as demonstrated in step-29. Other uses are shown in step-32 and diff --git a/include/deal.II/numerics/dof_output_operator.h b/include/deal.II/numerics/dof_output_operator.h index 74751a36d0..727c9752de 100644 --- a/include/deal.II/numerics/dof_output_operator.h +++ b/include/deal.II/numerics/dof_output_operator.h @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 2010 - 2014 by the deal.II authors +// Copyright (C) 2010 - 2015 by the deal.II authors // // This file is part of the deal.II library. // @@ -43,7 +43,7 @@ namespace Algorithms * Constructor. The filename is the common base name of * all files and the argument digits should be the number * of digits of the highest number in the sequence. File names by - * default have the form "outputNN" with NNN the number set by the + * default have the form "outputNNN" with NNN the number set by the * last step command. Numbers with less digits are filled with * zeros from the left. */ diff --git a/include/deal.II/numerics/histogram.h b/include/deal.II/numerics/histogram.h index d33ead0c99..fb8588633a 100644 --- a/include/deal.II/numerics/histogram.h +++ b/include/deal.II/numerics/histogram.h @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 1999 - 2014 by the deal.II authors +// Copyright (C) 1999 - 2015 by the deal.II authors // // This file is part of the deal.II library. // @@ -44,13 +44,13 @@ DEAL_II_NAMESPACE_OPEN *
    *
  • Linear spacing: The intervals are distributed in constant steps * between the minimum and maximum values of the data. - *
  • Logaritmic spacing: The intervals are distributed in constant steps + *
  • Logarithmic spacing: The intervals are distributed in constant steps * between the minimum and maximum values of the logs of the values. This * scheme is only useful if the data has only positive values. Negative and * zero values are sorted into the leftmost interval. *
* - * To keep programs extendible, you can use the two functions @p + * To keep programs extensible, you can use the two functions @p * get_interval_spacing_names and @p parse_interval_spacing, which always give * you a complete list of spacing formats presently supported and are able to * generate the respective value of the @p enum. If you use them, you can @@ -206,7 +206,7 @@ private: * * Return @p true, if (n1, and (n1>0 or * n2<0)), or (n20 and n2<=0). This in effect sorts all - * negativ numbers to be larger than the largest positive number. + * negative numbers to be larger than the largest positive number. */ template static bool logarithmic_less (const number n1, diff --git a/include/deal.II/numerics/matrix_tools.h b/include/deal.II/numerics/matrix_tools.h index af1c250d9c..852e06b6f0 100644 --- a/include/deal.II/numerics/matrix_tools.h +++ b/include/deal.II/numerics/matrix_tools.h @@ -973,7 +973,7 @@ namespace MatrixTools * structures of sparse matrices, it is relatively cheap. It may therefore * be a win if you have many fixed degrees of freedom (e.g. boundary nodes), * or if access to the sparse matrix is expensive (e.g. for block sparse - * matrices, or for PETSc or trilinos matrices). However, it doesn't work as + * matrices, or for PETSc or Trilinos matrices). However, it doesn't work as * expected if there are also hanging nodes to be considered. More caveats * are listed in the general documentation of this class. * diff --git a/include/deal.II/numerics/time_dependent.h b/include/deal.II/numerics/time_dependent.h index 3fd97dfbf2..79dae77629 100644 --- a/include/deal.II/numerics/time_dependent.h +++ b/include/deal.II/numerics/time_dependent.h @@ -39,7 +39,7 @@ template class Triangulation; * This class provides an abstract interface to time dependent problems in * that it addresses some of the most annoying aspects of this class of * problems: data management. These problems frequently need large amounts of - * computer ressources, most notably computing time, main memory and disk + * computer resources, most notably computing time, main memory and disk * space. Main memory reduction is often the most pressing need, methods to * implement it are almost always quite messy, though, quickly leading to code * that stores and reloads data at places scattered all over the program, and @@ -64,7 +64,7 @@ template class Triangulation; * step objects on which we solve our problem subsequently. In order to do so, * we need knowledge of the data on zero or several previous timesteps (when * using single or multiple step methods, that is) and maybe also some data of - * time steps ahead (for example the computational grid on these). Dependening + * time steps ahead (for example the computational grid on these). Depending * on the problem in question, a second loop over all timesteps may be done * solving a dual problem, where the loop may run forward (one dual problem * for each time step) or backward (using a global dual problem). Within one @@ -1342,7 +1342,7 @@ public: * triangulation is deleted and the refinement history saved such that the * respective @p wake_up function can rebuild it. You should therefore call * this function from your overloaded version, preferably at the end so that - * your function can use the triangulation as long as ou need it. + * your function can use the triangulation as long as you need it. */ virtual void sleep (const unsigned int); diff --git a/include/deal.II/numerics/vector_tools.h b/include/deal.II/numerics/vector_tools.h index 4f34e33b9e..142950baae 100644 --- a/include/deal.II/numerics/vector_tools.h +++ b/include/deal.II/numerics/vector_tools.h @@ -2355,7 +2355,7 @@ namespace VectorTools * The resulting map is guaranteed to be interpolatory at the support points * of a FE_Q() finite element of the same degree as dh->get_fe().degree. * Notice that this may or may not be meaningful, depending on the - * FiniteElement you have distribed in dh. + * FiniteElement you have distributed in dh. * * If the underlying finite element is an FE_Q(1)^spacedim, then the * resulting VECTOR is a finite element field representation of the vertices diff --git a/source/fe/fe_dgp.cc b/source/fe/fe_dgp.cc index a93a0e1b69..62d55adbb7 100644 --- a/source/fe/fe_dgp.cc +++ b/source/fe/fe_dgp.cc @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 2002 - 2014 by the deal.II authors +// Copyright (C) 2002 - 2015 by the deal.II authors // // This file is part of the deal.II library. // @@ -50,7 +50,7 @@ FE_DGP::get_name () const { // note that the FETools::get_fe_from_name function depends on the // particular format of the string this function returns, so they have to be - // kept in synch + // kept in sync std::ostringstream namebuf; namebuf << "FE_DGP<" diff --git a/source/fe/fe_q_iso_q1.cc b/source/fe/fe_q_iso_q1.cc index 95160103d7..5a154c4dde 100644 --- a/source/fe/fe_q_iso_q1.cc +++ b/source/fe/fe_q_iso_q1.cc @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 2000 - 2014 by the deal.II authors +// Copyright (C) 2000 - 2015 by the deal.II authors // // This file is part of the deal.II library. // @@ -56,7 +56,7 @@ FE_Q_iso_Q1::get_name () const { // note that the FETools::get_fe_from_name function depends on the // particular format of the string this function returns, so they have to be - // kept in synch + // kept in sync std::ostringstream namebuf; namebuf << "FE_Q_iso_Q1<" diff --git a/source/grid/manifold_lib.cc b/source/grid/manifold_lib.cc index b5d315d3a3..8f3cd38306 100644 --- a/source/grid/manifold_lib.cc +++ b/source/grid/manifold_lib.cc @@ -56,7 +56,7 @@ SphericalManifold::get_new_point(const Quadrature &quad) rho_average += quad.weight(i)*(quad.point(i)-center).norm(); mid_point += quad.weight(i)*quad.point(i); } - // Project the mid_pont back to the right location + // Project the mid_point back to the right location Tensor<1,spacedim> R = mid_point-center; // Scale it to have radius rho_average R *= rho_average/R.norm(); diff --git a/source/lac/petsc_precondition.cc b/source/lac/petsc_precondition.cc index d9f2f9bcd2..e93175998a 100644 --- a/source/lac/petsc_precondition.cc +++ b/source/lac/petsc_precondition.cc @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 2004 - 2014 by the deal.II authors +// Copyright (C) 2004 - 2015 by the deal.II authors // // This file is part of the deal.II library. // @@ -69,7 +69,7 @@ namespace PETScWrappers MPI_Comm comm; int ierr; - // this ugly cast is necessay because the + // this ugly cast is necessary because the // type Mat and PETScObject are // unrelated. ierr = PetscObjectGetComm(reinterpret_cast(matrix), &comm); diff --git a/source/lac/petsc_solver.cc b/source/lac/petsc_solver.cc index f1823e5bb4..d919a3b854 100644 --- a/source/lac/petsc_solver.cc +++ b/source/lac/petsc_solver.cc @@ -1,6 +1,6 @@ // --------------------------------------------------------------------- // -// Copyright (C) 2004 - 2014 by the deal.II authors +// Copyright (C) 2004 - 2015 by the deal.II authors // // This file is part of the deal.II library. // @@ -68,7 +68,7 @@ namespace PETScWrappers int ierr; /* - TODO: PETSc dublicates communicators, so this does not work (you put MPI_COMM_SELF in, but get something other out when you ask PETSc for the communicator. This mainly fails due to the MatrixFree classes, that can not ask PETSc for a communicator. //Timo Heister + TODO: PETSc duplicates communicators, so this does not work (you put MPI_COMM_SELF in, but get something other out when you ask PETSc for the communicator. This mainly fails due to the MatrixFree classes, that can not ask PETSc for a communicator. //Timo Heister Assert(A.get_mpi_communicator()==mpi_communicator, ExcMessage("PETSc Solver and Matrix need to use the same MPI_Comm.")); Assert(x.get_mpi_communicator()==mpi_communicator, ExcMessage("PETSc Solver and Vector need to use the same MPI_Comm.")); Assert(b.get_mpi_communicator()==mpi_communicator, ExcMessage("PETSc Solver and Vector need to use the same MPI_Comm.")); diff --git a/source/numerics/derivative_approximation.cc b/source/numerics/derivative_approximation.cc index 58c4afc9cd..a9bca498b8 100644 --- a/source/numerics/derivative_approximation.cc +++ b/source/numerics/derivative_approximation.cc @@ -63,7 +63,7 @@ namespace DerivativeApproximation * The following class is used to describe the data needed to compute the * finite difference approximation to the gradient on a cell. See the * general documentation of this class for more information on - * implementational details. + * implementation details. * * @author Wolfgang Bangerth, 2000 */ diff --git a/source/numerics/matrix_tools.cc b/source/numerics/matrix_tools.cc index ef56f60fdb..be161e6770 100644 --- a/source/numerics/matrix_tools.cc +++ b/source/numerics/matrix_tools.cc @@ -71,7 +71,7 @@ namespace MatrixCreator * just like a * std::pair * but is templatized on the - * dof handler that shouls be used. + * dof handler that should be used. */ template struct IteratorRange -- 2.39.5