]> https://gitweb.dealii.org/ - dealii.git/commitdiff
made argument of set_matrix_mode const. 205/head
authorDenis Davydov <davydden@gmail.com>
Mon, 27 Oct 2014 13:02:19 +0000 (14:02 +0100)
committerDenis Davydov <davydden@gmail.com>
Mon, 27 Oct 2014 13:02:19 +0000 (14:02 +0100)
Added a reference to SLEPc with possible values.

include/deal.II/lac/slepc_spectral_transformation.h
source/lac/slepc_spectral_transformation.cc

index 27c47b97f6f62fb0124abbde8a9309e51d6adb92..848b6481235ab6f2564105d13186c98e45c83de8 100644 (file)
@@ -86,8 +86,12 @@ namespace SLEPcWrappers
      * Set a flag to indicate how the
      * transformed matrices are being stored in
      * the spectral transformations.
+     *
+     * The possible values are given by the
+     * enumerator STMatMode in the SLEPc library
+     * http://www.grycap.upv.es/slepc/documentation/current/docs/manualpages/ST/STMatMode.html
      */
-    void set_matrix_mode(STMatMode mode);
+    void set_matrix_mode(const STMatMode mode);
 
   protected:
 
index 35bb7b8558fb79b1d15b8e2d08c3fb8012f109a5..e01696234b28d6c2853fa86a08eba93e77bc397b 100644 (file)
@@ -52,7 +52,7 @@ namespace SLEPcWrappers
     set_transformation_type(transformation_data->st);
   }
 
-  void TransformationBase::set_matrix_mode(STMatMode mode)
+  void TransformationBase::set_matrix_mode(const STMatMode mode)
   {
     int ierr = STSetMatMode(transformation_data->st,mode);
     AssertThrow (ierr == 0, SolverBase::ExcSLEPcError(ierr));

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.