]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add include files and restrict complex values
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Mon, 28 Jan 2019 17:09:41 +0000 (18:09 +0100)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Wed, 20 Feb 2019 12:46:19 +0000 (13:46 +0100)
include/deal.II/base/utilities.h
source/lac/trilinos_tpetra_vector.cc

index dc7414587e540b18a66554067f81aad2b5c3c926..ed8724b162114ea5ea6df5e6e900ecc0026bc9f9 100644 (file)
@@ -30,6 +30,8 @@
 #ifdef DEAL_II_WITH_TRILINOS
 #  include <Epetra_Comm.h>
 #  include <Epetra_Map.h>
+#  include <Teuchos_RCP.hpp>
+#  include <Teuchos_Comm.hpp>
 #  ifdef DEAL_II_WITH_MPI
 #    include <Epetra_MpiComm.h>
 #  else
index f4e368669728c7ba1e44ccb3469b903009b1c0dc..8f20b06828178833ab66fb551c6db9f6cef0f7f4 100644 (file)
@@ -672,8 +672,10 @@ namespace LinearAlgebra
 
     template class Vector<float>;
     template class Vector<double>;
+#ifdef DEAL_II_WITH_COMPLEX_VALUES
     template class Vector<std::complex<float>>;
     template class Vector<std::complex<double>>;
+#endif
   } // namespace TpetraWrappers
 } // namespace LinearAlgebra
 

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.