From 8cc0f1c581b8e7632d2c08a19d2ecc209777c616 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 30 Apr 2024 21:42:13 +0530 Subject: [PATCH] Use neutral language. --- include/deal.II/base/symmetric_tensor.h | 2 +- include/deal.II/base/tensor.h | 4 ++-- include/deal.II/distributed/tria.h | 2 +- include/deal.II/grid/persistent_tria.h | 2 +- include/deal.II/grid/tria.h | 2 +- include/deal.II/lac/matrix_out.h | 3 +-- include/deal.II/numerics/data_out_dof_data.h | 2 +- source/numerics/time_dependent.cc | 2 +- 8 files changed, 9 insertions(+), 10 deletions(-) diff --git a/include/deal.II/base/symmetric_tensor.h b/include/deal.II/base/symmetric_tensor.h index 5ea306d81e..8fe43abc0f 100644 --- a/include/deal.II/base/symmetric_tensor.h +++ b/include/deal.II/base/symmetric_tensor.h @@ -1094,7 +1094,7 @@ public: * clear() member functions of the standard library containers and of * several other classes within deal.II, which not only reset the values of * stored elements to zero, but release all memory and return the object - * into a virginial state. However, since the size of objects of the present + * into an empty state. However, since the size of objects of the present * type is determined by its template parameters, resizing is not an option, * and indeed the state where all elements have a zero value is the state * right after construction of such an object. diff --git a/include/deal.II/base/tensor.h b/include/deal.II/base/tensor.h index f9cfcda3a6..18fa4a98b2 100644 --- a/include/deal.II/base/tensor.h +++ b/include/deal.II/base/tensor.h @@ -329,7 +329,7 @@ public: * clear() member functions of the standard library containers and of * several other classes within deal.II, which not only reset the values of * stored elements to zero, but release all memory and return the object - * into a virginial state. However, since the size of objects of the present + * into an empty state. However, since the size of objects of the present * type is determined by its template parameters, resizing is not an option, * and indeed the state where all elements have a zero value is the state * right after construction of such an object. @@ -762,7 +762,7 @@ public: * clear() member functions of the standard library containers and of * several other classes within deal.II, which not only reset the values of * stored elements to zero, but release all memory and return the object - * into a virginial state. However, since the size of objects of the present + * into an empty state. However, since the size of objects of the present * type is determined by its template parameters, resizing is not an option, * and indeed the state where all elements have a zero value is the state * right after construction of such an object. diff --git a/include/deal.II/distributed/tria.h b/include/deal.II/distributed/tria.h index b0ba2bb4df..fd9e5c5825 100644 --- a/include/deal.II/distributed/tria.h +++ b/include/deal.II/distributed/tria.h @@ -374,7 +374,7 @@ namespace parallel virtual ~Triangulation() override; /** - * Reset this triangulation into a virgin state by deleting all data. + * Reset this triangulation into an empty state by deleting all data. * * Note that this operation is only allowed if no subscriptions to this * object exist any more, such as DoFHandler objects using it. diff --git a/include/deal.II/grid/persistent_tria.h b/include/deal.II/grid/persistent_tria.h index 0f49f559c6..4453df8faf 100644 --- a/include/deal.II/grid/persistent_tria.h +++ b/include/deal.II/grid/persistent_tria.h @@ -96,7 +96,7 @@ DEAL_II_NAMESPACE_OPEN * a triangulation; it only becomes one after @p restore is first called. Note * also that the @p execute_coarsening_and_refinement stores all necessary * flags for later reconstruction using the @p restore function. - * Triangulation::clear() resets the underlying triangulation to a virgin + * Triangulation::clear() resets the underlying triangulation to an empty * state, but does not affect the stored refinement flags needed for later * reconstruction and does also not touch the coarse grid which is used within * restore(). diff --git a/include/deal.II/grid/tria.h b/include/deal.II/grid/tria.h index 9f5165b75a..1445fdcbf0 100644 --- a/include/deal.II/grid/tria.h +++ b/include/deal.II/grid/tria.h @@ -1795,7 +1795,7 @@ public: virtual ~Triangulation() override; /** - * Reset this triangulation into a virgin state by deleting all data. + * Reset this triangulation into an empty state by deleting all data. * * Note that this operation is only allowed if no subscriptions to this * object exist any more, such as DoFHandler objects using it. diff --git a/include/deal.II/lac/matrix_out.h b/include/deal.II/lac/matrix_out.h index 524fa104cb..cbcb8c6323 100644 --- a/include/deal.II/lac/matrix_out.h +++ b/include/deal.II/lac/matrix_out.h @@ -338,8 +338,7 @@ MatrixOut::build_patches(const Matrix &matrix, --gridpoints_y; } - // first clear old data and set it - // to virgin state + // first clear old data and re-set the object to a correctly sized state: patches.clear(); patches.resize((gridpoints_x) * (gridpoints_y)); diff --git a/include/deal.II/numerics/data_out_dof_data.h b/include/deal.II/numerics/data_out_dof_data.h index f89131e5dd..12e273f487 100644 --- a/include/deal.II/numerics/data_out_dof_data.h +++ b/include/deal.II/numerics/data_out_dof_data.h @@ -931,7 +931,7 @@ public: * Release the pointers to the data vectors and the DoF handler. You have to * set all data entries again using the add_data_vector() function. The * pointer to the dof handler is cleared as well, along with all other data. - * In effect, this function resets everything to a virgin state. + * In effect, this function resets everything to an empty state. */ virtual void clear(); diff --git a/source/numerics/time_dependent.cc b/source/numerics/time_dependent.cc index 93132fbe1d..89b0a8652f 100644 --- a/source/numerics/time_dependent.cc +++ b/source/numerics/time_dependent.cc @@ -520,7 +520,7 @@ TimeStepBase_Tria::restore_grid() Assert(tria == nullptr, ExcGridNotDeleted()); Assert(refine_flags.size() == coarsen_flags.size(), ExcInternalError()); - // create a virgin triangulation and + // create an empty triangulation and // set it to a copy of the coarse grid tria = new Triangulation(); tria->copy_triangulation(*coarse_grid); -- 2.39.5