]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add pieces of true experience to the documentation.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 1 Apr 2004 16:26:47 +0000 (16:26 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Thu, 1 Apr 2004 16:26:47 +0000 (16:26 +0000)
git-svn-id: https://svn.dealii.org/trunk@8945 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/petsc_solver.h

index f0ebc9999dffa3554fab7bbb7f338739213b9df9..ad0a56eed3f90b6d3c0993b5b31e99b40e2f0a7c 100644 (file)
@@ -47,6 +47,14 @@ namespace PETScWrappers
                                         * control object and the MPI
                                         * communicator over which parallel
                                         * computations are to happen.
+                                        *
+                                        * Note that the communicator used here
+                                        * must match the communicator used in
+                                        * the system matrix, solution, and
+                                        * right hand side object of the solve
+                                        * to be done with this
+                                        * solver. Otherwise, PETSc will
+                                        * generate hard to track down errors.
                                         */
       SolverBase (SolverControl &cn,
                   MPI_Comm      &mpi_communicator);
@@ -185,6 +193,14 @@ namespace PETScWrappers
                                         * call in this default argument
                                         * because otherwise gcc 2.95 generates
                                         * a compiler fault.
+                                        *
+                                        * Note that the communicator used here
+                                        * must match the communicator used in
+                                        * the system matrix, solution, and
+                                        * right hand side object of the solve
+                                        * to be done with this
+                                        * solver. Otherwise, PETSc will
+                                        * generate hard to track down errors.
                                         */
       SolverRichardson (SolverControl        &cn,
                         MPI_Comm             &mpi_communicator = PETSC_COMM_SELF,
@@ -242,6 +258,14 @@ namespace PETScWrappers
                                         * The last argument takes a structure
                                         * with additional, solver dependent
                                         * flags for tuning.
+                                        *
+                                        * Note that the communicator used here
+                                        * must match the communicator used in
+                                        * the system matrix, solution, and
+                                        * right hand side object of the solve
+                                        * to be done with this
+                                        * solver. Otherwise, PETSc will
+                                        * generate hard to track down errors.
                                         */
       SolverChebychev (SolverControl        &cn,
                        MPI_Comm             &mpi_communicator = PETSC_COMM_SELF,
@@ -299,6 +323,14 @@ namespace PETScWrappers
                                         * The last argument takes a structure
                                         * with additional, solver dependent
                                         * flags for tuning.
+                                        *
+                                        * Note that the communicator used here
+                                        * must match the communicator used in
+                                        * the system matrix, solution, and
+                                        * right hand side object of the solve
+                                        * to be done with this
+                                        * solver. Otherwise, PETSc will
+                                        * generate hard to track down errors.
                                         */
       SolverCG (SolverControl        &cn,
                 MPI_Comm             &mpi_communicator = PETSC_COMM_SELF,
@@ -356,6 +388,14 @@ namespace PETScWrappers
                                         * The last argument takes a structure
                                         * with additional, solver dependent
                                         * flags for tuning.
+                                        *
+                                        * Note that the communicator used here
+                                        * must match the communicator used in
+                                        * the system matrix, solution, and
+                                        * right hand side object of the solve
+                                        * to be done with this
+                                        * solver. Otherwise, PETSc will
+                                        * generate hard to track down errors.
                                         */
       SolverBiCG (SolverControl        &cn,
                   MPI_Comm             &mpi_communicator = PETSC_COMM_SELF,
@@ -431,6 +471,14 @@ namespace PETScWrappers
                                         * call in this default argument
                                         * because otherwise gcc 2.95 generates
                                         * a compiler fault.
+                                        *
+                                        * Note that the communicator used here
+                                        * must match the communicator used in
+                                        * the system matrix, solution, and
+                                        * right hand side object of the solve
+                                        * to be done with this
+                                        * solver. Otherwise, PETSc will
+                                        * generate hard to track down errors.
                                         */
       SolverGMRES (SolverControl        &cn,
                    MPI_Comm             &mpi_communicator = PETSC_COMM_SELF,
@@ -488,6 +536,14 @@ namespace PETScWrappers
                                         * The last argument takes a structure
                                         * with additional, solver dependent
                                         * flags for tuning.
+                                        *
+                                        * Note that the communicator used here
+                                        * must match the communicator used in
+                                        * the system matrix, solution, and
+                                        * right hand side object of the solve
+                                        * to be done with this
+                                        * solver. Otherwise, PETSc will
+                                        * generate hard to track down errors.
                                         */
       SolverBicgstab (SolverControl        &cn,
                       MPI_Comm             &mpi_communicator = PETSC_COMM_SELF,
@@ -545,6 +601,14 @@ namespace PETScWrappers
                                         * The last argument takes a structure
                                         * with additional, solver dependent
                                         * flags for tuning.
+                                        *
+                                        * Note that the communicator used here
+                                        * must match the communicator used in
+                                        * the system matrix, solution, and
+                                        * right hand side object of the solve
+                                        * to be done with this
+                                        * solver. Otherwise, PETSc will
+                                        * generate hard to track down errors.
                                         */
       SolverCGS (SolverControl        &cn,
                  MPI_Comm             &mpi_communicator = PETSC_COMM_SELF,
@@ -602,6 +666,14 @@ namespace PETScWrappers
                                         * The last argument takes a structure
                                         * with additional, solver dependent
                                         * flags for tuning.
+                                        *
+                                        * Note that the communicator used here
+                                        * must match the communicator used in
+                                        * the system matrix, solution, and
+                                        * right hand side object of the solve
+                                        * to be done with this
+                                        * solver. Otherwise, PETSc will
+                                        * generate hard to track down errors.
                                         */
       SolverTFQMR (SolverControl        &cn,
                    MPI_Comm             &mpi_communicator = PETSC_COMM_SELF,
@@ -664,6 +736,14 @@ namespace PETScWrappers
                                         * The last argument takes a structure
                                         * with additional, solver dependent
                                         * flags for tuning.
+                                        *
+                                        * Note that the communicator used here
+                                        * must match the communicator used in
+                                        * the system matrix, solution, and
+                                        * right hand side object of the solve
+                                        * to be done with this
+                                        * solver. Otherwise, PETSc will
+                                        * generate hard to track down errors.
                                         */
       SolverTCQMR (SolverControl        &cn,
                    MPI_Comm             &mpi_communicator = PETSC_COMM_SELF,
@@ -721,6 +801,14 @@ namespace PETScWrappers
                                         * The last argument takes a structure
                                         * with additional, solver dependent
                                         * flags for tuning.
+                                        *
+                                        * Note that the communicator used here
+                                        * must match the communicator used in
+                                        * the system matrix, solution, and
+                                        * right hand side object of the solve
+                                        * to be done with this
+                                        * solver. Otherwise, PETSc will
+                                        * generate hard to track down errors.
                                         */
       SolverCR (SolverControl        &cn,
                 MPI_Comm             &mpi_communicator = PETSC_COMM_SELF,
@@ -778,6 +866,14 @@ namespace PETScWrappers
                                         * The last argument takes a structure
                                         * with additional, solver dependent
                                         * flags for tuning.
+                                        *
+                                        * Note that the communicator used here
+                                        * must match the communicator used in
+                                        * the system matrix, solution, and
+                                        * right hand side object of the solve
+                                        * to be done with this
+                                        * solver. Otherwise, PETSc will
+                                        * generate hard to track down errors.
                                         */
       SolverLSQR (SolverControl        &cn,
                   MPI_Comm             &mpi_communicator = PETSC_COMM_SELF,

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.