]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use 'destroyed' instead of 'destructed'. 4931/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 22 Aug 2017 15:50:06 +0000 (09:50 -0600)
committerWolfgang Bangerth <bangerth@colostate.edu>
Tue, 22 Aug 2017 15:50:06 +0000 (09:50 -0600)
examples/step-13/step-13.cc
include/deal.II/base/thread_management.h
include/deal.II/lac/petsc_vector_base.h
tests/bits/joa_1.cc

index f2f07d3d9d92b48eb3eea56423f556013c9947a7..fdbd9ffafee514e2d1e58428336ef95eb8d23a05 100644 (file)
@@ -497,7 +497,7 @@ namespace Step13
     // which uses a counter in the triangulation class to denote the fact that
     // there is still an object out there using this triangulation, thus
     // leading to an abort in case the triangulation is attempted to be
-    // destructed while this object still uses it.
+    // destroyed while this object still uses it.
     //
     // Note that while the pointer itself is declared constant
     // (i.e. throughout the lifetime of this object, the pointer points to the
index d22862debcfcad42a3ed85788c5c063b5390a825..778c0411b78331523880c79e3179f05fe4b7d562 100644 (file)
@@ -1004,7 +1004,7 @@ namespace Threads
      * While we have only one of these objects per thread, several
      * Threads::Thread objects may refer to this descriptor. If all Thread
      * objects go out of scope the ThreadDescriptor will detach from the
-     * thread before being destructed.
+     * thread before being destroyed.
      */
     template <typename RT>
     struct ThreadDescriptor
index 2158da9ea66b20d1c9b1fa7f56d69886cc1cf922..d3103585e5084c0d2b94d16594bb075cb431043f 100644 (file)
@@ -740,7 +740,7 @@ namespace PETScWrappers
 
     /**
      * Specifies if the vector is the owner of the PETSc Vec. This is true if
-     * it got created by this class and determines if it gets destructed in
+     * it got created by this class and determines if it gets destroyed in
      * the destructor.
      */
     bool obtained_ownership;
index f923afc7eec94c78eee53f757262c66ef5bd58a6..d7df30f75f5668a628d673659a5b3cee983d0d39 100644 (file)
@@ -299,7 +299,7 @@ LaplaceProblem<dim>::LaplaceProblem () :
 // is wrong, namely that some other
 // object is still using the object
 // that is presently being
-// destructed, but most of the time
+// destroyed, but most of the time
 // not who this user is. It is
 // therefore often rather
 // time-consuming to find out where
@@ -325,17 +325,17 @@ LaplaceProblem<dim>::LaplaceProblem () :
 // above. The reason is that member
 // variables of the
 // <code>LaplaceProblem</code> class are
-// destructed bottom-up (i.e. in
+// destroyed bottom-up (i.e. in
 // reverse order of their declaration
 // in the class), as always in
 // C++. Thus, the finite element
-// object will be destructed before
+// object will be destroyed before
 // the DoF handler object, since its
 // declaration is below the one of
 // the DoF handler. This triggers the
 // situation above, and an exception
 // will be raised when the <code>fe</code>
-// object is destructed. What needs
+// object is destroyed. What needs
 // to be done is to tell the
 // <code>dof_handler</code> object to release
 // its lock to the finite element. Of

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.