]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Reduce number of include files, change values of parameters.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 10 Feb 2006 23:54:17 +0000 (23:54 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Fri, 10 Feb 2006 23:54:17 +0000 (23:54 +0000)
git-svn-id: https://svn.dealii.org/trunk@12309 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-20/step-20.cc

index ec3aadd5250211ac840eb3701a7591d4eadd6e90..8e7c7117018a755614dea2552db6b93a679420da 100644 (file)
@@ -28,7 +28,6 @@
 #include <lac/full_matrix.h>
 #include <lac/block_sparse_matrix.h>
 #include <lac/solver_cg.h>
-#include <lac/solver_gmres.h>
 #include <lac/precondition.h>
 #include <grid/tria.h>
 #include <grid/grid_generator.h>
@@ -191,7 +190,7 @@ template <int dim>
 double PressureBoundaryValues<dim>::value (const Point<dim>  &p,
                                           const unsigned int /*component*/) const 
 {
-  const double alpha = 0.1;
+  const double alpha = 0.3;
   const double beta = 1;
   return -(alpha*p[0]*p[1]*p[1]/2 + beta*p[0] - alpha*p[0]*p[0]*p[0]/6);
 }
@@ -206,7 +205,7 @@ ExactSolution<dim>::vector_value (const Point<dim> &p,
   Assert (values.size() == dim+1,
          ExcDimensionMismatch (values.size(), dim+1));
 
-  const double alpha = 0.1;
+  const double alpha = 0.3;
   const double beta = 1;
 
   values(0) = alpha*p[1]*p[1]/2 + beta - alpha*p[0]*p[0]/2;

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.