]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Also instantiate for complex scalar types
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Fri, 22 Feb 2019 14:36:31 +0000 (15:36 +0100)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Thu, 28 Feb 2019 23:56:52 +0000 (00:56 +0100)
cmake/config/template-arguments.in
cmake/configure/configure_2_trilinos.cmake

index 8a58e905961b18e2fbc7eeb27da242cfade5fc20..2e1a69bd7618ac2cbc92ea5418517ab04313a4a0 100644 (file)
@@ -97,6 +97,8 @@ VECTOR_TYPES := {   Vector<double>;
                     @DEAL_II_EXPAND_EPETRA_VECTOR@;
                     @DEAL_II_EXPAND_TPETRA_VECTOR_DOUBLE@;
                     @DEAL_II_EXPAND_TPETRA_VECTOR_FLOAT@;
+                    @DEAL_II_EXPAND_TPETRA_VECTOR_COMPLEX_DOUBLE@;
+                    @DEAL_II_EXPAND_TPETRA_VECTOR_COMPLEX_FLOAT@;
                     @DEAL_II_EXPAND_PETSC_MPI_VECTOR@;
 
                     @DEAL_II_EXPAND_TRILINOS_MPI_BLOCKVECTOR@;
@@ -153,6 +155,8 @@ EXTERNAL_PARALLEL_VECTORS := { @DEAL_II_EXPAND_TRILINOS_MPI_VECTOR@;
                                @DEAL_II_EXPAND_EPETRA_VECTOR@;
                                @DEAL_II_EXPAND_TPETRA_VECTOR_DOUBLE@;
                                @DEAL_II_EXPAND_TPETRA_VECTOR_FLOAT@;
+                               @DEAL_II_EXPAND_TPETRA_VECTOR_COMPLEX_DOUBLE@;
+                               @DEAL_II_EXPAND_TPETRA_VECTOR_COMPLEX_FLOAT@;
                                @DEAL_II_EXPAND_PETSC_MPI_VECTOR@;
                                @DEAL_II_EXPAND_PETSC_MPI_BLOCKVECTOR@
                              }
@@ -173,6 +177,8 @@ VECTORS_WITH_MATRIX := { Vector<double>;
                          @DEAL_II_EXPAND_EPETRA_VECTOR@;
                          @DEAL_II_EXPAND_TPETRA_VECTOR_DOUBLE@;
                          @DEAL_II_EXPAND_TPETRA_VECTOR_FLOAT@;
+                         @DEAL_II_EXPAND_TPETRA_VECTOR_COMPLEX_DOUBLE@;
+                         @DEAL_II_EXPAND_TPETRA_VECTOR_COMPLEX_FLOAT@;
                          @DEAL_II_EXPAND_PETSC_MPI_VECTOR@;
                        }
 
index 187fed9071705bafcca99d36ec908dab67a843da..7a1f32cc5cc012c37d083361e3f608e2b419514c 100644 (file)
@@ -273,6 +273,10 @@ MACRO(FEATURE_TRILINOS_CONFIGURE_EXTERNAL)
     IF (${DEAL_II_TRILINOS_WITH_TPETRA})
       SET(DEAL_II_EXPAND_TPETRA_VECTOR_DOUBLE "LinearAlgebra::TpetraWrappers::Vector<double>")
       SET(DEAL_II_EXPAND_TPETRA_VECTOR_FLOAT "LinearAlgebra::TpetraWrappers::Vector<float>")
+      IF (${DEAL_II_WITH_COMPLEX_NUMBERS})
+        SET(DEAL_II_EXPAND_TPETRA_VECTOR_COMPLEX_DOUBLE "LinearAlgebra::TpetraWrappers::Vector<std::complex<double>>")
+        SET(DEAL_II_EXPAND_TPETRA_VECTOR_COMPLEX_FLOAT "LinearAlgebra::TpetraWrappers::Vector<std::complex<float>>")
+      ENDIF()
     ENDIF()
   ENDIF()
   IF(${DEAL_II_TRILINOS_WITH_SACADO})

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.