]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Since the merge from the anisotropic branch, this program did not work any more becau...
authorkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 17 Aug 2008 23:23:39 +0000 (23:23 +0000)
committerkronbichler <kronbichler@0785d39b-7218-0410-832d-ea1e28bc413d>
Sun, 17 Aug 2008 23:23:39 +0000 (23:23 +0000)
git-svn-id: https://svn.dealii.org/trunk@16586 0785d39b-7218-0410-832d-ea1e28bc413d

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

index 6790863775f08263fe3628fd868010f967bc2b10..a2672f04a73b11bdd78cc855ac1acdc1fd7abecf 100644 (file)
@@ -836,7 +836,6 @@ compute_derived_quantities_vector (const std::vector<Vector<double> >
   for (unsigned int q=0; q<n_quadrature_points; ++q)
     {
       const double density = uh[q](density_component);
-      const double energy  = uh[q](energy_component);
 
       for (unsigned int d=0; d<dim; ++d)
        computed_quantities[q](d)
@@ -2041,7 +2040,7 @@ void ConservationLaw<dim>::assemble_system ()
                  cell->neighbor_of_neighbor(face_no);
 
                for (unsigned int subface_no=0;
-                    subface_no<GeometryInfo<dim>::subfaces_per_face;
+                    subface_no < cell->face(face_no)->n_children();
                     ++subface_no)
                  {
                    const typename DoFHandler<dim>::active_cell_iterator

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.