]> https://gitweb.dealii.org/ - dealii.git/commitdiff
REAL_SERIAL_VECTORS and SERIAL_VECTORS are not the same. 4398/head
authorDenis Davydov <davydden@gmail.com>
Tue, 16 May 2017 09:41:05 +0000 (11:41 +0200)
committerDenis Davydov <davydden@gmail.com>
Tue, 16 May 2017 13:00:45 +0000 (15:00 +0200)
The former contains only real-valued vectors, i.e.
DEAL_II_EXPAND_PETSC_MPI_VECTOR_REAL will be empty if
PETSc is build with complex linear algebra.

cmake/config/template-arguments.in

index 7db400bd5de505ed8797172be788d3f9d6209626..13120b1fcec9a5ce651c9b912f44e8a480a648a2 100644 (file)
@@ -54,7 +54,7 @@ SERIAL_VECTORS := { Vector<double>;
                     @DEAL_II_EXPAND_PETSC_MPI_BLOCKVECTOR@;
                   }
 
-// TODO: why is this the same as SERIAL_VECTORS?
+// same as SERIAL_VECTORS but only with real-valued PETSc vectors
 REAL_SERIAL_VECTORS := { Vector<double>;
                     Vector<float> ;
 
@@ -96,12 +96,12 @@ REAL_NONBLOCK_VECTORS := { Vector<double>;
                     @DEAL_II_EXPAND_PETSC_MPI_VECTOR_REAL@;
                   }
 
-// wrappers for non-MPI vectors (PETSc/Trilinos) 
+// wrappers for non-MPI vectors (PETSc/Trilinos)
 EXTERNAL_SEQUENTIAL_VECTORS := { @DEAL_II_EXPAND_TRILINOS_VECTOR@;
                                  @DEAL_II_EXPAND_TRILINOS_BLOCKVECTOR@;
                                }
 
-// wrappers for MPI vectors (PETSc/Trilinos) 
+// wrappers for MPI vectors (PETSc/Trilinos)
 EXTERNAL_PARALLEL_VECTORS := { @DEAL_II_EXPAND_TRILINOS_MPI_VECTOR@;
                                @DEAL_II_EXPAND_TRILINOS_MPI_BLOCKVECTOR@;
                                @DEAL_II_EXPAND_EPETRA_VECTOR@;

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.