]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Slightly modified the intro to step-36 to clarify that SlepcInitialize initializes...
authoryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 22 Oct 2010 14:34:52 +0000 (14:34 +0000)
committeryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 22 Oct 2010 14:34:52 +0000 (14:34 +0000)
git-svn-id: https://svn.dealii.org/trunk@22428 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-36/doc/intro.dox
deal.II/examples/step-36/step-36.cc

index 6f7eb8fc6b26136198185709a3b86625a3f5b428..69a89c4574334ebf5b1db351ed555811d47d12fa 100644 (file)
@@ -100,9 +100,13 @@ step-4. The things that are different are the following:
 
 <ul> 
 
-<li>The main class (now named <code>EigenvalueProblem</code>) now no
+<li>The main class (named <code>EigenvalueProblem</code>) now no
 longer has a single solution vector, but a whole set of vectors for
-the various eigenfunctions we want to compute.</li>
+the various eigenfunctions we want to compute. Moreover, the
+<code>main</code> function, which has the top-level control over
+everything here, initializes and finalizes the interface to SLEPc and
+PETSc simultaneouly via <code>SlepcInitialize</code> and
+<code>SlepFinalize</code>.</li>
 
 <li>We use PETSc matrices and vectors as in step-17 and
 step-18 since that is what the SLEPc eigenvalue solvers
index b21af570122d7951e0f8c6694289af18eb9fdb19..62b6c7d68996a5293a567a92c1053adf64164f68 100644 (file)
@@ -559,8 +559,10 @@ int main (int argc, char **argv)
                                       // initialize the SLEPc work
                                       // space which inherently
                                       // initializes the PETSc work
-                                      // space, run the whole
-                                      // program, ...
+                                      // space, then go ahead run the
+                                      // whole program. After that is
+                                      // done, we finalize the
+                                      // SLEPc-PETSc work.
       SlepcInitialize (&argc, &argv, 0, 0);
 
       {

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.