]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix compilation without MPI
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Thu, 28 Apr 2016 07:07:45 +0000 (09:07 +0200)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Thu, 28 Apr 2016 07:07:45 +0000 (09:07 +0200)
include/deal.II/lac/read_write_vector.h
include/deal.II/lac/read_write_vector.templates.h

index 39b4d25a1f3824590f12c09041c5eac77295605b..695f380400e62780a9e89fe7a940ae8a24887219 100644 (file)
@@ -476,7 +476,7 @@ namespace LinearAlgebra
      */
     void resize_val (const size_type new_allocated_size);
 
-#ifdef DEAL_II_WITH_TRILINOS
+#if defined(DEAL_II_WITH_TRILINOS) && defined(DEAL_II_WITH_MPI)
     /**
      * Return a EpetraWrappers::Communication pattern and store it for future
      * use.
index 28ce43d8d6bbab9fbdab4e71f715eb3f22180af7..6e6e12461086223ebdcb42173856ba704a3fff9c 100644 (file)
@@ -173,7 +173,7 @@ namespace LinearAlgebra
 
 
 
-#ifdef DEAL_II_WITH_TRILINOS
+#if defined(DEAL_II_WITH_TRILINOS) && defined(DEAL_II_WITH_MPI)
   template <typename Number>
   void
   ReadWriteVector<Number>::import(const Epetra_MultiVector        &multivector,
@@ -315,7 +315,7 @@ namespace LinearAlgebra
 
 
 
-#ifdef DEAL_II_WITH_TRILINOS
+#if defined(DEAL_II_WITH_TRILINOS) && defined(DEAL_II_WITH_MPI)
   template <typename Number>
   EpetraWrappers::CommunicationPattern
   ReadWriteVector<Number>::create_epetra_comm_pattern(const IndexSet &source_index_set,

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.