From 56cc0e5e5db42823ec2582b63d9bc09f8f165037 Mon Sep 17 00:00:00 2001 From: bangerth Date: Wed, 22 Aug 2012 19:50:44 +0000 Subject: [PATCH] As discussed at the workshop, rename types::material_id_t to types::material_id and retain the old name as a deprecated typedef. Do the same with subdomain_id and boundary_id. git-svn-id: https://svn.dealii.org/trunk@26086 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/bits/anna_4.cc | 2 +- tests/bits/anna_6.cc | 4 ++-- tests/bits/dof_tools_05.cc | 2 +- tests/bits/dof_tools_09.cc | 4 ++-- tests/bits/dof_tools_14.cc | 2 +- tests/bits/dof_tools_16a.cc | 2 +- tests/bits/dof_tools_16b.cc | 2 +- tests/bits/dof_tools_16b_x.cc | 2 +- tests/bits/dof_tools_16c.cc | 2 +- tests/bits/dof_tools_16d.cc | 2 +- tests/bits/dof_tools_16d_x.cc | 2 +- tests/bits/dof_tools_20.cc | 2 +- tests/bits/error_estimator_01.cc | 2 +- tests/bits/error_estimator_02.cc | 2 +- tests/bits/get_boundary_indicators_1d.cc | 2 +- tests/bits/grid_generator_03.cc | 20 +++++++++---------- tests/codim_one/boundary_indicator_01.cc | 2 +- tests/codim_one/data_out_03.cc | 2 +- tests/codim_one/error_estimator_01.cc | 2 +- tests/codim_one/extract_boundary_mesh_00.cc | 2 +- tests/codim_one/extract_boundary_mesh_04.cc | 2 +- tests/codim_one/hanging_nodes_01.cc | 2 +- tests/codim_one/hanging_nodes_02.cc | 2 +- tests/codim_one/hanging_nodes_03.cc | 2 +- .../interpolate_boundary_values_03.cc | 2 +- tests/codim_one/transform_01.cc | 2 +- tests/deal.II/error_estimator.cc | 2 +- tests/deal.II/error_estimator_01.cc | 2 +- .../deal.II/interpolate_boundary_values_01.cc | 2 +- tests/deal.II/no_flux_01.cc | 2 +- tests/deal.II/no_flux_02.cc | 2 +- tests/deal.II/no_flux_03.cc | 2 +- tests/deal.II/no_flux_04.cc | 2 +- tests/deal.II/no_flux_05.cc | 2 +- tests/deal.II/no_flux_06.cc | 2 +- tests/deal.II/no_flux_07.cc | 2 +- tests/deal.II/no_flux_08.cc | 4 ++-- tests/deal.II/no_flux_09.cc | 2 +- tests/deal.II/no_flux_hp_01.cc | 2 +- tests/deal.II/no_flux_hp_02.cc | 2 +- tests/deal.II/no_flux_hp_03.cc | 2 +- tests/deal.II/no_flux_hp_04.cc | 2 +- tests/deal.II/no_flux_hp_05.cc | 2 +- tests/deal.II/project_boundary_rt_01.cc | 2 +- tests/deal.II/vertex_as_face_08.cc | 2 +- tests/deal.II/vertex_as_face_10.cc | 2 +- tests/fe/abf_01.cc | 2 +- tests/hp/create_rhs_01.cc | 4 ++-- tests/mpi/no_flux_constraints.cc | 2 +- tests/mpi/no_flux_constraints_02.cc | 2 +- tests/mpi/no_flux_constraints_03.cc | 2 +- tests/mpi/p4est_2d_constraintmatrix_03.cc | 2 +- 52 files changed, 65 insertions(+), 65 deletions(-) diff --git a/tests/bits/anna_4.cc b/tests/bits/anna_4.cc index 1cbcfa3a25..f990548eb0 100644 --- a/tests/bits/anna_4.cc +++ b/tests/bits/anna_4.cc @@ -187,7 +187,7 @@ void FindBug::dirichlet_conditions () std::vector fixed_dofs (dof_handler.n_dofs()); - std::set boundary_indicators; + std::set boundary_indicators; boundary_indicators.insert (0); // get a list of those boundary DoFs which diff --git a/tests/bits/anna_6.cc b/tests/bits/anna_6.cc index b40d2e8616..eb9233b28e 100644 --- a/tests/bits/anna_6.cc +++ b/tests/bits/anna_6.cc @@ -183,7 +183,7 @@ void ImposeBC::test_extract_boundary_DoFs () bc_component_select[2] = false; std::vector ned_boundary_dofs (dof_handler.n_dofs()); - std::set boundary_indicators; + std::set boundary_indicators; boundary_indicators.insert (0); DoFTools::extract_boundary_dofs (dof_handler, bc_component_select, @@ -222,7 +222,7 @@ void ImposeBC::test_interpolate_BC () // (the pressure is assumed to be set to 1 // on the boundary) std::vector p_boundary_dofs (dof_handler.n_dofs()); - std::set boundary_indicators; + std::set boundary_indicators; boundary_indicators.insert (0); DoFTools::extract_boundary_dofs (dof_handler, bc_component_select, diff --git a/tests/bits/dof_tools_05.cc b/tests/bits/dof_tools_05.cc index b2af03a483..d08f3eedd4 100644 --- a/tests/bits/dof_tools_05.cc +++ b/tests/bits/dof_tools_05.cc @@ -51,7 +51,7 @@ check_this (const DoFHandler &dof_handler) // third further restrict to // boundary indicator 0 { - std::set boundary_ids; + std::set boundary_ids; boundary_ids.insert (0); DoFTools::extract_boundary_dofs (dof_handler, component_select, diff --git a/tests/bits/dof_tools_09.cc b/tests/bits/dof_tools_09.cc index 5037e61eab..11552d6bde 100644 --- a/tests/bits/dof_tools_09.cc +++ b/tests/bits/dof_tools_09.cc @@ -16,7 +16,7 @@ // check // DoFTools::map_dof_to_boundary_indices(const DoFHandler &, -// const std::set &, +// const std::set &, // std::vector &) @@ -28,7 +28,7 @@ void check_this (const DoFHandler &dof_handler) { std::vector map(dof_handler.n_dofs()); - std::set boundary_ids; + std::set boundary_ids; // check for boundary id 0 alone boundary_ids.insert (0); diff --git a/tests/bits/dof_tools_14.cc b/tests/bits/dof_tools_14.cc index 135a084f5f..428f7fc9d2 100644 --- a/tests/bits/dof_tools_14.cc +++ b/tests/bits/dof_tools_14.cc @@ -36,7 +36,7 @@ check_this (const DoFHandler &dof_handler) deallog << dof_handler.n_boundary_dofs(fm) << std::endl; // with std::set - std::set s; + std::set s; s.insert (0); deallog << dof_handler.n_boundary_dofs(s) << std::endl; diff --git a/tests/bits/dof_tools_16a.cc b/tests/bits/dof_tools_16a.cc index 2173bb0c30..0d2e046887 100644 --- a/tests/bits/dof_tools_16a.cc +++ b/tests/bits/dof_tools_16a.cc @@ -36,7 +36,7 @@ check_this (const DoFHandler &dof_handler) return; std::vector map (dof_handler.n_dofs()); - std::set set; + std::set set; set.insert (0); DoFTools::map_dof_to_boundary_indices (dof_handler, set, map); diff --git a/tests/bits/dof_tools_16b.cc b/tests/bits/dof_tools_16b.cc index 805d3cd67b..c2e3f797da 100644 --- a/tests/bits/dof_tools_16b.cc +++ b/tests/bits/dof_tools_16b.cc @@ -35,7 +35,7 @@ check_this (const DoFHandler &dof_handler) return; std::vector map (dof_handler.n_dofs()); - std::set set; + std::set set; set.insert (0); DoFTools::map_dof_to_boundary_indices (dof_handler, set, map); diff --git a/tests/bits/dof_tools_16b_x.cc b/tests/bits/dof_tools_16b_x.cc index 97c1eb8860..e88a192fee 100644 --- a/tests/bits/dof_tools_16b_x.cc +++ b/tests/bits/dof_tools_16b_x.cc @@ -35,7 +35,7 @@ check_this (const DoFHandler &dof_handler) return; std::vector map (dof_handler.n_dofs()); - std::set set; + std::set set; set.insert (0); DoFTools::map_dof_to_boundary_indices (dof_handler, set, map); diff --git a/tests/bits/dof_tools_16c.cc b/tests/bits/dof_tools_16c.cc index d8476fe0cc..f758ee3394 100644 --- a/tests/bits/dof_tools_16c.cc +++ b/tests/bits/dof_tools_16c.cc @@ -35,7 +35,7 @@ check_this (const DoFHandler &dof_handler) return; std::vector map (dof_handler.n_dofs()); - std::set set; + std::set set; set.insert (0); DoFTools::map_dof_to_boundary_indices (dof_handler, set, map); diff --git a/tests/bits/dof_tools_16d.cc b/tests/bits/dof_tools_16d.cc index 035c54513d..1634cf490c 100644 --- a/tests/bits/dof_tools_16d.cc +++ b/tests/bits/dof_tools_16d.cc @@ -35,7 +35,7 @@ check_this (const DoFHandler &dof_handler) return; std::vector map (dof_handler.n_dofs()); - std::set set; + std::set set; set.insert (0); DoFTools::map_dof_to_boundary_indices (dof_handler, set, map); diff --git a/tests/bits/dof_tools_16d_x.cc b/tests/bits/dof_tools_16d_x.cc index 347f3db0d4..ad9204f157 100644 --- a/tests/bits/dof_tools_16d_x.cc +++ b/tests/bits/dof_tools_16d_x.cc @@ -35,7 +35,7 @@ check_this (const DoFHandler &dof_handler) return; std::vector map (dof_handler.n_dofs()); - std::set set; + std::set set; set.insert (0); DoFTools::map_dof_to_boundary_indices (dof_handler, set, map); diff --git a/tests/bits/dof_tools_20.cc b/tests/bits/dof_tools_20.cc index 3e4e9501df..677b03f493 100644 --- a/tests/bits/dof_tools_20.cc +++ b/tests/bits/dof_tools_20.cc @@ -51,7 +51,7 @@ check_this (const DoFHandler &dof_handler) // third further restrict to // boundary indicator 0 { - std::set boundary_ids; + std::set boundary_ids; boundary_ids.insert (0); DoFTools::extract_dofs_with_support_on_boundary (dof_handler, component_select, diff --git a/tests/bits/error_estimator_01.cc b/tests/bits/error_estimator_01.cc index 1dd208494b..6148aff77d 100644 --- a/tests/bits/error_estimator_01.cc +++ b/tests/bits/error_estimator_01.cc @@ -130,7 +130,7 @@ check () MappingQ mapping(3); Quadrature &q_face = get_q_face(function); - std::map*> neumann_bc; + std::map*> neumann_bc; neumann_bc[0] = &function; Vector v (dof.n_dofs()); diff --git a/tests/bits/error_estimator_02.cc b/tests/bits/error_estimator_02.cc index 89171bebdc..6169d491be 100644 --- a/tests/bits/error_estimator_02.cc +++ b/tests/bits/error_estimator_02.cc @@ -130,7 +130,7 @@ check () MappingQ mapping(3); Quadrature &q_face = get_q_face(function); - std::map*> neumann_bc; + std::map*> neumann_bc; neumann_bc[0] = &function; Vector v (dof.n_dofs()); diff --git a/tests/bits/get_boundary_indicators_1d.cc b/tests/bits/get_boundary_indicators_1d.cc index 72044ac500..4ae93c4845 100644 --- a/tests/bits/get_boundary_indicators_1d.cc +++ b/tests/bits/get_boundary_indicators_1d.cc @@ -26,7 +26,7 @@ int main () Triangulation<1> triangulation; GridGenerator::hyper_cube (triangulation, -1, 1); - const std::vector indicators = triangulation.get_boundary_indicators(); + const std::vector indicators = triangulation.get_boundary_indicators(); for (unsigned int i=0; i -template Table material_ids(); +template Table material_ids(); -template <> Table<1,types::material_id_t> material_ids<1>() +template <> Table<1,types::material_id> material_ids<1>() { - Table<1,types::material_id_t> t(2); + Table<1,types::material_id> t(2); for (unsigned int i=0; i<2; ++i) t[i] = 1; return t; } -template <> Table<2,types::material_id_t> material_ids<2>() +template <> Table<2,types::material_id> material_ids<2>() { - Table<2,types::material_id_t> t(2,3); + Table<2,types::material_id> t(2,3); for (unsigned int i=0; i<2; ++i) for (unsigned int j=0; j<3; ++j) t[i][j] = 1; // produce a hole in the middle - t[1][1] = (types::material_id_t)(-1); + t[1][1] = (types::material_id)(-1); return t; } -template <> Table<3,types::material_id_t> material_ids<3>() +template <> Table<3,types::material_id> material_ids<3>() { - Table<3,types::material_id_t> t(2,3,4); + Table<3,types::material_id> t(2,3,4); for (unsigned int i=0; i<2; ++i) for (unsigned int j=0; j<3; ++j) for (unsigned int k=0; k<4; ++k) t[i][j][k] = 1; // produce a hole in the middle - t[1][1][1] = (types::material_id_t)(-1); - t[1][1][2] = (types::material_id_t)(-1); + t[1][1][1] = (types::material_id)(-1); + t[1][1][2] = (types::material_id)(-1); return t; } diff --git a/tests/codim_one/boundary_indicator_01.cc b/tests/codim_one/boundary_indicator_01.cc index 4eef579dcc..f44ca07295 100644 --- a/tests/codim_one/boundary_indicator_01.cc +++ b/tests/codim_one/boundary_indicator_01.cc @@ -85,7 +85,7 @@ int main () // now extract a mesh of the 5 // surface faces - std::set boundary_indicators; + std::set boundary_indicators; boundary_indicators.insert (0); GridTools::extract_boundary_mesh (volume_mesh, boundary_mesh, boundary_indicators); diff --git a/tests/codim_one/data_out_03.cc b/tests/codim_one/data_out_03.cc index ce266641ba..a12f0eebcf 100644 --- a/tests/codim_one/data_out_03.cc +++ b/tests/codim_one/data_out_03.cc @@ -88,7 +88,7 @@ int main () tria.set_boundary (1, surface_description); tria.set_boundary (0, surface_description); - std::set boundary_ids; + std::set boundary_ids; boundary_ids.insert(0); GridTools::extract_boundary_mesh (volume_mesh, tria, diff --git a/tests/codim_one/error_estimator_01.cc b/tests/codim_one/error_estimator_01.cc index dd5caf3843..d7f01aafb5 100644 --- a/tests/codim_one/error_estimator_01.cc +++ b/tests/codim_one/error_estimator_01.cc @@ -128,7 +128,7 @@ check () MappingQ mapping(3); Quadrature &q_face = get_q_face(); - std::map*> neumann_bc; + std::map*> neumann_bc; neumann_bc[0] = &function; Vector v (dof.n_dofs()); diff --git a/tests/codim_one/extract_boundary_mesh_00.cc b/tests/codim_one/extract_boundary_mesh_00.cc index 6ab6d7af3a..9bc1495cbb 100644 --- a/tests/codim_one/extract_boundary_mesh_00.cc +++ b/tests/codim_one/extract_boundary_mesh_00.cc @@ -165,7 +165,7 @@ int main () save_mesh(volume_mesh); Triangulation boundary_mesh; - set boundary_ids; + set boundary_ids; boundary_ids.insert(0); surface_to_volume_mapping diff --git a/tests/codim_one/extract_boundary_mesh_04.cc b/tests/codim_one/extract_boundary_mesh_04.cc index bebed43111..9ddcdd0c4d 100644 --- a/tests/codim_one/extract_boundary_mesh_04.cc +++ b/tests/codim_one/extract_boundary_mesh_04.cc @@ -117,7 +117,7 @@ int main () boundary_mesh.set_boundary (1, surface_description); boundary_mesh.set_boundary (0, surface_description); - set boundary_ids; + set boundary_ids; boundary_ids.insert(1); surface_to_volume_mapping diff --git a/tests/codim_one/hanging_nodes_01.cc b/tests/codim_one/hanging_nodes_01.cc index 4bc550b783..23f95ff4d1 100644 --- a/tests/codim_one/hanging_nodes_01.cc +++ b/tests/codim_one/hanging_nodes_01.cc @@ -50,7 +50,7 @@ int main () cell = volume_mesh.begin_active(); cell->face(0)->set_all_boundary_indicators (1); - std::set boundary_ids; + std::set boundary_ids; boundary_ids.insert(0); GridTools::extract_boundary_mesh (volume_mesh, boundary_mesh, boundary_ids); } diff --git a/tests/codim_one/hanging_nodes_02.cc b/tests/codim_one/hanging_nodes_02.cc index 0c9dae13ec..1d49197267 100644 --- a/tests/codim_one/hanging_nodes_02.cc +++ b/tests/codim_one/hanging_nodes_02.cc @@ -50,7 +50,7 @@ int main () cell = volume_mesh.begin_active(); cell->face(0)->set_all_boundary_indicators (1); - std::set boundary_ids; + std::set boundary_ids; boundary_ids.insert(0); GridTools::extract_boundary_mesh (volume_mesh, boundary_mesh, boundary_ids); } diff --git a/tests/codim_one/hanging_nodes_03.cc b/tests/codim_one/hanging_nodes_03.cc index 12b76b3f30..52c18f923d 100644 --- a/tests/codim_one/hanging_nodes_03.cc +++ b/tests/codim_one/hanging_nodes_03.cc @@ -44,7 +44,7 @@ int main () cell = volume_mesh.begin_active(); cell->face(0)->set_all_boundary_indicators (1); - std::set boundary_ids; + std::set boundary_ids; boundary_ids.insert(0); GridTools::extract_boundary_mesh (volume_mesh, boundary_mesh, boundary_ids); } diff --git a/tests/codim_one/interpolate_boundary_values_03.cc b/tests/codim_one/interpolate_boundary_values_03.cc index 28e10ac822..225d791cca 100644 --- a/tests/codim_one/interpolate_boundary_values_03.cc +++ b/tests/codim_one/interpolate_boundary_values_03.cc @@ -38,7 +38,7 @@ void test() { Triangulation tria; Triangulation volume_mesh; GridGenerator::half_hyper_ball(volume_mesh); - std::set boundary_ids; + std::set boundary_ids; boundary_ids.insert(0); GridTools::extract_boundary_mesh (volume_mesh, tria,boundary_ids); diff --git a/tests/codim_one/transform_01.cc b/tests/codim_one/transform_01.cc index e7700d4f0e..4d48db6c2a 100644 --- a/tests/codim_one/transform_01.cc +++ b/tests/codim_one/transform_01.cc @@ -68,7 +68,7 @@ int main () triangulation.set_boundary (1, surface_description); triangulation.set_boundary (0, surface_description); - std::set boundary_ids; + std::set boundary_ids; boundary_ids.insert(0); GridTools::extract_boundary_mesh (volume_mesh, triangulation, diff --git a/tests/deal.II/error_estimator.cc b/tests/deal.II/error_estimator.cc index 2b1ec9b177..9c919020f3 100644 --- a/tests/deal.II/error_estimator.cc +++ b/tests/deal.II/error_estimator.cc @@ -95,7 +95,7 @@ check () MappingQ mapping(3); Quadrature &q_face = get_q_face(function); - std::map*> neumann_bc; + std::map*> neumann_bc; neumann_bc[0] = &function; Vector v (dof.n_dofs()); diff --git a/tests/deal.II/error_estimator_01.cc b/tests/deal.II/error_estimator_01.cc index af9002829d..c0edc199c9 100644 --- a/tests/deal.II/error_estimator_01.cc +++ b/tests/deal.II/error_estimator_01.cc @@ -55,7 +55,7 @@ check () MappingQ mapping(3); QGauss q_face(4); - std::map*> neumann_bc; + std::map*> neumann_bc; neumann_bc[0] = &function; Vector v (dof.n_dofs()); diff --git a/tests/deal.II/interpolate_boundary_values_01.cc b/tests/deal.II/interpolate_boundary_values_01.cc index 53f41f7f82..f6ecedf816 100644 --- a/tests/deal.II/interpolate_boundary_values_01.cc +++ b/tests/deal.II/interpolate_boundary_values_01.cc @@ -148,7 +148,7 @@ void FindBug::dirichlet_conditions () std::vector fixed_dofs (dof_handler.n_dofs()); - std::set boundary_indicators; + std::set boundary_indicators; boundary_indicators.insert (0); // get a list of those boundary DoFs which diff --git a/tests/deal.II/no_flux_01.cc b/tests/deal.II/no_flux_01.cc index c14aaf0b2b..30862e203c 100644 --- a/tests/deal.II/no_flux_01.cc +++ b/tests/deal.II/no_flux_01.cc @@ -45,7 +45,7 @@ void test (const Triangulation& tr, << ", case=" << i << std::endl; - std::set boundary_ids; + std::set boundary_ids; for (unsigned int j=0; j<=i; ++j) boundary_ids.insert (j); diff --git a/tests/deal.II/no_flux_02.cc b/tests/deal.II/no_flux_02.cc index 7b5eb66cee..ed03b0cf98 100644 --- a/tests/deal.II/no_flux_02.cc +++ b/tests/deal.II/no_flux_02.cc @@ -47,7 +47,7 @@ void test (const Triangulation& tr, << ", case=" << i << std::endl; - std::set boundary_ids; + std::set boundary_ids; for (unsigned int j=0; j<=i; ++j) boundary_ids.insert (j); diff --git a/tests/deal.II/no_flux_03.cc b/tests/deal.II/no_flux_03.cc index 82e3904a7e..420bc83247 100644 --- a/tests/deal.II/no_flux_03.cc +++ b/tests/deal.II/no_flux_03.cc @@ -45,7 +45,7 @@ void test (const Triangulation& tr, deallog << "FE=" << fe.get_name() << std::endl; - std::set boundary_ids; + std::set boundary_ids; boundary_ids.insert (0); ConstraintMatrix cm; diff --git a/tests/deal.II/no_flux_04.cc b/tests/deal.II/no_flux_04.cc index 00a87271dd..1da08dc969 100644 --- a/tests/deal.II/no_flux_04.cc +++ b/tests/deal.II/no_flux_04.cc @@ -78,7 +78,7 @@ void test (const Triangulation& tr, deallog << "FE=" << fe.get_name() << std::endl; - std::set boundary_ids; + std::set boundary_ids; boundary_ids.insert (0); ConstraintMatrix cm; diff --git a/tests/deal.II/no_flux_05.cc b/tests/deal.II/no_flux_05.cc index f30b0f593d..6b7d547acb 100644 --- a/tests/deal.II/no_flux_05.cc +++ b/tests/deal.II/no_flux_05.cc @@ -57,7 +57,7 @@ void test (const Triangulation& tr, << ", case=" << i << std::endl; - std::set boundary_ids; + std::set boundary_ids; for (unsigned int j=0; j<=i; ++j) boundary_ids.insert (j); diff --git a/tests/deal.II/no_flux_06.cc b/tests/deal.II/no_flux_06.cc index ea57693a52..1bb8df815c 100644 --- a/tests/deal.II/no_flux_06.cc +++ b/tests/deal.II/no_flux_06.cc @@ -48,7 +48,7 @@ void test_hyper_cube() deallog << "FE=" << fe.get_name() << std::endl; - std::set boundary_ids; + std::set boundary_ids; boundary_ids.insert (1); boundary_ids.insert (3); diff --git a/tests/deal.II/no_flux_07.cc b/tests/deal.II/no_flux_07.cc index a185202c5f..dacd22392c 100644 --- a/tests/deal.II/no_flux_07.cc +++ b/tests/deal.II/no_flux_07.cc @@ -47,7 +47,7 @@ void test (const Triangulation& tr, DoFHandler dof(tr); dof.distribute_dofs(fe); - std::set boundary_ids; + std::set boundary_ids; boundary_ids.insert (0); ConstraintMatrix cm; diff --git a/tests/deal.II/no_flux_08.cc b/tests/deal.II/no_flux_08.cc index 57dc46c229..d453b05a5e 100644 --- a/tests/deal.II/no_flux_08.cc +++ b/tests/deal.II/no_flux_08.cc @@ -15,7 +15,7 @@ // we used to get this crash: // // An error occurred in line <4646> of file in function -// static void dealii::VectorTools::compute_no_normal_flux_constraints(const DH&, unsigned int, const std::set&, dealii::ConstraintMatrix&, const dealii::Mapping&) [with int dim = 3, DH = dealii::DoFHandler, int spacedim = 3] +// static void dealii::VectorTools::compute_no_normal_flux_constraints(const DH&, unsigned int, const std::set&, dealii::ConstraintMatrix&, const dealii::Mapping&) [with int dim = 3, DH = dealii::DoFHandler, int spacedim = 3] // The violated condition was: // std::fabs (tangent.norm()-1) < 1e-12 // The name and call sequence of the exception was: @@ -55,7 +55,7 @@ check () dofh.distribute_dofs (fe); - std::set no_normal_flux_boundaries; + std::set no_normal_flux_boundaries; no_normal_flux_boundaries.insert (0); VectorTools::compute_no_normal_flux_constraints (dofh, 0, no_normal_flux_boundaries, cm, mapping); diff --git a/tests/deal.II/no_flux_09.cc b/tests/deal.II/no_flux_09.cc index ee1736d860..6bb2b86089 100644 --- a/tests/deal.II/no_flux_09.cc +++ b/tests/deal.II/no_flux_09.cc @@ -53,7 +53,7 @@ check () dofh.distribute_dofs (fe); - std::set no_normal_flux_boundaries; + std::set no_normal_flux_boundaries; no_normal_flux_boundaries.insert (1); // no_normal_flux_boundaries.insert (2); // not required for the crash for now, please test with it later! no_normal_flux_boundaries.insert (3); diff --git a/tests/deal.II/no_flux_hp_01.cc b/tests/deal.II/no_flux_hp_01.cc index e5f6faff68..abe5c93ba0 100644 --- a/tests/deal.II/no_flux_hp_01.cc +++ b/tests/deal.II/no_flux_hp_01.cc @@ -32,7 +32,7 @@ void test (const Triangulation& tr, << ", case=" << i << std::endl; - std::set boundary_ids; + std::set boundary_ids; for (unsigned int j=0; j<=i; ++j) boundary_ids.insert (j); diff --git a/tests/deal.II/no_flux_hp_02.cc b/tests/deal.II/no_flux_hp_02.cc index eb728be9f3..1e2938aaa6 100644 --- a/tests/deal.II/no_flux_hp_02.cc +++ b/tests/deal.II/no_flux_hp_02.cc @@ -35,7 +35,7 @@ void test (const Triangulation& tr, << ", case=" << i << std::endl; - std::set boundary_ids; + std::set boundary_ids; for (unsigned int j=0; j<=i; ++j) boundary_ids.insert (j); diff --git a/tests/deal.II/no_flux_hp_03.cc b/tests/deal.II/no_flux_hp_03.cc index 9ea9580778..d46089e471 100644 --- a/tests/deal.II/no_flux_hp_03.cc +++ b/tests/deal.II/no_flux_hp_03.cc @@ -32,7 +32,7 @@ void test (const Triangulation& tr, deallog << "FE=" << fe[0].get_name() << std::endl; - std::set boundary_ids; + std::set boundary_ids; boundary_ids.insert (0); ConstraintMatrix cm; diff --git a/tests/deal.II/no_flux_hp_04.cc b/tests/deal.II/no_flux_hp_04.cc index 85f9664b1b..d9f149769c 100644 --- a/tests/deal.II/no_flux_hp_04.cc +++ b/tests/deal.II/no_flux_hp_04.cc @@ -65,7 +65,7 @@ void test (const Triangulation& tr, deallog << "FE=" << fe[0].get_name() << std::endl; - std::set boundary_ids; + std::set boundary_ids; boundary_ids.insert (0); ConstraintMatrix cm; diff --git a/tests/deal.II/no_flux_hp_05.cc b/tests/deal.II/no_flux_hp_05.cc index 545caa40c7..b9d411b26c 100644 --- a/tests/deal.II/no_flux_hp_05.cc +++ b/tests/deal.II/no_flux_hp_05.cc @@ -45,7 +45,7 @@ void test (const Triangulation& tr, << ", case=" << i << std::endl; - std::set boundary_ids; + std::set boundary_ids; for (unsigned int j=0; j<=i; ++j) boundary_ids.insert (j); diff --git a/tests/deal.II/project_boundary_rt_01.cc b/tests/deal.II/project_boundary_rt_01.cc index 93637960b3..8a9157f0d7 100644 --- a/tests/deal.II/project_boundary_rt_01.cc +++ b/tests/deal.II/project_boundary_rt_01.cc @@ -134,7 +134,7 @@ void test_projection (const Triangulation& tr, TestFunction f(degree-1); std::map boundary_constraints; typename FunctionMap::type boundary_map; - for (types::boundary_id_t i=0;i<255;++i) + for (types::boundary_id i=0;i<255;++i) boundary_map[i] = &f; VectorTools::project_boundary_values(mapping, dof, boundary_map, quadrature, boundary_constraints); diff --git a/tests/deal.II/vertex_as_face_08.cc b/tests/deal.II/vertex_as_face_08.cc index eba87370b8..bcf2236add 100644 --- a/tests/deal.II/vertex_as_face_08.cc +++ b/tests/deal.II/vertex_as_face_08.cc @@ -31,7 +31,7 @@ void test () GridGenerator::hyper_cube (tria); tria.refine_global (2); - std::vector + std::vector boundary_ids = tria.get_boundary_indicators (); for (unsigned int i=0; iface(0)->set_boundary_indicator(2); tria.begin_active()->face(1)->set_boundary_indicator(4); - std::vector + std::vector boundary_ids = tria.get_boundary_indicators (); for (unsigned int i=0; i &mapping, // @p{function} to hold on all parts of the // boundary typename FunctionMap::type boundary_functions; - for (types::boundary_id_t c=0; c<255; ++c) + for (types::boundary_id c=0; c<255; ++c) boundary_functions[c] = &function; project_boundary_values (dof, boundary_functions, q_boundary, boundary_values); diff --git a/tests/hp/create_rhs_01.cc b/tests/hp/create_rhs_01.cc index 78f7674e0e..b961f2fe57 100644 --- a/tests/hp/create_rhs_01.cc +++ b/tests/hp/create_rhs_01.cc @@ -72,8 +72,8 @@ void test () Vector rhs_vector(hp_dof_handler.n_dofs()); Vector rhs_vector2(hp_dof_handler2.n_dofs()); - types::boundary_id_t myints[1]; - std::set boundary_indicators (myints,myints+1); + types::boundary_id myints[1]; + std::set boundary_indicators (myints,myints+1); myints[0]=0; hp::QCollection<1> quadrature; quadrature.push_back (QGauss<1>(1)); diff --git a/tests/mpi/no_flux_constraints.cc b/tests/mpi/no_flux_constraints.cc index 071b3aa037..1432e6d9c3 100644 --- a/tests/mpi/no_flux_constraints.cc +++ b/tests/mpi/no_flux_constraints.cc @@ -106,7 +106,7 @@ void test() ConstraintMatrix constraints; constraints.reinit(relevant_set); DoFTools::make_hanging_node_constraints (dofh, constraints); - std::set no_normal_flux_boundaries; + std::set no_normal_flux_boundaries; no_normal_flux_boundaries.insert (1); const unsigned int degree = 1; VectorTools::compute_no_normal_flux_constraints (dofh, 0, diff --git a/tests/mpi/no_flux_constraints_02.cc b/tests/mpi/no_flux_constraints_02.cc index c8d9939394..3bde23bcb4 100644 --- a/tests/mpi/no_flux_constraints_02.cc +++ b/tests/mpi/no_flux_constraints_02.cc @@ -111,7 +111,7 @@ void test() ConstraintMatrix constraints; constraints.reinit(relevant_set); DoFTools::make_hanging_node_constraints (dofh, constraints); - std::set no_normal_flux_boundaries; + std::set no_normal_flux_boundaries; no_normal_flux_boundaries.insert (1); const unsigned int degree = 1; /* VectorTools::compute_no_normal_flux_constraints (dofh, 0, diff --git a/tests/mpi/no_flux_constraints_03.cc b/tests/mpi/no_flux_constraints_03.cc index 386a76375c..f99587e4d1 100644 --- a/tests/mpi/no_flux_constraints_03.cc +++ b/tests/mpi/no_flux_constraints_03.cc @@ -82,7 +82,7 @@ void test() ConstraintMatrix constraints; constraints.reinit(relevant_set); DoFTools::make_hanging_node_constraints (dofh, constraints); - std::set no_normal_flux_boundaries; + std::set no_normal_flux_boundaries; no_normal_flux_boundaries.insert (0); const unsigned int degree = 1; VectorTools::compute_no_normal_flux_constraints (dofh, 0, diff --git a/tests/mpi/p4est_2d_constraintmatrix_03.cc b/tests/mpi/p4est_2d_constraintmatrix_03.cc index 8545d92668..fac4793724 100644 --- a/tests/mpi/p4est_2d_constraintmatrix_03.cc +++ b/tests/mpi/p4est_2d_constraintmatrix_03.cc @@ -161,7 +161,7 @@ void test() cm, velocity_mask); - std::set no_normal_flux_boundaries; + std::set no_normal_flux_boundaries; no_normal_flux_boundaries.insert (1); -- 2.39.5