From: Toby D. Young Date: Wed, 29 Jul 2009 09:06:42 +0000 (+0000) Subject: Merged step-36 to online-doc X-Git-Tag: v8.0.0~7434 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=783d46d4f659b09ec50515466640c41d566aa37b;p=dealii.git Merged step-36 to online-doc git-svn-id: https://svn.dealii.org/trunk@19131 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/doc/doxygen/tutorial/navbar.html b/deal.II/doc/doxygen/tutorial/navbar.html index d0191aa07c..b0226b0e5a 100644 --- a/deal.II/doc/doxygen/tutorial/navbar.html +++ b/deal.II/doc/doxygen/tutorial/navbar.html @@ -61,7 +61,8 @@ 30  31
33  - 34 + 34  + 36


diff --git a/deal.II/doc/doxygen/tutorial/toc.html b/deal.II/doc/doxygen/tutorial/toc.html index 15d838d7df..73a99abd3a 100644 --- a/deal.II/doc/doxygen/tutorial/toc.html +++ b/deal.II/doc/doxygen/tutorial/toc.html @@ -267,6 +267,12 @@ searching for programs with a certain functionality. Boundary element methods (BEM) of low order: Exterior irrotational flow. The ParsedFunction class. + + + Step-36 + Using SLEPc for linear algebra; solving an eigenspectrum + problem. The Schrödinger wave equation. + @@ -370,7 +376,8 @@ by topic: Step-28, Step-29, Step-33, - Step-34 + Step-34, + Step-36 Input parameter handling @@ -444,7 +451,6 @@ by topic: -
@@ -501,6 +507,12 @@ by topic: + + + Step-36 + KrylovSchur + +
@@ -632,7 +644,11 @@ by topic: -
+ + + + Step-36 + An eigenspectrum problem Time-dependent problems @@ -670,6 +686,7 @@ by topic: The Euler equations of compressible gas dynamics + diff --git a/deal.II/examples/step-36/step-36.cc b/deal.II/examples/step-36/step-36.cc index 33568dd10f..d273d9cc5d 100644 --- a/deal.II/examples/step-36/step-36.cc +++ b/deal.II/examples/step-36/step-36.cc @@ -358,8 +358,8 @@ void EigenvalueProblem::assemble_system () // representation can now be // compressed as no more entries // will be added: - stiffness_matrix.compress(); - mass_matrix.compress(); + stiffness_matrix.compress (); + mass_matrix.compress (); } @@ -530,10 +530,10 @@ void EigenvalueProblem::run () make_grid_and_dofs (); std::cout << " Number of active cells: " - << triangulation.n_active_cells() + << triangulation.n_active_cells () << std::endl << " Number of degrees of freedom: " - << dof_handler.n_dofs() + << dof_handler.n_dofs () << std::endl << std::endl; @@ -561,7 +561,7 @@ int main (int argc, char **argv) // initializes the PETSc work // space, run the whole // program, ... - SlepcInitialize (&argc,&argv,0,0); + SlepcInitialize (&argc, &argv, 0, 0); { deallog.depth_console (0); @@ -606,8 +606,8 @@ int main (int argc, char **argv) } // If no exceptions are thrown, - // then we can tell the program to - // stop monkeying around and exit + // then we tell the program to stop + // monkeying around and exit // nicely: std::cout << std::endl << "Job done."