]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Get it closer to what we want.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 23 Apr 2011 03:24:26 +0000 (03:24 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sat, 23 Apr 2011 03:24:26 +0000 (03:24 +0000)
git-svn-id: https://svn.dealii.org/trunk@23634 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 5b7032f770c2d3fb1bcb0e4f30ddbe5eaf0e7f9c..d39d7a883cf8d58b5616736bdfb7bd2eacb4137f 100644 (file)
@@ -287,8 +287,9 @@ cell_is_in_solid_domain (const typename hp::DoFHandler<dim>::cell_iterator &cell
 template <int dim>
 void
 FluidStructureProblem<dim>::make_grid ()
-{  
-  GridGenerator::subdivided_hyper_cube (triangulation, 1, -1, 1);
+{
+// not quite what we want...  
+  GridGenerator::subdivided_hyper_cube (triangulation, 4, -1, 1);
   for (typename Triangulation<dim>::active_cell_iterator
         cell = triangulation.begin_active();
        cell != triangulation.end(); ++cell)
@@ -298,7 +299,7 @@ FluidStructureProblem<dim>::make_grid ()
          (cell->face(f)->center()[dim-1] == 1))
        cell->face(f)->set_all_boundary_indicators(1);
 
-  triangulation.refine_global (5-dim);
+  triangulation.refine_global (3-dim);
 }
 
 

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.