]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Forward declare two explicit specializations. 4004/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Fri, 24 Feb 2017 19:44:12 +0000 (12:44 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Fri, 24 Feb 2017 19:44:12 +0000 (12:44 -0700)
include/deal.II/lac/trilinos_solver.h

index 71c765d288ce58cc717ec7269317ce4a38d81fbb..7f89c783b87d42e1d96395740b2b8ea65e3b3453 100644 (file)
@@ -339,10 +339,21 @@ namespace TrilinosWrappers
      * Store a copy of the flags for this particular solver.
      */
     const AdditionalData additional_data;
-
   };
 
 
+  // provide a declaration for two explicit specializations
+  template <>
+  void
+  SolverBase::set_preconditioner(AztecOO                &solver,
+                                 const PreconditionBase &preconditioner);
+
+  template <>
+  void
+  SolverBase::set_preconditioner(AztecOO               &solver,
+                                 const Epetra_Operator &preconditioner);
+
+
 
   /**
    * An implementation of the solver interface using the Trilinos CG solver.

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.