]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Make run again.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 26 Feb 2006 06:36:19 +0000 (06:36 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Sun, 26 Feb 2006 06:36:19 +0000 (06:36 +0000)
git-svn-id: https://svn.dealii.org/trunk@12503 0785d39b-7218-0410-832d-ea1e28bc413d

tests/hp/crash_01.cc
tests/hp/crash_02.cc

index 4c1b796577016688a2d0c4d95ea49cf7d9e7334e..0fa0e8819c8fb665b34adee4db7c8e42a82ca6fb 100644 (file)
@@ -38,13 +38,13 @@ void test ()
   const hp::FECollection<dim> fe_collection (FE_DGQ<dim> (1));
 
   hp::DoFHandler<dim> dof_handler(tria);
+  dof_handler.distribute_dofs(fe_collection);
+
   tria.refine_global(1);
   for (typename hp::DoFHandler<dim>::active_cell_iterator
          cell=dof_handler.begin_active();
        cell!=dof_handler.end(); ++cell)
     cell->set_active_fe_index (0);
-         
-  dof_handler.distribute_dofs(fe_collection);
 }
 
 
index 84c1af5f972e2369c0b77232d4854b7043f0c23b..327bba9278521b8f8026d974af636868663acf5f 100644 (file)
@@ -40,6 +40,8 @@ void test ()
   fe_collection.push_back (FE_DGQ<dim> (1));
 
   hp::DoFHandler<dim> dof_handler(tria);
+  dof_handler.distribute_dofs (fe_collection);
+  
   dof_handler.begin_active()->set_active_fe_index(0);
 }
 

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.