]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Rename enum according to our usual convention.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 22 Sep 2010 02:16:55 +0000 (02:16 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 22 Sep 2010 02:16:55 +0000 (02:16 +0000)
git-svn-id: https://svn.dealii.org/trunk@22115 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/lac/include/lac/arpack_solver.h

index b8ad6d34bdbb15eaea1db140e687286482437ed0..43a8f8fa26d3686b28dc808e38562326e25e0f46 100644 (file)
@@ -77,10 +77,12 @@ extern "C" void dneupd_(int *rvec, char *howmany, int *select, double *d,
 class ArpackSolver : public Subscriptor
 {
   public:
-    /**
-     * Enum to choose the eigenvalues of interest.
-     */
-    enum which 
+                                    /**
+                                     * An enum that lists the possible
+                                     * choices for which eigenvalues to
+                                     * compute in the solve() function.
+                                     */
+    enum WhichEigenvalues 
     {
       algebraically_largest,
       algebraically_smallest,
@@ -101,10 +103,10 @@ class ArpackSolver : public Subscriptor
     struct AdditionalData 
     {
       const unsigned int number_of_arnoldi_vectors;
-      const which eigenvalue_of_interest;
+      const WhichEigenvalues eigenvalue_of_interest;
       AdditionalData(
           const unsigned int number_of_arnoldi_vectors = 15,
-          const which eigenvalue_of_interest = largest_magnitude);
+          const WhichEigenvalues eigenvalue_of_interest = largest_magnitude);
     };
 
     /**
@@ -193,7 +195,7 @@ class ArpackSolver : public Subscriptor
 
 ArpackSolver::AdditionalData::
 AdditionalData (const unsigned int number_of_arnoldi_vectors,
-    const which eigenvalue_of_interest)
+    const WhichEigenvalues eigenvalue_of_interest)
   : 
     number_of_arnoldi_vectors(number_of_arnoldi_vectors),
     eigenvalue_of_interest(eigenvalue_of_interest)

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.