]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove template argument `DoFHandlerType` from tests.
authorMarc Fehling <mafehling.git@gmail.com>
Tue, 24 Nov 2020 20:05:08 +0000 (13:05 -0700)
committerMarc Fehling <mafehling.git@gmail.com>
Tue, 25 May 2021 19:53:50 +0000 (13:53 -0600)
101 files changed:
tests/bits/fe_field_function_01.cc
tests/bits/fe_field_function_01_vector.cc
tests/bits/fe_field_function_02.cc
tests/bits/fe_field_function_02_vector.cc
tests/bits/fe_field_function_03.cc
tests/bits/step-3.cc
tests/bits/step-4.cc
tests/bits/step-5.cc
tests/bits/step-6-racoptimize-2.cc
tests/bits/step-6-racoptimize.cc
tests/bits/step-6.cc
tests/bits/step-7.cc
tests/bits/step-8.cc
tests/codim_one/bem.cc
tests/codim_one/data_out.cc
tests/codim_one/data_out_02.cc
tests/codim_one/data_out_03.cc
tests/codim_one/error_estimator_02.cc
tests/codim_one/gradients.cc
tests/codim_one/interpolation_2.cc
tests/codim_one/interpolation_3.cc
tests/codim_one/mapping_fe_field_01.cc
tests/codim_one/projection.cc
tests/codim_one/projection_dgp.cc
tests/codim_one/solution_transfer_01.cc
tests/fail/circular_01.cc
tests/fail/hp-step-14.cc
tests/fail/hp-step-15.cc
tests/fe/fe_enriched_07.cc
tests/fe/fe_enriched_08.cc
tests/fe/fe_enriched_color_05.cc
tests/fe/fe_enriched_color_07.cc
tests/fe/fe_enriched_color_08.cc
tests/fe/fe_enriched_step-36.cc
tests/fe/fe_enriched_step-36b.cc
tests/grid/grid_tools_halo_layer_04.cc
tests/grid/grid_tools_halo_layer_05.cc
tests/hp/crash_17.cc
tests/hp/crash_18.cc
tests/hp/do_function_derivatives_01.cc
tests/hp/do_function_hessians_01.cc
tests/hp/do_function_laplacians_01.cc
tests/hp/hp_constraints_neither_dominate_01.cc
tests/hp/hp_constraints_neither_dominate_02.cc
tests/hp/hp_q_hierarchical_constraints.cc
tests/hp/laplace.h
tests/hp/solution_transfer.cc
tests/hp/solution_transfer_02.cc
tests/hp/solution_transfer_03.cc
tests/hp/solution_transfer_04.cc
tests/hp/solution_transfer_05.cc
tests/hp/solution_transfer_06.cc
tests/hp/solution_transfer_07.cc
tests/hp/solution_transfer_08.cc
tests/hp/solution_transfer_09.cc
tests/hp/solution_transfer_10.cc
tests/hp/solution_transfer_11.cc
tests/hp/solution_transfer_12.cc
tests/hp/solution_transfer_13.cc
tests/hp/solution_transfer_14.cc
tests/hp/solution_transfer_15.cc
tests/hp/solution_transfer_16.cc
tests/hp/step-12.cc
tests/hp/step-13.cc
tests/hp/step-27.cc
tests/hp/step-3.cc
tests/hp/step-3a.cc
tests/hp/step-3a_mapping_collection.cc
tests/hp/step-3b.cc
tests/hp/step-3c.cc
tests/hp/step-4.cc
tests/hp/step-5.cc
tests/hp/step-6.cc
tests/hp/step-7.cc
tests/hp/step-8.cc
tests/integrators/mesh_worker_1d_dg.cc
tests/mappings/mapping_manifold_step-3.cc
tests/mappings/mapping_q_cache_07.cc
tests/mpi/codim_01.cc
tests/mpi/fe_field_function_01.cc
tests/mpi/fe_field_function_02.cc
tests/mpi/fe_field_function_03.cc
tests/mpi/p4est_save_06.cc
tests/mpi/solution_transfer_02.cc
tests/mpi/solution_transfer_03.cc
tests/mpi/solution_transfer_04.cc
tests/mpi/solution_transfer_05.cc
tests/multigrid-global-coarsening/multigrid_a_01.cc
tests/multigrid-global-coarsening/multigrid_p_01.cc
tests/numerics/error_estimator_02.cc
tests/numerics/error_estimator_02_complex.cc
tests/numerics/fe_field.cc
tests/numerics/no_flux_hp_04.cc
tests/remote_point_evaluation/remote_point_evaluation_01.cc
tests/remote_point_evaluation/remote_point_evaluation_02.cc
tests/remote_point_evaluation/vector_tools_evaluate_at_points_05.cc
tests/simplex/step-12b.cc
tests/simplex/step-12c.cc
tests/simplex/step-18.cc
tests/simplex/step-38.cc
tests/vector_tools/get_position_vector_01.cc

index d0f7aa2a356b2e824d5d2cdc279a2f6e0506a3ed..b4fe4b7025a8a6b40eeed54b69f258c6cb5491ef 100644 (file)
@@ -64,7 +64,8 @@ test()
   VectorTools::interpolate(dh, ff, v1);
   deallog << "V norm: " << v1.l2_norm() << std::endl;
 
-  Functions::FEFieldFunction<dim, DoFHandler<dim>, Vector<double>> fef(dh, v1);
+  Functions::FEFieldFunction<dim, Vector<double>> fef(dh, v1);
+
 
   VectorTools::interpolate(dh, fef, v2);
 
index cba17f19196cee6fdf7e2d45ee2eb0b98c5afd8a..1dc6d17a75e59cb308863f31d6428987340853db 100644 (file)
@@ -81,7 +81,8 @@ test()
   VectorTools::interpolate(dh, F<dim>(), v1);
   deallog << "V norm: " << v1.l2_norm() << std::endl;
 
-  Functions::FEFieldFunction<dim, DoFHandler<dim>, Vector<double>> fef(dh, v1);
+  Functions::FEFieldFunction<dim, Vector<double>> fef(dh, v1);
+
 
   VectorTools::interpolate(dh, fef, v2);
 
index 50dacd3db81ec8d0c96bbd5f66bf61f2dbba7d3a..910b00cc7f71c92c09013535039a2b99106b8153 100644 (file)
@@ -67,7 +67,8 @@ test()
   VectorTools::interpolate(dh, ff, v1);
   deallog << "V norm: " << v1.l2_norm() << std::endl;
 
-  Functions::FEFieldFunction<dim, DoFHandler<dim>, Vector<double>> fef(dh, v1);
+  Functions::FEFieldFunction<dim, Vector<double>> fef(dh, v1);
+
 
   // project the discrete function fef back
   // onto the finite element space. this
index 88ceeafcc2a83896e25f0f6f836739374cd4312a..570d0aa4c8b45f77640ba096992575b80fc637a5 100644 (file)
@@ -85,7 +85,8 @@ test()
   VectorTools::interpolate(dh, ff, v1);
   deallog << "V norm: " << v1.l2_norm() << std::endl;
 
-  Functions::FEFieldFunction<dim, DoFHandler<dim>, Vector<double>> fef(dh, v1);
+  Functions::FEFieldFunction<dim, Vector<double>> fef(dh, v1);
+
 
   // project the discrete function fef back
   // onto the finite element space. this
index 1e627dc543f8c601fda380e556956336e31e04e6..3f7d8d03e59dc7bfcd2103990e9f167d3c50c37c 100644 (file)
@@ -55,7 +55,8 @@ test()
   VectorTools::interpolate(dh, ff, v1);
   deallog << "V norm: " << v1.l2_norm() << std::endl;
 
-  Functions::FEFieldFunction<dim, DoFHandler<dim>, Vector<double>> fef(dh, v1);
+  Functions::FEFieldFunction<dim, Vector<double>> fef(dh, v1);
+
 
   // create the origin
   Point<dim> p;
index fe65a0227d5603d8cac0a3f0f49ca3aaded0898a..f97efce620a2954e36de08098c58c9698b00fc97 100644 (file)
@@ -193,7 +193,7 @@ LaplaceProblem::solve()
 void
 LaplaceProblem::output_results() const
 {
-  DataOut<2, DoFHandler<2>> data_out;
+  DataOut<2> data_out;
   data_out.attach_dof_handler(dof_handler);
   data_out.add_data_vector(solution, "solution");
   data_out.build_patches();
index 7ce6c8495051b2294cb52d4eeb6743c09d3c7b7c..75c8bb87ad8b1e0eed62f18daf47aaaf3e502d32 100644 (file)
@@ -259,7 +259,7 @@ template <int dim>
 void
 LaplaceProblem<dim>::output_results() const
 {
-  DataOut<dim, DoFHandler<dim>> data_out;
+  DataOut<dim> data_out;
 
   data_out.attach_dof_handler(dof_handler);
   data_out.add_data_vector(solution, "solution");
index a4913ac97d7f544f606d769170bc46e48d234853..2c35f3466945bb4187132ead30c794dc007ac018 100644 (file)
@@ -271,7 +271,7 @@ LaplaceProblem<dim>::output_results(const unsigned int cycle) const
   if (cycle >= 2)
     return;
 
-  DataOut<dim, DoFHandler<dim>> data_out;
+  DataOut<dim> data_out;
 
   data_out.attach_dof_handler(dof_handler);
   data_out.add_data_vector(solution, "solution");
index 537eeff014bfb5081d0404483cefd3ee24d6c829..964ffc70f2ec695d0d5634700ca6442881df9fe1 100644 (file)
@@ -363,7 +363,7 @@ LaplaceProblem<dim>::run()
   DataOutBase::EpsFlags eps_flags;
   eps_flags.z_scaling = 4;
 
-  DataOut<dim, DoFHandler<dim>> data_out;
+  DataOut<dim> data_out;
   data_out.set_flags(eps_flags);
 
   data_out.attach_dof_handler(dof_handler);
index 9e9f2d26a059e37f9919a08ab206a4104b114204..518f736284ed31e6b891820a7cdc9051395a98d6 100644 (file)
@@ -362,7 +362,7 @@ LaplaceProblem<dim>::run()
   DataOutBase::EpsFlags eps_flags;
   eps_flags.z_scaling = 4;
 
-  DataOut<dim, DoFHandler<dim>> data_out;
+  DataOut<dim> data_out;
   data_out.set_flags(eps_flags);
 
   data_out.attach_dof_handler(dof_handler);
index 9e95d303a053dd09896e80cd82e1077210332d71..2199d0ca59358b5a2ca204fec6652d836d0acec8 100644 (file)
@@ -364,7 +364,7 @@ LaplaceProblem<dim>::run()
   DataOutBase::EpsFlags eps_flags;
   eps_flags.z_scaling = 4;
 
-  DataOut<dim, DoFHandler<dim>> data_out;
+  DataOut<dim> data_out;
   data_out.set_flags(eps_flags);
 
   data_out.attach_dof_handler(dof_handler);
index d8fd90074bee54ebb4845100eba9e2d36233ee13..688bd565d6e8c4f33944a0ef779c411ae88c7678 100644 (file)
@@ -544,7 +544,7 @@ HelmholtzProblem<dim>::run()
 
       gmv_filename += ".gmv";
 
-      DataOut<dim, DoFHandler<dim>> data_out;
+      DataOut<dim> data_out;
       data_out.attach_dof_handler(dof_handler);
       data_out.add_data_vector(solution, "solution");
 
index e63e0714386386eb331ae9e821dd3309bf6a3365..b7df5b94b979ddf794b411ceb591bb4acdc4f95a 100644 (file)
@@ -358,7 +358,7 @@ ElasticProblem<dim>::output_results(const unsigned int cycle) const
 
   filename += ".gmv";
 
-  DataOut<dim, DoFHandler<dim>> data_out;
+  DataOut<dim> data_out;
   data_out.attach_dof_handler(dof_handler);
 
 
index 8f64761897ad448c8b2584af56b2e44608883a82..f8415d8334e95fb2d32540ffac6addc527d5114d 100644 (file)
@@ -406,17 +406,15 @@ template <int spacedim>
 void
 BEM<spacedim>::output_results()
 {
-  DataOut<spacedim - 1, DoFHandler<spacedim - 1, spacedim>> dataout;
+  DataOut<spacedim - 1, spacedim> dataout;
   dataout.attach_dof_handler(dof_handler_q);
   dataout.add_data_vector(dof_handler_q, smooth_solution, "linear_potential");
-  dataout.add_data_vector(
-    tangential_derivative,
-    "tangential_velocity",
-    DataOut<spacedim - 1, DoFHandler<spacedim - 1, spacedim>>::type_cell_data);
-  dataout.add_data_vector(
-    error,
-    "error",
-    DataOut<spacedim - 1, DoFHandler<spacedim - 1, spacedim>>::type_cell_data);
+  dataout.add_data_vector(tangential_derivative,
+                          "tangential_velocity",
+                          DataOut<spacedim - 1, spacedim>::type_cell_data);
+  dataout.add_data_vector(error,
+                          "error",
+                          DataOut<spacedim - 1, spacedim>::type_cell_data);
   dataout.build_patches();
   dataout.write_vtk(deallog.get_file_stream());
 }
index 5838fbeafa7cd5d12a79c5c9e3d7e334b738a710..36c7a796ab7b97631793391fd757dd5ce097d3c2 100644 (file)
@@ -62,7 +62,7 @@ test(std::string filename)
   for (unsigned int i = 0; i < numbering.size(); ++i)
     numbering(i) = i;
 
-  DataOut<dim, DoFHandler<dim, spacedim>> dataout;
+  DataOut<dim, spacedim> dataout;
   dataout.add_data_vector(dof_handler, numbering, "numbering");
   dataout.build_patches();
   dataout.write_vtk(deallog.get_file_stream());
index 9cfcf6b8c683ee3658dca553c14bcf732b03f8a1..6ac3fee40a5eba7ca86ce675795e6e7fce5428a1 100644 (file)
@@ -59,11 +59,12 @@ main()
   soln = 0;
   for (unsigned int i = 0; i < soln.size(); ++i)
     soln(i) = i;
-  DataOut<dim, DoFHandler<dim, dim + 1>> data_out;
+  DataOut<dim, dim + 1> data_out;
   data_out.attach_dof_handler(dof_handler);
 
-  data_out.add_data_vector(
-    soln, "scalar_data", DataOut<dim, DoFHandler<dim, dim + 1>>::type_dof_data);
+  data_out.add_data_vector(soln,
+                           "scalar_data",
+                           DataOut<dim, dim + 1>::type_dof_data);
   data_out.build_patches();
   data_out.write_vtk(deallog.get_file_stream());
 
index ce10c131c9b0e753b5a0f1d55d82781c7526d05f..df5602815840dd41821dfbe84db521e4c94f5886 100644 (file)
@@ -111,11 +111,11 @@ main()
 
   std::vector<std::string> solution_names(3, "position");
 
-  DataOut<2, DoFHandler<2, 3>> data_out;
+  DataOut<2, 3> data_out;
   data_out.attach_dof_handler(dh_test);
   data_out.add_data_vector(position,
                            solution_names,
-                           DataOut<2, DoFHandler<2, 3>>::type_dof_data,
+                           DataOut<2, 3>::type_dof_data,
                            data_component_interpretation);
   data_out.build_patches(mapping, 2);
 
index 38ec4caa020d71eb0f41e4713bd0f14f798d22b3..0a98a8b324469fff565198551f86122507c70178 100644 (file)
@@ -162,10 +162,11 @@ check()
     deallog << error(i) << std::endl;
 
   {
-    DataOut<dim, DoFHandler<dim, spacedim>> data_out;
+    DataOut<dim, spacedim> data_out;
     data_out.attach_dof_handler(dof);
-    data_out.add_data_vector(
-      v, "solution", DataOut<dim, DoFHandler<dim, spacedim>>::type_dof_data);
+    data_out.add_data_vector(v,
+                             "solution",
+                             DataOut<dim, spacedim>::type_dof_data);
     data_out.add_data_vector(error, "error");
     data_out.build_patches();
     std::string filename = spacedim == 2 ? "solution-2d-" : "solution-3d-";
index 9967c6a5212887d4a808ea73e56a0579bc389e8c..6efb97a6af8aaff68fe6a59df2e76e6a07f655c4 100644 (file)
@@ -175,7 +175,7 @@ test(std::string filename)
     }
 
   //  write graphical output
-  DataOut<dim, DoFHandler<dim, spacedim>> dataout;
+  DataOut<dim, spacedim> dataout;
   dataout.attach_triangulation(triangulation);
   dataout.add_data_vector(projected_directional_derivative, "derivative");
   dataout.build_patches();
index f2e82c1870c0b6c5be087bc956d817ee5252f6a9..021ba2e19b5f73af1b10128f032b63882912b532 100644 (file)
@@ -66,7 +66,7 @@ test(std::string filename)
   Functions::CosineFunction<spacedim> cosine;
   VectorTools::interpolate(dof_handler, cosine, interpolated_one);
 
-  DataOut<dim, DoFHandler<dim, spacedim>> dataout;
+  DataOut<dim, spacedim> dataout;
   dataout.add_data_vector(dof_handler, interpolated_one, "numbering");
   dataout.build_patches();
   dataout.write_vtk(deallog.get_file_stream());
index e2e958550fd3908affb1dc593e49c733d0d9186c..909acf73c526c264de66080f774393adf27e7610 100644 (file)
@@ -75,7 +75,7 @@ test(std::string filename)
 
   VectorTools::interpolate(dof_handler, func, interpolated_one);
 
-  DataOut<dim, DoFHandler<dim, spacedim>> dataout;
+  DataOut<dim, spacedim> dataout;
   dataout.attach_dof_handler(dof_handler);
   dataout.add_data_vector(interpolated_one, "test");
   dataout.build_patches();
index 4ea25d82b7f9bf2baca84d5c17f7f26642b64dc0..7fc602d81e954488f0b241c35cfb23cd54526d5c 100644 (file)
@@ -84,18 +84,16 @@ test(const unsigned int refs,
 
   MappingFEField<dim, spacedim> mapping(map_dh, euler_vec);
   ;
-  DataOut<dim, DoFHandler<dim, spacedim>> data_out_scal;
+  DataOut<dim, spacedim> data_out_scal;
   data_out_scal.attach_dof_handler(dof_handler);
 
-  data_out_scal.add_data_vector(
-    scal_sol,
-    "scalar_data",
-    DataOut<dim, DoFHandler<dim, spacedim>>::type_dof_data);
+  data_out_scal.add_data_vector(scal_sol,
+                                "scalar_data",
+                                DataOut<dim, spacedim>::type_dof_data);
 
-  data_out_scal.build_patches(
-    mapping,
-    subdivisions,
-    DataOut<dim, DoFHandler<dim, spacedim>>::curved_inner_cells);
+  data_out_scal.build_patches(mapping,
+                              subdivisions,
+                              DataOut<dim, spacedim>::curved_inner_cells);
 
   std::string filename_scal =
     ("scal_check_" + Utilities::int_to_string(id) + ".vtu");
@@ -108,18 +106,16 @@ test(const unsigned int refs,
     data_component_interpretation(
       spacedim, DataComponentInterpretation::component_is_part_of_vector);
 
-  DataOut<dim, DoFHandler<dim, spacedim>> data_out_euler;
+  DataOut<dim, spacedim> data_out_euler;
   data_out_euler.attach_dof_handler(map_dh);
 
-  data_out_euler.add_data_vector(
-    euler_vec,
-    "euler_vec",
-    DataOut<dim, DoFHandler<dim, spacedim>>::type_dof_data,
-    data_component_interpretation);
-  data_out_euler.build_patches(
-    mapping,
-    degree,
-    DataOut<dim, DoFHandler<dim, spacedim>>::curved_inner_cells);
+  data_out_euler.add_data_vector(euler_vec,
+                                 "euler_vec",
+                                 DataOut<dim, spacedim>::type_dof_data,
+                                 data_component_interpretation);
+  data_out_euler.build_patches(mapping,
+                               degree,
+                               DataOut<dim, spacedim>::curved_inner_cells);
 
   std::string filename_euler =
     ("euler_check_" + Utilities::int_to_string(id) + ".vtu");
index 8c7d354fa74572a0275e98d40970b133fc346b85..0d85e93a4494f5ede596c173d6dbc25f9b26c5fc 100644 (file)
@@ -72,7 +72,7 @@ test(std::string filename, unsigned int n)
   constraints.close();
   VectorTools::project(dof_handler, constraints, quad, cosine, projected_one);
 
-  DataOut<dim, DoFHandler<dim, spacedim>> dataout;
+  DataOut<dim, spacedim> dataout;
   dataout.add_data_vector(dof_handler, projected_one, "projection");
   dataout.build_patches();
   dataout.write_vtk(deallog.get_file_stream());
index 9d70d69f257e7ae770727a5063ceff9178a5dde3..a0db1cf57056a5fb2cfbb822ee9cb0e25c7153ed 100644 (file)
@@ -74,7 +74,7 @@ test(std::string filename, unsigned int n)
   VectorTools::project(
     dof_handler, constraints, quad, cosine, interpolated_one);
 
-  DataOut<dim, DoFHandler<dim, spacedim>> dataout;
+  DataOut<dim, spacedim> dataout;
   dataout.attach_dof_handler(dof_handler);
   dataout.add_data_vector(interpolated_one, "numbering");
   dataout.build_patches();
index 1b94e3f3a76bb6310b6cda58d5841fe829744fca..171da1bb5179a2fe899f5cbe7fa6076623bee753 100644 (file)
@@ -76,7 +76,7 @@ main()
   // Do some refinement
   boundary_mesh.begin_active()->set_refine_flag();
 
-  SolutionTransfer<dim, Vector<double>, DoFHandler<dim, spacedim>> soltrans(dh);
+  SolutionTransfer<dim, Vector<double>, spacedim> soltrans(dh);
 
   boundary_mesh.prepare_coarsening_and_refinement();
 
index 1743d148ca406bdf82145426d2a2e537c159b5be..7a11d3f059e56362fe07a9bf32072c3d8a411a76 100644 (file)
@@ -556,7 +556,7 @@ LaplaceProblem<dim>::output_results(const unsigned int cycle) const
 
     const std::string filename =
       "solution-" + Utilities::int_to_string(cycle, 2) + ".vtk";
-    DataOut<dim, DoFHandler<dim>> data_out;
+    DataOut<dim> data_out;
 
     data_out.attach_dof_handler(dof_handler);
     data_out.add_data_vector(solution, "solution");
index a6f854a06ccb59021b2038d68c0d238308519989..793512157ede33c7657d4b8414331eb4a8144fd2 100644 (file)
@@ -439,6 +439,7 @@ namespace LaplaceSolver
   {
     using active_cell_iterator = typename DoFHandler<dim>::active_cell_iterator;
 
+
     const unsigned int n_threads = MultithreadInfo::n_threads();
     std::vector<std::pair<active_cell_iterator, active_cell_iterator>>
       thread_ranges =
@@ -524,6 +525,7 @@ namespace LaplaceSolver
 
   template <int dim>
   Solver<dim>::LinearSystem::LinearSystem(const DoFHandler<dim> &dof_handler)
+
   {
     hanging_node_constraints.clear();
 
@@ -646,7 +648,7 @@ namespace LaplaceSolver
   void
   PrimalSolver<dim>::output_solution() const
   {
-    DataOut<dim, DoFHandler<dim>> data_out;
+    DataOut<dim> data_out;
     data_out.attach_dof_handler(this->dof_handler);
     data_out.add_data_vector(this->solution, "solution");
     data_out.build_patches();
@@ -1127,6 +1129,7 @@ namespace DualFunctional
     virtual void
     assemble_rhs(const DoFHandler<dim> &dof_handler, Vector<double> &rhs) const;
 
+
     DeclException1(ExcEvaluationPointNotFound,
                    Point<dim>,
                    << "The evaluation point " << arg1
@@ -1147,7 +1150,8 @@ namespace DualFunctional
   template <int dim>
   void
   PointValueEvaluation<dim>::assemble_rhs(const DoFHandler<dim> &dof_handler,
-                                          Vector<double> &       rhs) const
+
+                                          Vector<double> &rhs) const
   {
     rhs.reinit(dof_handler.n_dofs());
 
@@ -1177,6 +1181,7 @@ namespace DualFunctional
     virtual void
     assemble_rhs(const DoFHandler<dim> &dof_handler, Vector<double> &rhs) const;
 
+
     DeclException1(ExcEvaluationPointNotFound,
                    Point<dim>,
                    << "The evaluation point " << arg1
@@ -1373,9 +1378,12 @@ namespace LaplaceSolver
 
     using active_cell_iterator = typename DoFHandler<dim>::active_cell_iterator;
 
+
     using FaceIntegrals =
       typename std::map<typename DoFHandler<dim>::face_iterator, double>;
 
+
+
     struct CellData
     {
       hp::FEValues<dim>                       fe_values;
@@ -1597,7 +1605,7 @@ namespace LaplaceSolver
                          primal_hanging_node_constraints,
                          dual_solution);
 
-    DataOut<dim, DoFHandler<dim>> data_out;
+    DataOut<dim> data_out;
     data_out.attach_dof_handler(primal_solver.dof_handler);
 
     data_out.add_data_vector(primal_solver.solution, "primal_solution");
@@ -1864,6 +1872,7 @@ namespace LaplaceSolver
 
     const typename DoFHandler<dim>::face_iterator face = cell->face(face_no);
     const typename DoFHandler<dim>::cell_iterator neighbor =
+
       cell->neighbor(face_no);
     Assert(neighbor.state() == IteratorState::valid, ExcInternalError());
     Assert(neighbor->has_children(), ExcInternalError());
index 1488193eba8fbc9009263100cdd98577c33c0926..85cafd77962f29ad37a273def1ae69ccd7b05c01 100644 (file)
@@ -121,6 +121,7 @@ private:
   energy(const DoFHandler<dim> &dof_handler, const Vector<double> &function);
 
 
+
   const unsigned int run_number;
 
   Triangulation<dim> triangulation;
@@ -376,7 +377,7 @@ template <int dim>
 void
 MinimizationProblem<dim>::output_results() const
 {
-  DataOut<dim, DoFHandler<dim>> data_out;
+  DataOut<dim> data_out;
   data_out.attach_dof_handler(dof_handler);
   data_out.add_data_vector(present_solution, "solution");
   data_out.build_patches();
index 278d262b9439eaf56109eb4bb1980d37299e2118..e7654731c041ee62cde95be3f17a9232c135e5d9 100644 (file)
@@ -163,7 +163,7 @@ test6(const bool         do_href,
       shape_functions.push_back(shape_function);
     }
 
-  DataOut<dim, DoFHandler<dim>> data_out;
+  DataOut<dim> data_out;
   data_out.attach_dof_handler(dof_handler);
 
   // get material ids:
index 2f0d81466ec9b0dbaacf2b064337d39231eeb076..54ea6ac3a110af6d3cfaba26e079df2fa24641ac 100644 (file)
@@ -151,7 +151,7 @@ test2cells(const unsigned int p_feq = 2, const unsigned int p_feen = 1)
       shape_functions.push_back(shape_function);
     }
 
-  DataOut<dim, DoFHandler<dim>> data_out;
+  DataOut<dim> data_out;
   data_out.attach_dof_handler(dof_handler);
 
   // get material ids:
index b2473ab97aa5efcf0ad4e123ea5e8179c7524cf7..a67986a5e6e8c7e5ecb352b1d60812bf37d83f1b 100644 (file)
@@ -129,7 +129,7 @@ plot_shape_function(DoFHandler<dim> &dof_handler, unsigned int patches = 5)
       shape_functions.push_back(shape_function);
     }
 
-  DataOut<dim, DoFHandler<dim>> data_out;
+  DataOut<dim> data_out;
   data_out.attach_dof_handler(dof_handler);
 
   // get material ids:
index 8356942c7d5f06ebafed294d7e69a74bc1aca474..b0c9605e922fd7622f70903d0908d246e709adc6 100644 (file)
@@ -1010,7 +1010,7 @@ plot_shape_function(DoFHandler<dim> &dof_handler, unsigned int patches = 5)
       std::cout << "...finished printing support points" << std::endl;
     }
 
-  DataOut<dim, DoFHandler<dim>> data_out;
+  DataOut<dim> data_out;
   data_out.attach_dof_handler(dof_handler);
 
   // get material ids:
@@ -1668,7 +1668,7 @@ LaplaceProblem<dim>::output_results(const unsigned int cycle)
       filename += ".vtk";
       std::ofstream output(filename.c_str());
 
-      DataOut<dim, DoFHandler<dim>> data_out;
+      DataOut<dim> data_out;
       data_out.attach_dof_handler(dof_handler);
       data_out.add_data_vector(localized_solution, "solution");
       if (prm.exact_soln_expr != "")
index 79006dda628e1ab6eb2c7c8d10caf6278f06bdd2..fd6a508706b481a46c118f2b3972020a4e892fe2 100644 (file)
@@ -141,7 +141,7 @@ plot_shape_function(DoFHandler<dim> &dof_handler, unsigned int patches = 5)
       deallog << "...finished printing support points" << std::endl;
     }
 
-  DataOut<dim, DoFHandler<dim>> data_out;
+  DataOut<dim> data_out;
   data_out.attach_dof_handler(dof_handler);
 
   // get material ids:
index d8918c9d34b6955ddf8dca8c0bdb6424042248ef..ee8c1d411316389524a7487b098eaf2c07138027 100644 (file)
@@ -554,7 +554,7 @@ namespace Step36
         filename += ".vtk";
         std::ofstream output(filename.c_str());
 
-        DataOut<dim, DoFHandler<dim>> data_out;
+        DataOut<dim> data_out;
         data_out.attach_dof_handler(dof_handler);
         data_out.add_data_vector(eigenfunctions_locally_relevant[0],
                                  "solution");
@@ -570,7 +570,7 @@ namespace Step36
         filename += ".vtk";
         std::ofstream output(filename.c_str());
 
-        DataOut<dim, DoFHandler<dim>> data_out;
+        DataOut<dim> data_out;
         data_out.attach_dof_handler(dof_handler);
         data_out.add_data_vector(fe_index, "fe_index");
         data_out.add_data_vector(estimated_error_per_cell, "estimated_error");
index cc386abea1e8ddf9ea9bf228d476a5b72272ce63..666da0670042f90ec0cc20b0abbf30f5ef2b077f 100644 (file)
@@ -817,7 +817,7 @@ namespace Step36
         Postprocessor<dim> postprocessor(
           enrichment); // has to live until the DataOut object is destroyed;
                        // objects are destroyed in reverse order of declaration
-        DataOut<dim, DoFHandler<dim>> data_out;
+        DataOut<dim> data_out;
         data_out.attach_dof_handler(dof_handler);
         data_out.add_data_vector(eigenfunctions_locally_relevant[0],
                                  "solution");
@@ -835,7 +835,7 @@ namespace Step36
         filename += ".vtk";
         std::ofstream output(filename.c_str());
 
-        DataOut<dim, DoFHandler<dim>> data_out;
+        DataOut<dim> data_out;
         data_out.attach_dof_handler(dof_handler);
         data_out.add_data_vector(fe_index, "fe_index");
         data_out.add_data_vector(estimated_error_per_cell, "estimated_error");
index 21430d5294207f6fde84424bbb8f3cb78405ac77..2a09a2f4207ede637e6d14c407d991a1114832dd 100644 (file)
@@ -61,11 +61,12 @@ write_vtk(const DoFHandler<dim> &dof_handler, const std::string filename)
       1, DataComponentInterpretation::component_is_scalar);
   const std::vector<std::string> data_names(1, "active_fe_index");
 
-  DataOut<dim, DoFHandler<dim>> data_out;
+  DataOut<dim> data_out;
   data_out.attach_dof_handler(dof_handler);
   data_out.add_data_vector(active_fe_index,
+
                            data_names,
-                           DataOut<dim, DoFHandler<dim>>::type_cell_data,
+                           DataOut<dim>::type_cell_data,
                            data_component_interpretation);
   data_out.build_patches();
 
index a3e2ef1f99ae376438acea2eb911685f7adeb4ee..afa554a35f228e8db2dfb14406180e53dcb1fc39 100644 (file)
@@ -61,11 +61,12 @@ write_vtk(const DoFHandler<dim> &dof_handler, const std::string filename)
       1, DataComponentInterpretation::component_is_scalar);
   const std::vector<std::string> data_names(1, "active_fe_index");
 
-  DataOut<dim, DoFHandler<dim>> data_out;
+  DataOut<dim> data_out;
   data_out.attach_dof_handler(dof_handler);
   data_out.add_data_vector(active_fe_index,
+
                            data_names,
-                           DataOut<dim, DoFHandler<dim>>::type_cell_data,
+                           DataOut<dim>::type_cell_data,
                            data_component_interpretation);
   data_out.build_patches();
 
index 07a2fa4c23481ddc73a48714d5399a9c94a320b1..b881966de661c6f34104200c18ac002743c6d8b2 100644 (file)
@@ -553,7 +553,7 @@ LaplaceProblem<dim>::output_results(const unsigned int cycle) const
 
     const std::string filename =
       "solution-" + Utilities::int_to_string(cycle, 2) + ".vtk";
-    DataOut<dim, DoFHandler<dim>> data_out;
+    DataOut<dim> data_out;
 
     data_out.attach_dof_handler(dof_handler);
     data_out.add_data_vector(solution, "solution");
index 8fed37e6b2c6b9262f2d9e10b87e20bfcd842a5b..44c5e5dcecbc7c34f6ca61f984fca9bea27b5000 100644 (file)
@@ -561,7 +561,7 @@ LaplaceProblem<dim>::output_results(const unsigned int cycle) const
 
     const std::string filename =
       "solution-" + Utilities::int_to_string(cycle, 2) + ".vtk";
-    DataOut<dim, DoFHandler<dim>> data_out;
+    DataOut<dim> data_out;
 
     data_out.attach_dof_handler(dof_handler);
     data_out.add_data_vector(solution, "solution");
index c2384639fd560374925a66c28bee7115f9fd23b9..06090249070eb32fd0020790c7335a86cd5c3cd8 100644 (file)
@@ -80,8 +80,7 @@ main()
   solution = 1.0;
 
 
-  SolutionTransfer<2, Vector<double>, DoFHandler<2>> solultion_trans(
-    dof_handler);
+  SolutionTransfer<2, Vector<double>> solultion_trans(dof_handler);
   solultion_trans.prepare_for_coarsening_and_refinement(solution);
 
   triangulation.execute_coarsening_and_refinement();
@@ -95,6 +94,7 @@ main()
   q.push_back(QMidpoint<2>());
   hp::FEValues<2> x_fe_values(fe_collection, q, update_gradients);
   for (DoFHandler<2>::active_cell_iterator cell = dof_handler.begin_active();
+
        cell != dof_handler.end();
        ++cell)
     {
index 18a55f6be2b71abb53e42ff6e99a269d6fa0cd98..d3f51f5bf536f74f7c399229666a9bc87ec0b927 100644 (file)
@@ -80,8 +80,7 @@ main()
   solution = 1.0;
 
 
-  SolutionTransfer<2, Vector<double>, DoFHandler<2>> solultion_trans(
-    dof_handler);
+  SolutionTransfer<2, Vector<double>> solultion_trans(dof_handler);
   solultion_trans.prepare_for_coarsening_and_refinement(solution);
 
   triangulation.execute_coarsening_and_refinement();
@@ -95,6 +94,7 @@ main()
   q.push_back(QMidpoint<2>());
   hp::FEValues<2> x_fe_values(fe_collection, q, update_hessians);
   for (DoFHandler<2>::active_cell_iterator cell = dof_handler.begin_active();
+
        cell != dof_handler.end();
        ++cell)
     {
index e4511b25e904e002b8506878319c65f0b51e9e75..50bd4c91a0a8c6d9254c1d3259f18ceaeda6e11b 100644 (file)
@@ -80,8 +80,7 @@ main()
   solution = 1.0;
 
 
-  SolutionTransfer<2, Vector<double>, DoFHandler<2>> solultion_trans(
-    dof_handler);
+  SolutionTransfer<2, Vector<double>> solultion_trans(dof_handler);
   solultion_trans.prepare_for_coarsening_and_refinement(solution);
 
   triangulation.execute_coarsening_and_refinement();
@@ -95,6 +94,7 @@ main()
   q.push_back(QMidpoint<2>());
   hp::FEValues<2> x_fe_values(fe_collection, q, update_hessians);
   for (DoFHandler<2>::active_cell_iterator cell = dof_handler.begin_active();
+
        cell != dof_handler.end();
        ++cell)
     {
index 64a24ab06b3f41e5d1fce1a40b01b4d2d21d74f1..b13dd1709b1aabc1696d7e3fa4d7ef7279001211 100644 (file)
@@ -145,7 +145,7 @@ test2cells(const unsigned int p1 = 2, const unsigned int p2 = 1)
       shape_functions.push_back(shape_function);
     }
 
-  DataOut<dim, DoFHandler<dim>> data_out;
+  DataOut<dim> data_out;
   data_out.attach_dof_handler(dof_handler);
 
   // get material ids:
index cc38b6d625d9b57e8b6c73df7e32c74be1490ab8..15536e1d2f66f2906cbe542fcf83e2ecae677513 100644 (file)
@@ -192,7 +192,7 @@ test2cells(const FiniteElement<dim> &fe_0,
       shape_functions.push_back(shape_function);
     }
 
-  DataOut<dim, DoFHandler<dim>> data_out;
+  DataOut<dim> data_out;
   data_out.attach_dof_handler(dof_handler);
 
   // get material ids:
index 296e69e7c013fe582fc2be44a49f0d6c2c9d217d..e7809e3ea929d444beda6c0c966314b87c8dd4ba 100644 (file)
@@ -126,7 +126,7 @@ test(const bool apply_constrains, const unsigned int hp)
         }
 
 #ifdef FEQH_DEBUG_OUTPUT
-      DataOut<dim, DoFHandler<dim>> data_out;
+      DataOut<dim> data_out;
       data_out.attach_dof_handler(dof_handler);
 
       data_out.add_data_vector(v, "shape_function");
index cf81f70a3cfe9a41ec207951d5ed3902fa284061..590dc956ccd28a42347023e231e49144d8119e27 100644 (file)
@@ -443,8 +443,9 @@ Laplace<dim>::refine_grid(const unsigned int cycle)
     }
 
   // 3.4. Solution Transfer
-  SolutionTransfer<dim, TrilinosWrappers::MPI::Vector, DoFHandler<dim>>
-    soltrans(dof_handler);
+  SolutionTransfer<dim, TrilinosWrappers::MPI::Vector> soltrans(dof_handler);
+
+
 
   // copy current functions
   TrilinosWrappers::MPI::Vector solution_coarse;
index 98c48c8fbfccfdbbcb793c68735157f0c7bb17db..291689ca4ad40550b0dba61a94bc5e7b11aa406d 100644 (file)
@@ -129,10 +129,9 @@ transfer(std::ostream &out)
   VectorTools::interpolate(mapping, q_dof_handler, function, q_solution);
   VectorTools::interpolate(mapping, dgq_dof_handler, function, dgq_solution);
 
-  SolutionTransfer<dim, Vector<double>, DoFHandler<dim>> q_soltrans(
-    q_dof_handler);
-  SolutionTransfer<dim, Vector<double>, DoFHandler<dim>> dgq_soltrans(
-    dgq_dof_handler);
+  SolutionTransfer<dim, Vector<double>> q_soltrans(q_dof_handler);
+  SolutionTransfer<dim, Vector<double>> dgq_soltrans(dgq_dof_handler);
+
 
 
   // test b): do some coarsening and
@@ -197,6 +196,7 @@ transfer(std::ostream &out)
     typename DoFHandler<dim>::active_cell_iterator cell = q_dof_handler
                                                             .begin_active(),
                                                    endc = q_dof_handler.end();
+
     for (; cell != endc; ++cell)
       {
         hp_fe_val.reinit(cell, 0);
index 729500aa08e973b945b854f4ee1f0170bd274a51..9e28d9b1e26383e0d39c6da14bd597ee40bd7063 100644 (file)
@@ -74,7 +74,8 @@ transfer(std::ostream &out)
   for (unsigned int i = 0; i < solution.size(); ++i)
     solution(i) = i;
 
-  SolutionTransfer<dim, Vector<double>, DoFHandler<dim>> soltrans(dof_handler);
+  SolutionTransfer<dim, Vector<double>> soltrans(dof_handler);
+
 
   typename Triangulation<dim>::active_cell_iterator cell = tria.begin_active(),
                                                     endc = tria.end();
index f8aae145d996d7b82d46857fde3cff4946163c21..2e034182b96c277b7a373d47b49bd3603562e690 100644 (file)
@@ -80,7 +80,7 @@ main()
 
 
   // Save output
-  DataOut<2, DoFHandler<2>> data_out;
+  DataOut<2> data_out;
   data_out.attach_dof_handler(dof_handler);
   data_out.add_data_vector(solution, "Solution");
   data_out.build_patches();
@@ -88,8 +88,7 @@ main()
 
 
   // Interpoalte solution
-  SolutionTransfer<2, Vector<double>, DoFHandler<2>> solultion_trans(
-    dof_handler);
+  SolutionTransfer<2, Vector<double>> solultion_trans(dof_handler);
   solultion_trans.prepare_for_coarsening_and_refinement(solution);
 
   triangulation.execute_coarsening_and_refinement();
@@ -106,7 +105,7 @@ main()
 
 
   // Save output
-  DataOut<2, DoFHandler<2>> data_out2;
+  DataOut<2> data_out2;
   data_out2.attach_dof_handler(dof_handler);
   data_out2.add_data_vector(new_solution, "Solution");
   data_out2.build_patches();
index f92700e57f30a394ba4ce62870d6373ceed5a83f..14619c239271b30e3b51b104a8ab650d450bf76d 100644 (file)
@@ -79,8 +79,7 @@ main()
   solution = 1.0;
 
 
-  SolutionTransfer<2, Vector<double>, DoFHandler<2>> solultion_trans(
-    dof_handler);
+  SolutionTransfer<2, Vector<double>> solultion_trans(dof_handler);
   solultion_trans.prepare_for_coarsening_and_refinement(solution);
 
   triangulation.execute_coarsening_and_refinement();
index 3a29b479a3bd1af1774bd27b55e252b639956f34..599edd3b9b56f70de59e8a3367f973f7fc1854f3 100644 (file)
@@ -79,8 +79,7 @@ main()
   solution = 1.0;
 
 
-  SolutionTransfer<2, Vector<double>, DoFHandler<2>> solultion_trans(
-    dof_handler);
+  SolutionTransfer<2, Vector<double>> solultion_trans(dof_handler);
   solultion_trans.prepare_for_coarsening_and_refinement(solution);
 
   triangulation.execute_coarsening_and_refinement();
@@ -91,7 +90,7 @@ main()
 
   // a follow-up error to the one fixed with _04 was that DataOut also got
   // itself confused
-  DataOut<2, DoFHandler<2>> data_out2;
+  DataOut<2> data_out2;
   data_out2.attach_dof_handler(dof_handler);
   data_out2.add_data_vector(new_solution, "Solution");
   data_out2.build_patches();
index 515c1e39efa72e14214754a66e3b0906a4444df5..33761b3d60d2b1cd0e750fde6367fa0424938282 100644 (file)
@@ -64,8 +64,7 @@ test()
 
 
   // set refine flag for the only cell we have, then do the refinement
-  SolutionTransfer<dim, Vector<double>, DoFHandler<dim>> solution_trans(
-    dof_handler);
+  SolutionTransfer<dim, Vector<double>> solution_trans(dof_handler);
   dof_handler.begin_active()->set_refine_flag();
   solution_trans.prepare_for_coarsening_and_refinement(solution);
   triangulation.execute_coarsening_and_refinement();
index 9a48aabbcbd026a9def775dc4cccb8b0476f2d71..d69d2c15fc7c888703a16fcba9882b9310a4188f 100644 (file)
@@ -64,8 +64,7 @@ test()
 
 
   // set refine flag for the only cell we have, then do the refinement
-  SolutionTransfer<dim, Vector<double>, DoFHandler<dim>> solution_trans(
-    dof_handler);
+  SolutionTransfer<dim, Vector<double>> solution_trans(dof_handler);
   dof_handler.begin_active()->set_refine_flag();
   solution_trans.prepare_for_pure_refinement();
   triangulation.execute_coarsening_and_refinement();
index 9102ec232549bd8e488b65c2327df5e2d41329ad..3e7e3f3ad137b1d24252d6c559ed5ea75100de99 100644 (file)
@@ -63,8 +63,7 @@ test()
   solution = 1.0;
 
   // coarsen everything away
-  SolutionTransfer<dim, Vector<double>, DoFHandler<dim>> solution_trans(
-    dof_handler);
+  SolutionTransfer<dim, Vector<double>> solution_trans(dof_handler);
   for (unsigned int c = 0; c < dof_handler.begin(0)->n_children(); ++c)
     dof_handler.begin(0)->child(c)->set_coarsen_flag();
 
index a7b06b577e27a6c901710ca56130816448767842..de6d7fe5e381a6a38877013f0a55ffe4378c3646 100644 (file)
@@ -62,8 +62,7 @@ test()
 
 
   // set refine flag for the only cell we have, then do the refinement
-  SolutionTransfer<dim, Vector<double>, DoFHandler<dim>> solution_trans(
-    dof_handler);
+  SolutionTransfer<dim, Vector<double>> solution_trans(dof_handler);
   dof_handler.begin_active()->set_refine_flag();
   solution_trans.prepare_for_pure_refinement();
   triangulation.execute_coarsening_and_refinement();
index 83b4979f4ba0123b2f4bf9ec23aaa35d4e4b7712..240e38a8cf44f1ac60d5f7581010fa28826d7f20 100644 (file)
@@ -98,8 +98,7 @@ main()
   triangulation.prepare_coarsening_and_refinement();
 
   // Interpolate solution
-  SolutionTransfer<2, Vector<double>, DoFHandler<2>> solultion_trans(
-    dof_handler);
+  SolutionTransfer<2, Vector<double>> solultion_trans(dof_handler);
   solultion_trans.prepare_for_coarsening_and_refinement(solution);
 
   triangulation.execute_coarsening_and_refinement();
index bce373f923bc779720642d15c6c4d8fb66bf9e05..d1a9f92d919511ea28b2afa2a1e7115da9d6bce2 100644 (file)
@@ -63,7 +63,8 @@ transfer(std::ostream &out)
   for (unsigned int i = 0; i < solution.size(); ++i)
     solution(i) = i;
 
-  SolutionTransfer<dim, Vector<double>, DoFHandler<dim>> soltrans(dof_handler);
+  SolutionTransfer<dim, Vector<double>> soltrans(dof_handler);
+
 
   typename Triangulation<dim>::active_cell_iterator cell = tria.begin_active(),
                                                     endc = tria.end();
index d662ec82a1c489b19d9585db71329e35cc767d1b..1cee10bf79d2210c01c6a3900dfb1fb27c1caab3 100644 (file)
@@ -105,6 +105,7 @@ transfer(std::ostream &out)
     typename DoFHandler<dim>::active_cell_iterator cell = q_dof_handler
                                                             .begin_active(),
                                                    endc = q_dof_handler.end();
+
     for (; cell != endc; ++cell, ++counter)
       {
         if (counter < 15)
@@ -136,6 +137,7 @@ transfer(std::ostream &out)
     typename DoFHandler<dim>::active_cell_iterator cell = q_dof_handler
                                                             .begin_active(),
                                                    endc = q_dof_handler.end();
+
     for (; cell != endc; ++cell)
       {
         hp_fe_val.reinit(cell, 0);
@@ -155,8 +157,8 @@ transfer(std::ostream &out)
       }
   }
 
-  SolutionTransfer<dim, Vector<double>, DoFHandler<dim>> q_soltrans(
-    q_dof_handler);
+  SolutionTransfer<dim, Vector<double>> q_soltrans(q_dof_handler);
+
 
 
   // test b): do some coarsening and
@@ -186,6 +188,7 @@ transfer(std::ostream &out)
     typename DoFHandler<dim>::active_cell_iterator cell = q_dof_handler
                                                             .begin_active(),
                                                    endc = q_dof_handler.end();
+
     for (; cell != endc; ++cell, ++counter)
       {
         if (counter > 20 && counter < 90)
@@ -211,6 +214,7 @@ transfer(std::ostream &out)
     typename DoFHandler<dim>::active_cell_iterator cell = q_dof_handler
                                                             .begin_active(),
                                                    endc = q_dof_handler.end();
+
     for (; cell != endc; ++cell)
       {
         hp_fe_val.reinit(cell, 0);
index e9f669dc102f0a5e0f6514756b7dbd75cd0a767a..fe564cd4820a775a6227852b66dcd877009e7c72 100644 (file)
@@ -97,7 +97,7 @@ main()
     }
 
   // Save output
-  DataOut<2, DoFHandler<2>> data_out;
+  DataOut<2> data_out;
   data_out.attach_dof_handler(dof_handler);
   data_out.add_data_vector(solution, "Solution");
   data_out.add_data_vector(FE_Type, "FE_Type");
@@ -124,8 +124,8 @@ main()
   triangulation.prepare_coarsening_and_refinement();
 
   // Interpolate solution
-  SolutionTransfer<2, Vector<double>, DoFHandler<2>> solution_trans(
-    dof_handler);
+  SolutionTransfer<2, Vector<double>> solution_trans(dof_handler);
+
   solution_trans.prepare_for_coarsening_and_refinement(solution);
 
   triangulation.execute_coarsening_and_refinement();
@@ -146,7 +146,7 @@ main()
     }
 
   // Save new solution
-  DataOut<2, DoFHandler<2>> data_out2;
+  DataOut<2> data_out2;
   data_out2.attach_dof_handler(dof_handler);
   data_out2.add_data_vector(new_solution, "Solution");
   data_out2.add_data_vector(FE_Type, "FE_type");
@@ -175,8 +175,7 @@ main()
   triangulation.prepare_coarsening_and_refinement();
 
   // Interpolate solution
-  SolutionTransfer<2, Vector<double>, DoFHandler<2>> solution_trans2(
-    dof_handler);
+  SolutionTransfer<2, Vector<double>> solution_trans2(dof_handler);
   solution_trans2.prepare_for_coarsening_and_refinement(solution);
 
   triangulation.execute_coarsening_and_refinement();
@@ -197,7 +196,7 @@ main()
     }
 
   // Save new solution
-  DataOut<2, DoFHandler<2>> data_out3;
+  DataOut<2> data_out3;
   data_out3.attach_dof_handler(dof_handler);
   data_out3.add_data_vector(new_solution2, "Solution");
   data_out3.add_data_vector(FE_Type, "FE_type");
index 47d7d696c1edd7a333a3b147febd128ff9d2ad3a..c90fce4f8d811bf08a16dd7f6da86c92f43f594c 100644 (file)
@@ -78,8 +78,9 @@ transfer(const MPI_Comm &mpi_communicator)
     if (locally_owned_dofs.is_element(i))
       solution(i) = i;
 
-  SolutionTransfer<dim, TrilinosWrappers::MPI::Vector, DoFHandler<dim>>
-    soltrans(dof_handler);
+  SolutionTransfer<dim, TrilinosWrappers::MPI::Vector> soltrans(dof_handler);
+
+
 
   typename Triangulation<dim>::active_cell_iterator cell = tria.begin_active(),
                                                     endc = tria.end();
index 38248108320ac2a06bc36451828a9b8bac606416..1f0546c2884d5bc6f8eb1c60db13c6ad8815177e 100644 (file)
@@ -132,8 +132,10 @@ transfer(const MPI_Comm &mpi_communicator)
     if (locally_owned_dofs.is_element(i))
       solution(i) = i;
 
-  SolutionTransfer<dim, TrilinosWrappers::MPI::BlockVector, DoFHandler<dim>>
-    soltrans(dof_handler);
+  SolutionTransfer<dim, TrilinosWrappers::MPI::BlockVector> soltrans(
+    dof_handler);
+
+
 
   typename Triangulation<dim>::active_cell_iterator cell = tria.begin_active(),
                                                     endc = tria.end();
index ffc20bfa95f841eda35696a3d272d9b84a0435a0..89a0666faf2e351a6026006b021ee0f5196a666f 100644 (file)
@@ -71,8 +71,8 @@ main()
   triangulation.prepare_coarsening_and_refinement();
 
   // Interpolate solution
-  SolutionTransfer<2, Vector<double>, DoFHandler<2>> solution_trans(
-    dof_handler);
+  SolutionTransfer<2, Vector<double>> solution_trans(dof_handler);
+
   solution_trans.prepare_for_coarsening_and_refinement(solution);
 
   triangulation.execute_coarsening_and_refinement();
index 8e400305da9884ba1a5917b73c8872390d3b4c5f..28a9b12eae6118d50622e92d52e4d52a1c99c2a3 100644 (file)
@@ -540,6 +540,7 @@ DGMethod<dim>::assemble_system1()
         {
           typename DoFHandler<dim>::face_iterator face = cell->face(face_no);
 
+
           ue_vi_matrix = 0;
 
           if (face->at_boundary())
@@ -716,6 +717,7 @@ DGMethod<dim>::assemble_system2()
         {
           typename DoFHandler<dim>::face_iterator face = cell->face(face_no);
 
+
           if (face->at_boundary())
             {
               fe_v_face.reinit(cell, face_no);
@@ -738,6 +740,7 @@ DGMethod<dim>::assemble_system2()
                        ++subface_no)
                     {
                       typename DoFHandler<dim>::cell_iterator neighbor_child =
+
                         cell->neighbor_child_on_subface(face_no, subface_no);
                       Assert(neighbor_child->face(neighbor2) ==
                                face->child(subface_no),
@@ -892,7 +895,7 @@ DGMethod<dim>::output_results(const unsigned int cycle) const
   deallog << "Writing solution to <" << filename << ">..." << std::endl
           << std::endl;
 
-  DataOut<dim, DoFHandler<dim>> data_out;
+  DataOut<dim> data_out;
   data_out.attach_dof_handler(dof_handler);
   data_out.add_data_vector(solution2, "u");
 
index 9f29332fc33cdb0fd02a0ddff31a993380d4b4a7..de8d0338f511df2e8a6169bdb665ca8d3e2f5daa 100644 (file)
@@ -186,7 +186,7 @@ namespace Evaluation
   SolutionOutput<dim>::operator()(const DoFHandler<dim> &dof_handler,
                                   const Vector<double> & solution) const
   {
-    DataOut<dim, DoFHandler<dim>> data_out;
+    DataOut<dim> data_out;
     data_out.attach_dof_handler(dof_handler);
     data_out.add_data_vector(solution, "solution");
     data_out.build_patches();
@@ -351,6 +351,7 @@ namespace LaplaceSolver
   {
     using active_cell_iterator = typename DoFHandler<dim>::active_cell_iterator;
 
+
     const unsigned int n_threads = MultithreadInfo::n_threads();
     std::vector<std::pair<active_cell_iterator, active_cell_iterator>>
       thread_ranges =
@@ -438,6 +439,7 @@ namespace LaplaceSolver
 
   template <int dim>
   Solver<dim>::LinearSystem::LinearSystem(const DoFHandler<dim> &dof_handler)
+
   {
     hanging_node_constraints.clear();
 
index 7dcce4c57d6bef302161bc407d9bda52f5bb48f2..f6240182d882372ae449227cf66ff4d63986b43a 100644 (file)
@@ -320,7 +320,7 @@ namespace Step27
               fe_collection[cell->active_fe_index()].degree;
         }
 
-        DataOut<dim, DoFHandler<dim>> data_out;
+        DataOut<dim> data_out;
 
         data_out.attach_dof_handler(dof_handler);
         data_out.add_data_vector(solution, "solution");
index 11f87606c1304a0784c2d5280178b78164519c1f..661e04b040c0ace698408d62cc71d1b1615974d2 100644 (file)
@@ -192,7 +192,7 @@ LaplaceProblem::solve()
 void
 LaplaceProblem::output_results() const
 {
-  DataOut<2, DoFHandler<2>> data_out;
+  DataOut<2> data_out;
   data_out.attach_dof_handler(dof_handler);
   data_out.add_data_vector(solution, "solution");
   data_out.build_patches();
index 29e1fdaea2b9856459a5cdf51fb9620762da3c00..50673f2dd20f805e5d43e4c99f0471102aa49487 100644 (file)
@@ -238,7 +238,7 @@ LaplaceProblem::solve()
 void
 LaplaceProblem::output_results() const
 {
-  DataOut<2, DoFHandler<2>> data_out;
+  DataOut<2> data_out;
   data_out.attach_dof_handler(dof_handler);
   data_out.add_data_vector(solution, "solution");
   data_out.build_patches();
index 5aaf7f2f961e4235919149a324d7ab9a8509fcea..cbbe6da09c71cf78283c23be9fac24c1535ba221 100644 (file)
@@ -242,7 +242,7 @@ LaplaceProblem::solve()
 void
 LaplaceProblem::output_results() const
 {
-  DataOut<2, DoFHandler<2>> data_out;
+  DataOut<2> data_out;
   data_out.attach_dof_handler(dof_handler);
   data_out.add_data_vector(solution, "solution");
   data_out.build_patches();
index 6f67ba5f168d066bf9a63bd66e101c649a32dc70..028eca375b29d43a506b7f7f50a11181f090a35e 100644 (file)
@@ -235,7 +235,7 @@ LaplaceProblem::solve()
 void
 LaplaceProblem::output_results() const
 {
-  DataOut<2, DoFHandler<2>> data_out;
+  DataOut<2> data_out;
   data_out.attach_dof_handler(dof_handler);
   data_out.add_data_vector(solution, "solution");
   data_out.build_patches();
index 7745dc0c4433faa2c407406b5ab9de88cb3055fa..90d56adb9fd01aa33cce8a06086f0bb2f1a077f3 100644 (file)
@@ -243,7 +243,7 @@ LaplaceProblem::solve()
 void
 LaplaceProblem::output_results() const
 {
-  DataOut<2, DoFHandler<2>> data_out;
+  DataOut<2> data_out;
   data_out.attach_dof_handler(dof_handler);
   data_out.add_data_vector(solution, "solution");
   data_out.build_patches();
index 046f32dbe3ad763e38d4e3a0332a7be934ec1666..c53ac2f355736f3b2b09de0c291fa83ba7a9ffc5 100644 (file)
@@ -262,7 +262,7 @@ template <int dim>
 void
 LaplaceProblem<dim>::output_results() const
 {
-  DataOut<dim, DoFHandler<dim>> data_out;
+  DataOut<dim> data_out;
 
   data_out.attach_dof_handler(dof_handler);
   data_out.add_data_vector(solution, "solution");
index d160c120f4793ac79cf6614fc06b7fa854a2ce19..fbb7db7bf9ee7ddd143d99cc16a624c4eee45071 100644 (file)
@@ -271,7 +271,7 @@ LaplaceProblem<dim>::output_results(const unsigned int cycle) const
   if (cycle >= 2)
     return;
 
-  DataOut<dim, DoFHandler<dim>> data_out;
+  DataOut<dim> data_out;
 
   data_out.attach_dof_handler(dof_handler);
   data_out.add_data_vector(solution, "solution");
index ecbd39441f660c444292a0bf122e0676fbeb3cff..e2aad0f94c05914fa6cc242a78f25bd6f7b79f4e 100644 (file)
@@ -366,7 +366,7 @@ LaplaceProblem<dim>::run()
   DataOutBase::EpsFlags eps_flags;
   eps_flags.z_scaling = 4;
 
-  DataOut<dim, DoFHandler<dim>> data_out;
+  DataOut<dim> data_out;
   data_out.set_flags(eps_flags);
 
   data_out.attach_dof_handler(dof_handler);
index e09463fcbeb63544790ebcff33b7f7eb7f8ba2f4..9c6fb56b8e930e476d6429b7450a6f6a35281633 100644 (file)
@@ -547,7 +547,7 @@ HelmholtzProblem<dim>::run()
 
       gmv_filename += ".gmv";
 
-      DataOut<dim, DoFHandler<dim>> data_out;
+      DataOut<dim> data_out;
       data_out.attach_dof_handler(dof_handler);
       data_out.add_data_vector(solution, "solution");
 
index cfbb5a0ef869f75fe86d875eb2b74eb823ec734a..4106f7f0996ff2c40361a1f93ddab39e55e53aad 100644 (file)
@@ -361,7 +361,7 @@ ElasticProblem<dim>::output_results(const unsigned int cycle) const
 
   filename += ".gmv";
 
-  DataOut<dim, DoFHandler<dim>> data_out;
+  DataOut<dim> data_out;
   data_out.attach_dof_handler(dof_handler);
 
 
index cbffcdbd0f4b237addf17050bb61575e39ed86d3..0fa41b758f5ed3c33f214aded2d79cbe2ccc2fe7 100644 (file)
@@ -410,7 +410,7 @@ namespace Advection
 
     data_out.add_data_vector(solution,
                              solution_names,
-                             DataOut<dim, DoFHandler<dim>>::type_dof_data,
+                             DataOut<dim>::type_dof_data,
                              interpretation);
 
     data_out.build_patches(fe.degree);
index 9c710417908db0072337ac411e9a6a4e372b164a..e000566c3f255e8fae2b8a54fe0a4bbe3e5c4ba4 100644 (file)
@@ -193,7 +193,7 @@ LaplaceProblem::solve()
 void
 LaplaceProblem::output_results() const
 {
-  DataOut<2, DoFHandler<2>> data_out;
+  DataOut<2> data_out;
   data_out.attach_dof_handler(dof_handler);
   data_out.add_data_vector(solution, "solution");
   data_out.build_patches();
index 3b8d3ec6659790404762e183bc2c676ce4add5bd..79ea3b3b5b78f2da213605d208bfe6b4f1a4191b 100644 (file)
@@ -82,15 +82,14 @@ test(const bool         vector_describes_relative_displacement,
                        vector_describes_relative_displacement);
     DataOutBase::VtkFlags flags;
 
-    DataOut<dim, DoFHandler<dim, spacedim>> data_out;
+    DataOut<dim, spacedim> data_out;
     data_out.set_flags(flags);
     data_out.attach_dof_handler(dof_handler);
 
     data_out.build_patches(
       mapping,
       fe_degree + 1,
-      DataOut<dim,
-              DoFHandler<dim, spacedim>>::CurvedCellRegion::curved_inner_cells);
+      DataOut<dim, spacedim>::CurvedCellRegion::curved_inner_cells);
 
     static unsigned int counter = 0;
 
index 4d00b4614e54da61fba4bff0a58dfff197c80190..4b9752b24f0d35dde762402f334915dd03c7a39a 100644 (file)
@@ -80,7 +80,7 @@ test(std::ostream & /*out*/)
   dh.distribute_dofs(fe);
   deallog << "dofs " << dh.n_dofs() << std::endl;
 
-  DataOut<dim, DoFHandler<dim, spacedim>> data_out;
+  DataOut<dim, spacedim> data_out;
   data_out.attach_triangulation(tr);
   Vector<float> subdomain(tr.n_active_cells());
   for (unsigned int i = 0; i < subdomain.size(); ++i)
index f16fe3cb4be8808cee01ea38fefd6d33e7207d0f..1e86862628e0f97d9eec77c6bc58ac184c2cf7f4 100644 (file)
@@ -81,9 +81,9 @@ test()
   TrilinosWrappers::MPI::Vector x_rel(relevant_set, MPI_COMM_WORLD);
   x_rel = interpolated;
 
-  Functions::
-    FEFieldFunction<dim, DoFHandler<dim>, TrilinosWrappers::MPI::Vector>
-      field_function(dofh, x_rel);
+  Functions::FEFieldFunction<dim, TrilinosWrappers::MPI::Vector> field_function(
+    dofh, x_rel);
+
 
   for (unsigned int test = 0; test < 4; ++test)
     {
index 5ce3c3489c4e11dd16d01d94c2abc04775ad41d8..72c72c54a98ce298ba0bb3f8d3e17e0f41f1c976 100644 (file)
@@ -104,9 +104,9 @@ test()
   TrilinosWrappers::MPI::Vector x_rel(relevant_set, MPI_COMM_WORLD);
   x_rel = interpolated;
 
-  Functions::
-    FEFieldFunction<dim, DoFHandler<dim>, TrilinosWrappers::MPI::Vector>
-      field_function(dofh, x_rel);
+  Functions::FEFieldFunction<dim, TrilinosWrappers::MPI::Vector> field_function(
+    dofh, x_rel);
+
 
   std::vector<Point<dim>> points;
 
index c91857ed161c05d3cff3744d815309da4f2ac1cd..a0e698b8733f6d7a0a10e21cdc4d85e8c69add15 100644 (file)
@@ -93,9 +93,9 @@ test()
   TrilinosWrappers::MPI::Vector x_rel(relevant_set, MPI_COMM_WORLD);
   x_rel = interpolated;
 
-  typename Functions::
-    FEFieldFunction<dim, DoFHandler<dim>, TrilinosWrappers::MPI::Vector>
-      field_func(dofh, x_rel);
+  typename Functions::FEFieldFunction<dim, TrilinosWrappers::MPI::Vector>
+
+    field_func(dofh, x_rel);
 
   Point<2>              p(0.1, 0.0);
   std::vector<Point<2>> points;
index e2dffb37c8636b44d4c7ff947fd27e8f994aaa86..5153e5d9cd9cae26ac439adfd02321f1cab19adc 100644 (file)
@@ -92,9 +92,8 @@ test()
                                        locally_relevant_dofs,
                                        com_small);
 
-      parallel::distributed::
-        SolutionTransfer<dim, PETScWrappers::MPI::Vector, DoFHandler<dim>>
-          soltrans(dh);
+      parallel::distributed::SolutionTransfer<dim, PETScWrappers::MPI::Vector>
+        soltrans(dh);
 
       for (unsigned int i = 0; i < locally_owned_dofs.n_elements(); ++i)
         {
@@ -134,6 +133,7 @@ test()
     for (unsigned int i = 0; i < max_degree; ++i)
       fe_collection.push_back(FE_Q<dim>(max_degree - i));
 
+
     dh.deserialize_active_fe_indices();
     dh.distribute_dofs(fe_collection);
 
@@ -145,9 +145,8 @@ test()
     PETScWrappers::MPI::Vector solution(locally_owned_dofs, com_all);
     solution = PetscScalar();
 
-    parallel::distributed::
-      SolutionTransfer<dim, PETScWrappers::MPI::Vector, DoFHandler<dim>>
-        soltrans(dh);
+    parallel::distributed::SolutionTransfer<dim, PETScWrappers::MPI::Vector>
+      soltrans(dh);
 
     soltrans.deserialize(solution);
 
index 1e3bbbed423a0ff69ee3aedf77c834a1b2e0a04c..e125c88af6dea8ec9826236a948c94e432123380 100644 (file)
@@ -75,8 +75,7 @@ transfer(const MPI_Comm &mpi_communicator)
     if (locally_owned_dofs.is_element(i))
       solution(i) = i;
 
-  SolutionTransfer<dim, TrilinosWrappers::MPI::Vector, DoFHandler<dim>>
-    soltrans(dof_handler);
+  SolutionTransfer<dim, TrilinosWrappers::MPI::Vector> soltrans(dof_handler);
 
   typename Triangulation<dim>::active_cell_iterator cell = tria.begin_active(),
                                                     endc = tria.end();
index b8a0e0e316ff0dad8f099285c48ab67f52157e87..56ff3bd6734523a6af9fc7525c2754ed86bf18c0 100644 (file)
@@ -128,8 +128,8 @@ transfer(const MPI_Comm &mpi_communicator)
     if (locally_owned_dofs.is_element(i))
       solution(i) = i;
 
-  SolutionTransfer<dim, TrilinosWrappers::MPI::BlockVector, DoFHandler<dim>>
-    soltrans(dof_handler);
+  SolutionTransfer<dim, TrilinosWrappers::MPI::BlockVector> soltrans(
+    dof_handler);
 
   typename Triangulation<dim>::active_cell_iterator cell = tria.begin_active(),
                                                     endc = tria.end();
index 3ef2f400e265e4755c703ebc4f480bb6e8cbd7b2..29104aa33c86c494ddeff499c9b2104aef9907d3 100644 (file)
@@ -99,9 +99,8 @@ test()
 
 
   // ----- transfer -----
-  parallel::distributed::
-    SolutionTransfer<dim, TrilinosWrappers::MPI::Vector, DoFHandler<dim>>
-      soltrans(dh);
+  parallel::distributed::SolutionTransfer<dim, TrilinosWrappers::MPI::Vector>
+    soltrans(dh);
 
   soltrans.prepare_for_coarsening_and_refinement(old_solution);
   tria.execute_coarsening_and_refinement();
index 51660817446053c954836dd7b0e82d43f3792eeb..4507900fd73f7126e321f0fa2e4478757e48a059 100644 (file)
@@ -82,11 +82,11 @@ test()
                            dgq_solution);
   dgq_solution.update_ghost_values();
 
-  parallel::distributed::SolutionTransfer<
-    dim,
-    LinearAlgebra::distributed::Vector<double>,
-    DoFHandler<dim>>
-    dgq_soltrans(dgq_dof_handler);
+  parallel::distributed::
+    SolutionTransfer<dim, LinearAlgebra::distributed::Vector<double>>
+
+
+      dgq_soltrans(dgq_dof_handler);
   dgq_soltrans.prepare_for_coarsening_and_refinement(dgq_solution);
 
   // refine and transfer
index 27e573616e5d5c192e3daba8cdba3179799ea7b0..fbdc709a904b89c2d2d04266944cf4468d7d33de 100644 (file)
@@ -142,7 +142,7 @@ test(const unsigned int n_refinements,
       data_out.add_data_vector(
         results[l],
         "solution",
-        DataOut_DoFData<DoFHandler<dim>, dim>::DataVectorType::type_dof_data);
+        DataOut_DoFData<dim, dim>::DataVectorType::type_dof_data);
       data_out.build_patches(*mapping_, 2);
 
       std::ofstream output("test." + std::to_string(dim) + "." +
index edbeae42497982a2efee29bb2472f18dae1175e4..567baa866bdc23c41cd12c462de899fe0962be85 100644 (file)
@@ -172,7 +172,7 @@ test(const unsigned int n_refinements,
       data_out.add_data_vector(
         results[l],
         "solution",
-        DataOut_DoFData<DoFHandler<dim>, dim>::DataVectorType::type_dof_data);
+        DataOut_DoFData<dim, dim>::DataVectorType::type_dof_data);
       data_out.build_patches(*mapping_, 2);
 
       std::ofstream output("test." + std::to_string(dim) + "." +
index 0394b4217fca16ef25ab72c821524513f7292355..754f70768081d55fb6ebff9a7599a00543a42bfc 100644 (file)
@@ -243,7 +243,7 @@ output(const std::string         name,
       fe_degrees(index) = dof_handler.get_fe(cell->active_fe_index()).degree;
   }
 
-  dealii::DataOut<dim, dealii::DoFHandler<dim>> data_out;
+  dealii::DataOut<dim> data_out;
   data_out.attach_dof_handler(dof_handler);
   data_out.add_data_vector(values, std::string("function_interpolation"));
   data_out.add_data_vector(fe_degrees, std::string("fe_degree"));
index efa822912b57872665bdf670eefe20b3d82a912e..d725259ecc0dbe4f39223f29d731686805d23fc4 100644 (file)
@@ -188,7 +188,7 @@ output(const std::string                   name,
       fe_degrees(index) = dof_handler.get_fe(cell->active_fe_index()).degree;
   }
 
-  dealii::DataOut<dim, dealii::DoFHandler<dim>> data_out;
+  dealii::DataOut<dim> data_out;
   data_out.attach_dof_handler(dof_handler);
   data_out.add_data_vector(values, std::string("function_interpolation"));
   data_out.add_data_vector(fe_degrees, std::string("fe_degree"));
index baa181afd2d39e9a3e8aeed1a255e673c3f2612d..cc76fb4a3a5acaafb56bb48b3522cea9797ca565 100644 (file)
@@ -60,9 +60,8 @@ check()
   for (unsigned int i = 0; i < dof_handler.n_dofs(); ++i)
     vector(i) = i;
 
-  Functions::FEFieldFunction<dim, DoFHandler<dim>> fe_field(dof_handler,
-                                                            vector);
-  QGauss<dim>                                      quadrature(5);
+  Functions::FEFieldFunction<dim> fe_field(dof_handler, vector);
+  QGauss<dim>                     quadrature(5);
 
   deallog << "values:" << std::endl;
 
index e059d78a1e1e951e12d2ce43b1fe27b1a038e25e..8326b033333d63bef88df0cad00af6301cd5f39b 100644 (file)
@@ -100,7 +100,7 @@ test(const Triangulation<dim> &tr, const hp::FECollection<dim> &fe)
     if (std::fabs(v(i)) < 1e-12)
       v(i) = 0;
 
-  DataOut<dim, DoFHandler<dim>> data_out;
+  DataOut<dim> data_out;
   data_out.attach_dof_handler(dh);
 
   std::vector<DataComponentInterpretation::DataComponentInterpretation>
@@ -108,8 +108,9 @@ test(const Triangulation<dim> &tr, const hp::FECollection<dim> &fe)
       dim, DataComponentInterpretation::component_is_part_of_vector);
 
   data_out.add_data_vector(v,
+
                            "x",
-                           DataOut<dim, DoFHandler<dim>>::type_dof_data,
+                           DataOut<dim>::type_dof_data,
                            data_component_interpretation);
   data_out.build_patches(fe[0].degree);
 
index 20545e276f978ec3430a46ca2fb9909b31333fcb..62355fee90462d86ea0798862d0bcded3c505e12 100644 (file)
@@ -509,15 +509,15 @@ test()
       DataOutBase::VtkFlags flags;
       // flags.write_higher_order_cells = true;
 
-      DataOut<dim, DoFHandler<dim, spacedim>> data_out;
+      DataOut<dim, spacedim> data_out;
       data_out.set_flags(flags);
       data_out.add_data_vector(dof_handler, curvature_vector, "curvature");
       data_out.add_data_vector(dof_handler_dim, normal_vector, "normal");
 
-      data_out.build_patches(mapping,
-                             fe_degree + 1,
-                             DataOut<dim, DoFHandler<dim, spacedim>>::
-                               CurvedCellRegion::curved_inner_cells);
+      data_out.build_patches(
+        mapping,
+        fe_degree + 1,
+        DataOut<dim, spacedim>::CurvedCellRegion::curved_inner_cells);
       data_out.write_vtu_with_pvtu_record("./",
                                           "data_surface",
                                           0,
index c6c2a7e8c76f13406875c99b36d5f94cb97915ca..2918d4a943020320346c13e3f46092f4589bbe21 100644 (file)
@@ -445,14 +445,14 @@ test()
       DataOutBase::VtkFlags flags;
       // flags.write_higher_order_cells = true;
 
-      DataOut<dim, DoFHandler<dim, spacedim>> data_out;
+      DataOut<dim, spacedim> data_out;
       data_out.set_flags(flags);
       data_out.attach_dof_handler(dof_handler);
 
-      data_out.build_patches(mapping,
-                             fe_degree + 1,
-                             DataOut<dim, DoFHandler<dim, spacedim>>::
-                               CurvedCellRegion::curved_inner_cells);
+      data_out.build_patches(
+        mapping,
+        fe_degree + 1,
+        DataOut<dim, spacedim>::CurvedCellRegion::curved_inner_cells);
       data_out.write_vtu_with_pvtu_record("./",
                                           "data_surface",
                                           0,
index fa180b5821f4cc288bdb150c7cabc0c806ae1c21..d2d251bb33cb797f709465ac62f4645d374cf658 100644 (file)
@@ -84,7 +84,7 @@ print(const Mapping<dim, spacedim> &                    mapping,
   if (dim == spacedim)
     flags.write_higher_order_cells = true;
 
-  DataOut<dim, DoFHandler<dim, spacedim>> data_out;
+  DataOut<dim, spacedim> data_out;
   data_out.set_flags(flags);
   data_out.attach_dof_handler(dof_handler);
 
index 330b1c55ad5455c111ae1538da77dab3cc22f39e..ccc00ba9762ac5d53e05718173a2fa2593560de0 100644 (file)
@@ -919,7 +919,7 @@ DGMethod<dim>::output_results(const unsigned int cycle) const
   deallog << "Writing solution to <" << filename << ">..." << std::endl
           << std::endl;
 
-  DataOut<dim, DoFHandler<dim>> data_out;
+  DataOut<dim> data_out;
   data_out.attach_dof_handler(dof_handler);
   data_out.add_data_vector(solution2, "u");
 
index f3bf5d79786f915a3122e6f833715a2459dc1d7a..49b5b6150f07c572d585ac37d97954cd0b466ef6 100644 (file)
@@ -944,7 +944,7 @@ DGMethod<dim>::output_results(const unsigned int cycle) const
   deallog << "Writing solution to <" << filename << ">..." << std::endl
           << std::endl;
 
-  DataOut<dim, DoFHandler<dim>> data_out;
+  DataOut<dim> data_out;
   data_out.attach_dof_handler(dof_handler);
   data_out.add_data_vector(solution1, "u");
 
index 142551eac3bea1d12a9e593ce41acb93184dbcb4..518a640192808574a2b1bad67c53a8c65f4f6b77 100644 (file)
@@ -750,11 +750,11 @@ namespace Step18
       DataComponentInterpretation::DataComponentInterpretation::
         component_is_part_of_vector);
 
-    data_out.add_data_vector(incremental_displacement,
-                             solution_names,
-                             DataOut_DoFData<DoFHandler<dim, dim>, dim, dim>::
-                               DataVectorType::type_automatic,
-                             solution_interpretation);
+    data_out.add_data_vector(
+      incremental_displacement,
+      solution_names,
+      DataOut_DoFData<dim, dim>::DataVectorType::type_automatic,
+      solution_interpretation);
 
 
     Vector<double> norm_of_stress(triangulation.n_active_cells());
index 57e0cab967846a66da8c210909bf694dd6b0552d..d799e87a14af0cb90d69d7cbf5d36c8fc5348a42 100644 (file)
@@ -359,12 +359,11 @@ namespace Step38
   void
   LaplaceBeltramiProblem<spacedim>::output_results() const
   {
-    DataOut<dim, DoFHandler<dim, spacedim>> data_out;
+    DataOut<dim, spacedim> data_out;
     data_out.attach_dof_handler(dof_handler);
-    data_out.add_data_vector(
-      solution,
-      "solution",
-      DataOut<dim, DoFHandler<dim, spacedim>>::type_dof_data);
+    data_out.add_data_vector(solution,
+                             "solution",
+                             DataOut<dim, spacedim>::type_dof_data);
     data_out.build_patches(mapping, mapping.get_degree());
 
     const std::string filename =
index 67f68c7131d6c7e0607d2c4eae1877266589f6ae..3cf4b15551df59b42509b799ba22e2138a50ff34 100644 (file)
@@ -66,15 +66,14 @@ test()
   {
     DataOutBase::VtkFlags flags;
 
-    DataOut<dim, DoFHandler<dim, spacedim>> data_out;
+    DataOut<dim, spacedim> data_out;
     data_out.set_flags(flags);
     data_out.attach_dof_handler(dof_handler);
 
     data_out.build_patches(
       MappingQGeneric<dim, spacedim>(4),
       fe_degree + 1,
-      DataOut<dim,
-              DoFHandler<dim, spacedim>>::CurvedCellRegion::curved_inner_cells);
+      DataOut<dim, spacedim>::CurvedCellRegion::curved_inner_cells);
 
 #if false
     std::ofstream output("test.0.vtk");
@@ -94,15 +93,14 @@ test()
     MappingFEField<dim, spacedim> mapping(dof_handler_dim, euler_vector);
     DataOutBase::VtkFlags         flags;
 
-    DataOut<dim, DoFHandler<dim, spacedim>> data_out;
+    DataOut<dim, spacedim> data_out;
     data_out.set_flags(flags);
     data_out.attach_dof_handler(dof_handler);
 
     data_out.build_patches(
       mapping,
       fe_degree + 1,
-      DataOut<dim,
-              DoFHandler<dim, spacedim>>::CurvedCellRegion::curved_inner_cells);
+      DataOut<dim, spacedim>::CurvedCellRegion::curved_inner_cells);
 
 #if false
     std::ofstream output("test.1.vtk");

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.