]> https://gitweb.dealii.org/ - dealii.git/commitdiff
rename initialise() to initialize() and remove an empty line
authorDenis Davydov <davydden@gmail.com>
Tue, 29 Dec 2015 09:44:19 +0000 (10:44 +0100)
committerDenis Davydov <davydden@gmail.com>
Tue, 29 Dec 2015 09:44:19 +0000 (10:44 +0100)
include/deal.II/lac/petsc_precondition.h
include/deal.II/lac/petsc_solver.h
source/lac/petsc_solver.cc
tests/slepc/step-36_parallel.cc

index 48008b4fcdbed2e005bc1232eb4d7f57b3f530f5..74da30a33816f411ea59e2fb8beb84194da57faf 100644 (file)
@@ -152,7 +152,6 @@ namespace PETScWrappers
     PreconditionJacobi (const MPI_Comm communicator,
                         const AdditionalData &additional_data = AdditionalData());
 
-
     /**
      * Initializes the preconditioner object and calculate all data that is
      * necessary for applying it in a solver. This function is automatically
index 55a18791e3229b685d7c5419aa34f928baf0baa7..89e7914ff911294ca9c3d52b74aced33f772a6c1 100644 (file)
@@ -157,10 +157,10 @@ namespace PETScWrappers
     SolverControl &control() const;
 
     /**
-     * Initialise the solver with the preconditioner.
+     * initialize the solver with the preconditioner.
      * This function is intended for use with SLEPc spectral transformation class.
      */
-    void initialise(const PreconditionerBase &preconditioner);
+    void initialize(const PreconditionerBase &preconditioner);
 
     /**
      * Exception
index 4e702f4bce29a8b61221f7728e09392bac74f756..bd8c986476541e1f5e6a4c9dabc1ce01d6f0269f 100644 (file)
@@ -206,7 +206,7 @@ namespace PETScWrappers
   }
 
   void
-  SolverBase::initialise(const PreconditionerBase &preconditioner)
+  SolverBase::initialize(const PreconditionerBase &preconditioner)
   {
     int ierr;
 
index 64cffb4854c51b13f838ba6f5f7972c5501874bc..a675833b29138a607b14b6a6cb9e5ca9c5911ba8 100644 (file)
@@ -114,7 +114,7 @@ void test (std::string solver_name,
    mpi_communicator,
    locally_relevant_dofs);
 
-  // Initialise the stiffness and mass matrices
+  // initialize the stiffness and mass matrices
   stiffness_matrix.reinit (locally_owned_dofs,
                            locally_owned_dofs,
                            csp,
@@ -222,7 +222,7 @@ void test (std::string solver_name,
 
     dealii::SolverControl linear_solver_control (dof_handler.n_dofs(), 1e-12,/*log_history*/false,/*log_results*/false);
     PETScWrappers::SolverCG  linear_solver(linear_solver_control,mpi_communicator);
-    linear_solver.initialise(*preconditioner);
+    linear_solver.initialize(*preconditioner);
 
     for (unsigned int i=0; i < eigenvalues.size(); i++)
       eigenfunctions[i] = PetscScalar();

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.