From 2b172e7b9d79a39e01343c4f77c49cfbd30d6bd6 Mon Sep 17 00:00:00 2001 From: David Wells Date: Thu, 12 Jan 2017 10:23:53 -0500 Subject: [PATCH] Write 'is analogous to', not 'is analogy to'. --- include/deal.II/base/table.h | 7 ++++--- include/deal.II/lac/block_vector.h | 2 +- include/deal.II/lac/la_parallel_block_vector.h | 2 +- include/deal.II/lac/la_parallel_vector.h | 2 +- include/deal.II/lac/petsc_block_vector.h | 7 ++++--- include/deal.II/lac/petsc_parallel_block_vector.h | 2 +- include/deal.II/lac/petsc_vector_base.h | 8 ++++---- include/deal.II/lac/read_write_vector.h | 8 ++++---- include/deal.II/lac/trilinos_block_vector.h | 7 ++++--- include/deal.II/lac/trilinos_parallel_block_vector.h | 2 +- include/deal.II/lac/trilinos_vector_base.h | 8 ++++---- include/deal.II/lac/vector.h | 7 ++++--- 12 files changed, 33 insertions(+), 29 deletions(-) diff --git a/include/deal.II/base/table.h b/include/deal.II/base/table.h index 6ae774fa39..9d7f3c3f83 100644 --- a/include/deal.II/base/table.h +++ b/include/deal.II/base/table.h @@ -600,9 +600,10 @@ public: * swaps the pointers to the data of the two vectors and therefore does not * need to allocate temporary storage and move data around. * - * This function is analog to the the @p swap function of all C++ standard - * containers. Also, there is a global function swap(u,v) that - * simply calls u.swap(v), again in analogy to standard functions. + * This function is analogous to the the @p swap function of all C++ + * standard containers. Also, there is a global function swap(u,v) + * that simply calls u.swap(v), again in analogy to standard + * functions. */ void swap (TableBase &v); diff --git a/include/deal.II/lac/block_vector.h b/include/deal.II/lac/block_vector.h index 0186b56cef..b1d26c740c 100644 --- a/include/deal.II/lac/block_vector.h +++ b/include/deal.II/lac/block_vector.h @@ -312,7 +312,7 @@ public: * only swaps the pointers to the data of the two vectors and therefore does * not need to allocate temporary storage and move data around. * - * This function is analog to the the swap() function of all C++ standard + * This function is analogous to the the swap() function of all C++ standard * containers. Also, there is a global function swap(u,v) that simply calls * u.swap(v), again in analogy to standard functions. */ diff --git a/include/deal.II/lac/la_parallel_block_vector.h b/include/deal.II/lac/la_parallel_block_vector.h index bbfeae8134..1054399d25 100644 --- a/include/deal.II/lac/la_parallel_block_vector.h +++ b/include/deal.II/lac/la_parallel_block_vector.h @@ -391,7 +391,7 @@ namespace LinearAlgebra * the same number of blocks. If needed, the numbers of blocks should be * exchanged, too. * - * This function is analog to the the swap() function of all C++ + * This function is analogous to the the swap() function of all C++ * standard containers. Also, there is a global function swap(u,v) that * simply calls u.swap(v), again in analogy to standard * functions. diff --git a/include/deal.II/lac/la_parallel_vector.h b/include/deal.II/lac/la_parallel_vector.h index b73fd4ea7e..87c844a6df 100644 --- a/include/deal.II/lac/la_parallel_vector.h +++ b/include/deal.II/lac/la_parallel_vector.h @@ -319,7 +319,7 @@ namespace LinearAlgebra * only swaps the pointers to the data of the two vectors and therefore * does not need to allocate temporary storage and move data around. * - * This function is analog to the the @p swap function of all C++ + * This function is analogous to the the @p swap function of all C++ * standard containers. Also, there is a global function * swap(u,v) that simply calls u.swap(v), again in * analogy to standard functions. diff --git a/include/deal.II/lac/petsc_block_vector.h b/include/deal.II/lac/petsc_block_vector.h index c95b456cd1..a518c2d1b1 100644 --- a/include/deal.II/lac/petsc_block_vector.h +++ b/include/deal.II/lac/petsc_block_vector.h @@ -222,9 +222,10 @@ namespace PETScWrappers * same number of blocks. If needed, the numbers of blocks should be * exchanged, too. * - * This function is analog to the the swap() function of all C++ standard - * containers. Also, there is a global function swap(u,v) that simply - * calls u.swap(v), again in analogy to standard functions. + * This function is analogous to the the swap() function of all C++ + * standard containers. Also, there is a global function swap(u,v) that + * simply calls u.swap(v), again in analogy to standard + * functions. */ void swap (BlockVector &v); diff --git a/include/deal.II/lac/petsc_parallel_block_vector.h b/include/deal.II/lac/petsc_parallel_block_vector.h index 03e5940c33..485604ddb3 100644 --- a/include/deal.II/lac/petsc_parallel_block_vector.h +++ b/include/deal.II/lac/petsc_parallel_block_vector.h @@ -270,7 +270,7 @@ namespace PETScWrappers * the same number of blocks. If needed, the numbers of blocks should be * exchanged, too. * - * This function is analog to the the swap() function of all C++ + * This function is analogous to the the swap() function of all C++ * standard containers. Also, there is a global function swap(u,v) that * simply calls u.swap(v), again in analogy to standard * functions. diff --git a/include/deal.II/lac/petsc_vector_base.h b/include/deal.II/lac/petsc_vector_base.h index c33204eac2..af1e7cdbdd 100644 --- a/include/deal.II/lac/petsc_vector_base.h +++ b/include/deal.II/lac/petsc_vector_base.h @@ -724,10 +724,10 @@ namespace PETScWrappers * only swaps the pointers to the data of the two vectors and therefore * does not need to allocate temporary storage and move data around. * - * This function is analog to the the @p swap function of all C++ standard - * containers. Also, there is a global function swap(u,v) that - * simply calls u.swap(v), again in analogy to standard - * functions. + * This function is analogous to the the @p swap function of all C++ + * standard containers. Also, there is a global function + * swap(u,v) that simply calls u.swap(v), again in + * analogy to standard functions. */ void swap (VectorBase &v); diff --git a/include/deal.II/lac/read_write_vector.h b/include/deal.II/lac/read_write_vector.h index cade414d85..2e27be0fbb 100644 --- a/include/deal.II/lac/read_write_vector.h +++ b/include/deal.II/lac/read_write_vector.h @@ -234,10 +234,10 @@ namespace LinearAlgebra * only swaps the pointers to the data of the two vectors and therefore * does not need to allocate temporary storage and move data around. * - * This function is analog to the the @p swap function of all C++ standard - * containers. Also, there is a global function swap(u,v) that - * simply calls u.swap(v), again in analogy to standard - * functions. + * This function is analogous to the the @p swap function of all C++ + * standard containers. Also, there is a global function + * swap(u,v) that simply calls u.swap(v), again in + * analogy to standard functions. */ void swap (ReadWriteVector &v); diff --git a/include/deal.II/lac/trilinos_block_vector.h b/include/deal.II/lac/trilinos_block_vector.h index 965bb14751..7767f56b70 100644 --- a/include/deal.II/lac/trilinos_block_vector.h +++ b/include/deal.II/lac/trilinos_block_vector.h @@ -272,9 +272,10 @@ namespace TrilinosWrappers * same number of blocks. If needed, the numbers of blocks should be * exchanged, too. * - * This function is analog to the the swap() function of all C++ standard - * containers. Also, there is a global function swap(u,v) that simply - * calls u.swap(v), again in analogy to standard functions. + * This function is analogous to the the swap() function of all C++ + * standard containers. Also, there is a global function swap(u,v) that + * simply calls u.swap(v), again in analogy to standard + * functions. */ void swap (BlockVector &v); diff --git a/include/deal.II/lac/trilinos_parallel_block_vector.h b/include/deal.II/lac/trilinos_parallel_block_vector.h index 802bc75220..2a2279b808 100644 --- a/include/deal.II/lac/trilinos_parallel_block_vector.h +++ b/include/deal.II/lac/trilinos_parallel_block_vector.h @@ -320,7 +320,7 @@ namespace TrilinosWrappers * the same number of blocks. If needed, the numbers of blocks should be * exchanged, too. * - * This function is analog to the the swap() function of all C++ + * This function is analogous to the the swap() function of all C++ * standard containers. Also, there is a global function swap(u,v) that * simply calls u.swap(v), again in analogy to standard * functions. diff --git a/include/deal.II/lac/trilinos_vector_base.h b/include/deal.II/lac/trilinos_vector_base.h index a80876aa10..f97536ab6a 100644 --- a/include/deal.II/lac/trilinos_vector_base.h +++ b/include/deal.II/lac/trilinos_vector_base.h @@ -855,10 +855,10 @@ namespace TrilinosWrappers * does not need to allocate temporary storage and move data around. Note * that the vectors need to be of the same size and base on the same map. * - * This function is analog to the the @p swap function of all C standard - * containers. Also, there is a global function swap(u,v) that - * simply calls u.swap(v), again in analogy to standard - * functions. + * This function is analogous to the the @p swap function of all C++ + * standard containers. Also, there is a global function + * swap(u,v) that simply calls u.swap(v), again in + * analogy to standard functions. */ void swap (VectorBase &v); diff --git a/include/deal.II/lac/vector.h b/include/deal.II/lac/vector.h index c6af741f76..4fe755f243 100644 --- a/include/deal.II/lac/vector.h +++ b/include/deal.II/lac/vector.h @@ -333,9 +333,10 @@ public: * swaps the pointers to the data of the two vectors and therefore does not * need to allocate temporary storage and move data around. * - * This function is analog to the the @p swap function of all C++ standard - * containers. Also, there is a global function swap(u,v) that - * simply calls u.swap(v), again in analogy to standard functions. + * This function is analogous to the the @p swap function of all C++ + * standard containers. Also, there is a global function swap(u,v) + * that simply calls u.swap(v), again in analogy to standard + * functions. * * This function is virtual in order to allow for derived classes to handle * memory separately. -- 2.39.5