From 3eb41b8122f7a2df0588a7d46ec13b77f9d2c9ba Mon Sep 17 00:00:00 2001 From: wolf Date: Wed, 9 Jan 2002 08:27:43 +0000 Subject: [PATCH] Fix forgotten typenames git-svn-id: https://svn.dealii.org/trunk@5367 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-12/step-12.cc | 5 +++-- deal.II/examples/step-6/step-6.cc | 2 +- deal.II/examples/step-8/step-8.cc | 2 +- deal.II/examples/step-9/step-9.cc | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/deal.II/examples/step-12/step-12.cc b/deal.II/examples/step-12/step-12.cc index 1686baaa51..13c9de0e72 100644 --- a/deal.II/examples/step-12/step-12.cc +++ b/deal.II/examples/step-12/step-12.cc @@ -1520,8 +1520,9 @@ void DGMethod::refine_grid () // and they are cell-wise scaled by // the factor $h^{1+d/2}$ - DoFHandler::active_cell_iterator cell = dof_handler.begin_active(), - endc = dof_handler.end(); + typename DoFHandler::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); diff --git a/deal.II/examples/step-6/step-6.cc b/deal.II/examples/step-6/step-6.cc index ae62eed7b7..b0daa315ee 100644 --- a/deal.II/examples/step-6/step-6.cc +++ b/deal.II/examples/step-6/step-6.cc @@ -695,7 +695,7 @@ void LaplaceProblem::refine_grid () // do not use Neumann boundary // conditions, the map will not // contain entries. - FunctionMap::type neumann_boundary; + typename FunctionMap::type neumann_boundary; // Now we call the error // estimator. The parameters should diff --git a/deal.II/examples/step-8/step-8.cc b/deal.II/examples/step-8/step-8.cc index 834569c0f4..d5f0a1092f 100644 --- a/deal.II/examples/step-8/step-8.cc +++ b/deal.II/examples/step-8/step-8.cc @@ -801,7 +801,7 @@ void ElasticProblem::refine_grid () { Vector estimated_error_per_cell (triangulation.n_active_cells()); - FunctionMap::type neumann_boundary; + typename FunctionMap::type neumann_boundary; KellyErrorEstimator::estimate (dof_handler, QGauss2(), neumann_boundary, diff --git a/deal.II/examples/step-9/step-9.cc b/deal.II/examples/step-9/step-9.cc index a534ff8792..68efbfab79 100644 --- a/deal.II/examples/step-9/step-9.cc +++ b/deal.II/examples/step-9/step-9.cc @@ -1914,7 +1914,7 @@ GradientEstimation::estimate_interval (const DoFHandler &dof_handler, // Now loop over all active // neighbors and collect the // data we need. - typename std::vector::active_cell_iterator>::const_iterator + typename std::vector::active_cell_iterator>::const_iterator neighbor_ptr = active_neighbors.begin(); for (; neighbor_ptr!=active_neighbors.end(); ++neighbor_ptr) { -- 2.39.5