From: Denis Davydov Date: Tue, 16 May 2017 09:41:05 +0000 (+0200) Subject: REAL_SERIAL_VECTORS and SERIAL_VECTORS are not the same. X-Git-Tag: v9.0.0-rc1~1586^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ee75442d06b80017d58a818fb377cc89a024ed39;p=dealii.git REAL_SERIAL_VECTORS and SERIAL_VECTORS are not the same. 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. --- diff --git a/cmake/config/template-arguments.in b/cmake/config/template-arguments.in index 7db400bd5d..13120b1fce 100644 --- a/cmake/config/template-arguments.in +++ b/cmake/config/template-arguments.in @@ -54,7 +54,7 @@ SERIAL_VECTORS := { Vector; @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; Vector ; @@ -96,12 +96,12 @@ REAL_NONBLOCK_VECTORS := { Vector; @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@;