]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix forgotten typenames
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 9 Jan 2002 08:27:43 +0000 (08:27 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 9 Jan 2002 08:27:43 +0000 (08:27 +0000)
git-svn-id: https://svn.dealii.org/trunk@5367 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-12/step-12.cc
deal.II/examples/step-6/step-6.cc
deal.II/examples/step-8/step-8.cc
deal.II/examples/step-9/step-9.cc

index 1686baaa51dc68f0f29d27d356d0f1f3fcc4d5db..13c9de0e72e41865a67a0da293d29f67fbd14f75 100644 (file)
@@ -1520,8 +1520,9 @@ void DGMethod<dim>::refine_grid ()
 
                                   // and they are cell-wise scaled by
                                   // the factor $h^{1+d/2}$
-  DoFHandler<dim>::active_cell_iterator cell = dof_handler.begin_active(),
-                                       endc = dof_handler.end();
+  typename DoFHandler<dim>::active_cell_iterator
+    cell = dof_handler.begin_active(),
+    endc = dof_handler.end();
   for (unsigned int cell_no=0; cell!=endc; ++cell, ++cell_no)
     gradient_indicator(cell_no)*=std::pow(cell->diameter(), 1+1.0*dim/2);
 
index ae62eed7b7bce5a4fb94d984eb39760a8a7bd5a9..b0daa315ee39feb1245729a890bbfbc7324d5e59 100644 (file)
@@ -695,7 +695,7 @@ void LaplaceProblem<dim>::refine_grid ()
                                   // do not use Neumann boundary
                                   // conditions, the map will not
                                   // contain entries.
-  FunctionMap<dim>::type neumann_boundary;
+  typename FunctionMap<dim>::type neumann_boundary;
 
                                   // Now we call the error
                                   // estimator. The parameters should
index 834569c0f4ee541a7f56b89bdc061d93ac089c0f..d5f0a1092f2546dfa7d76f76ba05ad8f5ccfb93d 100644 (file)
@@ -801,7 +801,7 @@ void ElasticProblem<dim>::refine_grid ()
 {
   Vector<float> estimated_error_per_cell (triangulation.n_active_cells());
 
-  FunctionMap<dim>::type neumann_boundary;
+  typename FunctionMap<dim>::type neumann_boundary;
   KellyErrorEstimator<dim>::estimate (dof_handler,
                                      QGauss2<dim-1>(),
                                      neumann_boundary,
index a534ff87921a185c4411876e8fb9059634885045..68efbfab795771fa8c658501613ce8e9366c87e5 100644 (file)
@@ -1914,7 +1914,7 @@ GradientEstimation::estimate_interval (const DoFHandler<dim> &dof_handler,
                                       // Now loop over all active
                                       // neighbors and collect the
                                       // data we need.
-      typename std::vector<DoFHandler<dim>::active_cell_iterator>::const_iterator
+      typename std::vector<typename DoFHandler<dim>::active_cell_iterator>::const_iterator
        neighbor_ptr = active_neighbors.begin();
       for (; neighbor_ptr!=active_neighbors.end(); ++neighbor_ptr)
        {

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.