From 8c06c1df2618e4c251b7a72d5c289e17d09ab360 Mon Sep 17 00:00:00 2001 From: deal Date: Mon, 16 Dec 2002 19:54:28 +0000 Subject: [PATCH] Add some this-> for icc7 git-svn-id: https://svn.dealii.org/trunk@6829 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-13/step-13.cc | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/deal.II/examples/step-13/step-13.cc b/deal.II/examples/step-13/step-13.cc index 4c3bf0dfdb..a18f32c6cf 100644 --- a/deal.II/examples/step-13/step-13.cc +++ b/deal.II/examples/step-13/step-13.cc @@ -686,7 +686,7 @@ namespace Evaluation std::ostrstream filename; #endif filename << output_name_base << "-" - << refinement_cycle + << this->refinement_cycle << data_out.default_suffix (output_format) << std::ends; #ifdef HAVE_STD_STRINGSTREAM @@ -1507,21 +1507,21 @@ namespace LaplaceSolver PrimalSolver:: assemble_rhs (Vector &rhs) const { - FEValues fe_values (*fe, *quadrature, + FEValues fe_values (*this->fe, *this->quadrature, UpdateFlags(update_values | update_q_points | update_JxW_values)); - const unsigned int dofs_per_cell = fe->dofs_per_cell; - const unsigned int n_q_points = quadrature->n_quadrature_points; + const unsigned int dofs_per_cell = this->fe->dofs_per_cell; + const unsigned int n_q_points = this->quadrature->n_quadrature_points; Vector cell_rhs (dofs_per_cell); std::vector rhs_values (n_q_points); std::vector local_dof_indices (dofs_per_cell); typename DoFHandler::active_cell_iterator - cell = dof_handler.begin_active(), - endc = dof_handler.end(); + cell = this->dof_handler.begin_active(), + endc = this->dof_handler.end(); for (; cell!=endc; ++cell) { cell_rhs.clear (); @@ -1606,7 +1606,7 @@ namespace LaplaceSolver void RefinementGlobal::refine_grid () { - triangulation->refine_global (1); + this->triangulation->refine_global (1); }; @@ -1665,13 +1665,13 @@ namespace LaplaceSolver void RefinementKelly::refine_grid () { - Vector estimated_error_per_cell (triangulation->n_active_cells()); - KellyErrorEstimator::estimate (dof_handler, + Vector estimated_error_per_cell (this->triangulation->n_active_cells()); + KellyErrorEstimator::estimate (this->dof_handler, QGauss3(), typename FunctionMap::type(), - solution, + this->solution, estimated_error_per_cell); - GridRefinement::refine_and_coarsen_fixed_number (*triangulation, + GridRefinement::refine_and_coarsen_fixed_number (*this->triangulation, estimated_error_per_cell, 0.3, 0.03); triangulation->execute_coarsening_and_refinement (); -- 2.39.5