]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Exemplify solver options in documentation.
authoryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 20 Apr 2013 11:41:15 +0000 (11:41 +0000)
committeryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 20 Apr 2013 11:41:15 +0000 (11:41 +0000)
git-svn-id: https://svn.dealii.org/trunk@29348 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/include/deal.II/lac/slepc_solver.h

index 5554e5ffe61c24661e3053ebdf6371997af57ec6..3d1eb2ff10446956d2ac91942cde595f24860dd7 100644 (file)
@@ -57,8 +57,20 @@ DEAL_II_NAMESPACE_OPEN
  * @endcode
  * for the generalized eigenvalue problem $Ax=B\lambda x$, where the
  * variable <code>const unsigned int size_of_spectrum</code> tells
- * SLEPc the number of eigenvector/eigenvalue pairs to solve for: See
- * also <code>step-36</code> for a hands-on example.
+
+ * SLEPc the number of eigenvector/eigenvalue pairs to solve
+ * for. Additional options and solver parameters can be passed to the
+ * SLEPc solvers before calling <code>solve()</code>. For example, if
+ * the matrices of the general eigenspectrum problem are not hermitian
+ * and the lower eigenvalues are wanted only, the following code can
+ * be implemented:
+ * @code
+ *  system.set_problem_type (EPS_NHEP);
+ *  system.set_which_eigenpairs (EPS_SMALLEST_REAL);
+ * @endcode
+ * These options can also be set at the commandline.
+ *
+ * See also <code>step-36</code> for a hands-on example.
  *
  * An alternative implementation to the one above is to use the API
  * internals directly within the application code. In this way the

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.