]> https://gitweb.dealii.org/ - dealii.git/commitdiff
set problem type to generalised hermitian in Step 36.
authorDenis Davydov <davydden@gmail.com>
Fri, 7 Nov 2014 15:48:27 +0000 (16:48 +0100)
committerDenis Davydov <davydden@gmail.com>
Wed, 26 Nov 2014 08:28:06 +0000 (09:28 +0100)
examples/step-36/step-36.cc

index eb69652d2e7cce954ab48cbc78e84cc261e6345a..9b047190a1c199a39cc79cc437a65ced98338fe8 100644 (file)
@@ -346,6 +346,8 @@ namespace Step36
     // its work:
     eigensolver.set_which_eigenpairs (EPS_SMALLEST_REAL);
 
+    eigensolver.set_problem_type (EPS_GHEP);
+
     eigensolver.solve (stiffness_matrix, mass_matrix,
                        eigenvalues, eigenfunctions,
                        eigenfunctions.size());

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.