]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
remove Asserts() in PETSc solvers for now
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 1 Feb 2013 16:45:07 +0000 (16:45 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 1 Feb 2013 16:45:07 +0000 (16:45 +0000)
git-svn-id: https://svn.dealii.org/trunk@28210 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/source/lac/petsc_solver.cc

index 8a8dc50073990c091b37916c5bf51bb88415805c..8843670dd1c673539e530ec8c2343c90a23b809b 100644 (file)
@@ -64,9 +64,12 @@ namespace PETScWrappers
   {
     int ierr;
 
+                                    /*
+                                      TODO: PETSc dublicates communicators, so this does not work (you put MPI_COMM_SELF in, but get something other out when you ask PETSc for the communicator. This mainly fails due to the MatrixFree classes, that can not ask PETSc for a communicator. //Timo Heister
     Assert(A.get_mpi_communicator()==mpi_communicator, ExcMessage("PETSc Solver and Matrix need to use the same MPI_Comm."));
     Assert(x.get_mpi_communicator()==mpi_communicator, ExcMessage("PETSc Solver and Vector need to use the same MPI_Comm."));
     Assert(b.get_mpi_communicator()==mpi_communicator, ExcMessage("PETSc Solver and Vector need to use the same MPI_Comm."));
+                                    */
 
     // first create a solver object if this
     // is necessary

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.