]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Work around a bug in Intel's icc, which introduced the wrong class names into the...
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 29 Apr 2002 13:01:02 +0000 (13:01 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Mon, 29 Apr 2002 13:01:02 +0000 (13:01 +0000)
git-svn-id: https://svn.dealii.org/trunk@5741 0785d39b-7218-0410-832d-ea1e28bc413d

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

index b35a8a2959bfea4b93d4de336730c3a66a23c9a6..fdd9b42fc1dd9aaa1c1db397b0e0fe571f728aad 100644 (file)
@@ -3778,56 +3778,52 @@ void Framework<dim>::run (const ProblemDescription &descriptor)
     {
       case ProblemDescription::dual_weighted_error_estimator:
       {
-       using namespace LaplaceSolver;
        solver
-         = new WeightedResidual<dim> (triangulation,
-                                      primal_fe,
-                                      dual_fe,
-                                      quadrature,
-                                      face_quadrature,
-                                      descriptor.data->get_right_hand_side(),
-                                      descriptor.data->get_boundary_values(),
-                                      *descriptor.dual_functional);
+         = new LaplaceSolver::WeightedResidual<dim> (triangulation,
+                                                     primal_fe,
+                                                     dual_fe,
+                                                     quadrature,
+                                                     face_quadrature,
+                                                     descriptor.data->get_right_hand_side(),
+                                                     descriptor.data->get_boundary_values(),
+                                                     *descriptor.dual_functional);
        break;
       };
        
       case ProblemDescription::global_refinement:
       {
-       using namespace LaplaceSolver;
        solver
-         = new RefinementGlobal<dim> (triangulation,
-                                      primal_fe,
-                                      quadrature,
-                                      face_quadrature,
-                                      descriptor.data->get_right_hand_side(),
-                                      descriptor.data->get_boundary_values());
+         = new LaplaceSolver::RefinementGlobal<dim> (triangulation,
+                                                     primal_fe,
+                                                     quadrature,
+                                                     face_quadrature,
+                                                     descriptor.data->get_right_hand_side(),
+                                                     descriptor.data->get_boundary_values());
        break;
       };
        
       case ProblemDescription::kelly_indicator:
       {
-       using namespace LaplaceSolver;
        solver
-         = new RefinementKelly<dim> (triangulation,
-                                     primal_fe,
-                                     quadrature,
-                                     face_quadrature,
-                                     descriptor.data->get_right_hand_side(),
-                                     descriptor.data->get_boundary_values());
+         = new LaplaceSolver::RefinementKelly<dim> (triangulation,
+                                                    primal_fe,
+                                                    quadrature,
+                                                    face_quadrature,
+                                                    descriptor.data->get_right_hand_side(),
+                                                    descriptor.data->get_boundary_values());
        break;
       };
 
       case ProblemDescription::weighted_kelly_indicator:
       {
-       using namespace LaplaceSolver;
        solver
-         = new RefinementWeightedKelly<dim> (triangulation,
-                                             primal_fe,
-                                             quadrature,
-                                             face_quadrature,
-                                             descriptor.data->get_right_hand_side(),
-                                             descriptor.data->get_boundary_values(),
-                                             *descriptor.kelly_weight);
+         = new LaplaceSolver::RefinementWeightedKelly<dim> (triangulation,
+                                                            primal_fe,
+                                                            quadrature,
+                                                            face_quadrature,
+                                                            descriptor.data->get_right_hand_side(),
+                                                            descriptor.data->get_boundary_values(),
+                                                            *descriptor.kelly_weight);
        break;
       };
            

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.