]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix initialize typo in GC functions 16085/head
authorLaura Prieto Saavedra <lauraprietosaavedra@gmail.com>
Tue, 3 Oct 2023 18:12:37 +0000 (14:12 -0400)
committerLaura Prieto Saavedra <lauraprietosaavedra@gmail.com>
Tue, 3 Oct 2023 18:12:37 +0000 (14:12 -0400)
include/deal.II/multigrid/mg_transfer_global_coarsening.h
include/deal.II/multigrid/mg_transfer_global_coarsening.templates.h

index ad77557f723f8cfcd7ba29d08d6e8216b97f967b..68521ff6b2ffeb2c1f31e1bb750b56fe686c35b7 100644 (file)
@@ -965,7 +965,7 @@ private:
  * sequence of functions calls for setup is:
  * @code
  * MGTransferGlobalCoarsening mg_transfer;
- * mg_transfer.intitialize_two_level_transfers(two_level_transfers);
+ * mg_transfer.initialize_two_level_transfers(two_level_transfers);
  * mg_transfer.build(partitioners);
  * @endcode
  *
@@ -1027,7 +1027,7 @@ public:
    */
   template <typename MGTwoLevelTransferObject>
   void
-  intitialize_two_level_transfers(
+  initialize_two_level_transfers(
     const MGLevelObject<MGTwoLevelTransferObject> &transfer);
 
   /**
@@ -1221,7 +1221,7 @@ private:
    * @note See also MGTransferMatrixFree.
    */
   void
-  intitialize_internal_transfer(
+  initialize_internal_transfer(
     const DoFHandler<dim>                       &dof_handler,
     const SmartPointer<const MGConstrainedDoFs> &mg_constrained_dofs);
 
@@ -1230,7 +1230,7 @@ private:
    */
   template <typename MGTwoLevelTransferObject>
   void
-  intitialize_transfer_references(
+  initialize_transfer_references(
     const MGLevelObject<MGTwoLevelTransferObject> &transfer);
 
   /**
@@ -1374,7 +1374,7 @@ MGTransferMF<dim, Number>::MGTransferMF(
   const std::function<void(const unsigned int, VectorType &)>
     &initialize_dof_vector)
 {
-  this->intitialize_transfer_references(transfer);
+  this->initialize_transfer_references(transfer);
   this->build(initialize_dof_vector);
 }
 
@@ -1383,10 +1383,10 @@ MGTransferMF<dim, Number>::MGTransferMF(
 template <int dim, typename Number>
 template <typename MGTwoLevelTransferObject>
 void
-MGTransferMF<dim, Number>::intitialize_two_level_transfers(
+MGTransferMF<dim, Number>::initialize_two_level_transfers(
   const MGLevelObject<MGTwoLevelTransferObject> &transfer)
 {
-  this->intitialize_transfer_references(transfer);
+  this->initialize_transfer_references(transfer);
 }
 
 
@@ -1394,7 +1394,7 @@ MGTransferMF<dim, Number>::intitialize_two_level_transfers(
 template <int dim, typename Number>
 template <typename MGTwoLevelTransferObject>
 void
-MGTransferMF<dim, Number>::intitialize_transfer_references(
+MGTransferMF<dim, Number>::initialize_transfer_references(
   const MGLevelObject<MGTwoLevelTransferObject> &transfer)
 {
   const unsigned int min_level = transfer.min_level();
index 3ef497cec040a0322c58f41c629935782d66ee7b..903f620d4b70384900abb81dee30ba40a8feea2d 100644 (file)
@@ -4072,7 +4072,7 @@ MGTransferMF<dim, Number>::initialize_constraints(
 
 template <int dim, typename Number>
 void
-MGTransferMF<dim, Number>::intitialize_internal_transfer(
+MGTransferMF<dim, Number>::initialize_internal_transfer(
   const DoFHandler<dim>                       &dof_handler,
   const SmartPointer<const MGConstrainedDoFs> &mg_constrained_dofs)
 {
@@ -4183,8 +4183,8 @@ MGTransferMF<dim, Number>::build(
   const std::vector<std::shared_ptr<const Utilities::MPI::Partitioner>>
     &external_partitioners)
 {
-  this->intitialize_internal_transfer(dof_handler, this->mg_constrained_dofs);
-  this->intitialize_transfer_references(internal_transfer);
+  this->initialize_internal_transfer(dof_handler, this->mg_constrained_dofs);
+  this->initialize_transfer_references(internal_transfer);
   this->build(external_partitioners);
   this->fill_and_communicate_copy_indices(dof_handler);
 }
@@ -4198,8 +4198,8 @@ MGTransferMF<dim, Number>::build(
   const std::function<void(const unsigned int, VectorType &)>
     &initialize_dof_vector)
 {
-  this->intitialize_internal_transfer(dof_handler, this->mg_constrained_dofs);
-  this->intitialize_transfer_references(internal_transfer);
+  this->initialize_internal_transfer(dof_handler, this->mg_constrained_dofs);
+  this->initialize_transfer_references(internal_transfer);
   this->build(initialize_dof_vector);
   this->fill_and_communicate_copy_indices(dof_handler);
 }

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.