]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
More this->
authordeal <deal@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 16 Dec 2002 21:25:41 +0000 (21:25 +0000)
committerdeal <deal@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 16 Dec 2002 21:25:41 +0000 (21:25 +0000)
git-svn-id: https://svn.dealii.org/trunk@6835 0785d39b-7218-0410-832d-ea1e28bc413d

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

index d6b6509427b190ac89a88f559cd46e6a6f2849f7..18d9bfc23b317e5ed4e83d4a20dbcf28b44ee5ea 100644 (file)
@@ -965,8 +965,8 @@ namespace LaplaceSolver
                                         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<double>       cell_rhs (dofs_per_cell);
     std::vector<double>  rhs_values (n_q_points);
@@ -1091,7 +1091,7 @@ namespace LaplaceSolver
     GridRefinement::refine_and_coarsen_fixed_number (*this->triangulation,
                                                     estimated_error_per_cell,
                                                     0.3, 0.03);
-    triangulation->execute_coarsening_and_refinement ();
+    this->triangulation->execute_coarsening_and_refinement ();
   };
 
 
@@ -1175,7 +1175,7 @@ namespace LaplaceSolver
                                     // documentation of that class.
     Vector<float> estimated_error (this->triangulation->n_active_cells());
     KellyErrorEstimator<dim>::estimate (this->dof_handler,
-                                       *face_quadrature,
+                                       *this->face_quadrature,
                                        typename FunctionMap<dim>::type(),
                                        this->solution,
                                        estimated_error);
@@ -1185,8 +1185,8 @@ namespace LaplaceSolver
                                     // of the function given to the
                                     // constructor:
     typename DoFHandler<dim>::active_cell_iterator
-      cell = dof_handler.begin_active(),
-      endc = dof_handler.end();
+      cell = this->dof_handler.begin_active(),
+      endc = this->dof_handler.end();
     for (unsigned int cell_index=0; cell!=endc; ++cell, ++cell_index)
       estimated_error(cell_index)
        *= weighting_function->value (cell->center());
@@ -1194,7 +1194,7 @@ namespace LaplaceSolver
     GridRefinement::refine_and_coarsen_fixed_number (*this->triangulation,
                                                     estimated_error,
                                                     0.3, 0.03);
-    triangulation->execute_coarsening_and_refinement ();
+    this->triangulation->execute_coarsening_and_refinement ();
   };
 
 };
@@ -2737,7 +2737,7 @@ namespace LaplaceSolver
     GridRefinement::refine_and_coarsen_fixed_fraction (*this->triangulation,
                                                       error_indicators,
                                                       0.8, 0.02);
-    triangulation->execute_coarsening_and_refinement ();
+    this->triangulation->execute_coarsening_and_refinement ();
   };
   
 

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.