]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add a few comments about the structure of the program to the intro.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 6 Jul 2009 18:35:26 +0000 (18:35 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 6 Jul 2009 18:35:26 +0000 (18:35 +0000)
git-svn-id: https://svn.dealii.org/trunk@19031 0785d39b-7218-0410-832d-ea1e28bc413d

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

index e6abfb85b0053cfdf7c696c6c443c78d59508d9d..f8467658bab6595e754be3a41eaa0f696cd5f277 100644 (file)
@@ -25,3 +25,34 @@ Then transform using the finite element {\it ansatz}
 @f]
 where $\tilde{\phi_i}$ is known as the reduced wavefunction of the
 state $i$.
+
+
+
+<h3>Implementation details</h3>
+
+The program below is essentially just a slightly modified version of 
+@ref step_4 "step-4". The things that are different are the following:
+
+- The main class (now 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.
+
+- We use PETSc matrices and vectors as in @ref step_17 "step-17" and
+  @ref step_18 "step-18" since that is what the SLEPc eigenvalue
+  solvers require.
+
+- We use the ParameterHandler class to describe a few input parameters,
+  such as the exact form of the potential $V(\vec x)$, the number of
+  global refinement steps of the mesh, or the number of eigenvalues
+  we want to solve for. We could go much further with this but
+  stop at making only a few of the things that one could select at
+  run time actual input file parameters. In order to see what could be
+  done in this regard, take a look at @ref step_29 "step-29",
+  @ref step_33 "step-33", and in particular @ref step_19 "step-19".
+
+- We use the FunctionParser class to make the potential $V(\vec x)$
+  a run-time parameter that can be specified in the input file as
+  a formula.
+
+The rest of the program follows in a pretty straightforward way from 
+@ref step_4 "step-4".

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.