From: Wolfgang Bangerth Date: Wed, 6 Dec 2017 20:00:47 +0000 (-0700) Subject: Re-enable a piece of code in a recently added test. X-Git-Tag: v9.0.0-rc1~669^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F5601%2Fhead;p=dealii.git Re-enable a piece of code in a recently added test. --- diff --git a/tests/vector_tools/boundaries_complex.cc b/tests/vector_tools/boundaries_complex.cc index 5b5e536879..55f3fcf48c 100644 --- a/tests/vector_tools/boundaries_complex.cc +++ b/tests/vector_tools/boundaries_complex.cc @@ -141,17 +141,17 @@ check () interpolated_bv, std::vector()); write_map (interpolated_bv); - // // project boundary values - // // presently this is not - // // implemented for 3d - // if (dim != 3) - // { - // deallog << "Projected boundary values" << std::endl; - // std::map projected_bv; - // VectorTools::project_boundary_values (mapping, dof, function_map, - // boundary_q(dof), projected_bv); - // write_map (projected_bv); - // } + // project boundary values + // presently this is not + // implemented for 3d + if (dim != 3) + { + deallog << "Projected boundary values" << std::endl; + std::map> projected_bv; + VectorTools::project_boundary_values (mapping, dof, function_map, + boundary_q(dof), projected_bv); + write_map (projected_bv); + } } diff --git a/tests/vector_tools/boundaries_complex.output b/tests/vector_tools/boundaries_complex.output index 73086f2c76..4f8807020f 100644 --- a/tests/vector_tools/boundaries_complex.output +++ b/tests/vector_tools/boundaries_complex.output @@ -2,8 +2,13 @@ DEAL:1d::Interpolated boundary values DEAL:1d::14 (84.15,0.00) DEAL:1d::15 (168.29,0.00) +DEAL:1d::Projected boundary values +DEAL:1d::14 (84.15,0.00) +DEAL:1d::15 (168.29,0.00) DEAL:1d::Interpolated boundary values DEAL:1d::5 (1.00,0.00) +DEAL:1d::Projected boundary values +DEAL:1d::5 (1.00,0.00) DEAL:2d::Interpolated boundary values DEAL:2d::0 (84.15,0.00) DEAL:2d::1 (168.29,0.00) @@ -32,6 +37,34 @@ DEAL:2d::112 (84.15,0.00) DEAL:2d::113 (168.29,0.00) DEAL:2d::120 (84.14,0.00) DEAL:2d::126 (84.14,0.00) +DEAL:2d::Projected boundary values +DEAL:2d::0 (84.19,0.00) +DEAL:2d::1 (168.29,0.00) +DEAL:2d::2 (84.20,0.00) +DEAL:2d::3 (168.29,0.00) +DEAL:2d::10 (84.12,0.00) +DEAL:2d::29 (84.19,0.00) +DEAL:2d::30 (168.29,0.00) +DEAL:2d::31 (84.20,0.00) +DEAL:2d::32 (168.29,0.00) +DEAL:2d::35 (84.12,0.00) +DEAL:2d::45 (84.21,0.00) +DEAL:2d::46 (168.29,0.00) +DEAL:2d::49 (84.12,0.00) +DEAL:2d::78 (84.21,0.00) +DEAL:2d::79 (168.29,0.00) +DEAL:2d::83 (84.12,0.00) +DEAL:2d::86 (84.21,0.00) +DEAL:2d::87 (168.29,0.00) +DEAL:2d::91 (84.12,0.00) +DEAL:2d::98 (84.21,0.00) +DEAL:2d::99 (168.29,0.00) +DEAL:2d::102 (84.12,0.00) +DEAL:2d::108 (84.12,0.00) +DEAL:2d::112 (84.16,0.00) +DEAL:2d::113 (168.29,0.00) +DEAL:2d::120 (84.14,0.00) +DEAL:2d::126 (84.14,0.00) DEAL:2d::Interpolated boundary values DEAL:2d::0 (1.00,0.00) DEAL:2d::1 (1.00,0.00) @@ -42,6 +75,16 @@ DEAL:2d::19 (1.00,0.00) DEAL:2d::21 (1.00,0.00) DEAL:2d::23 (1.00,0.00) DEAL:2d::25 (1.00,0.00) +DEAL:2d::Projected boundary values +DEAL:2d::0 (1.00,0.00) +DEAL:2d::1 (1.00,0.00) +DEAL:2d::8 (1.00,0.00) +DEAL:2d::9 (1.00,0.00) +DEAL:2d::12 (1.00,0.00) +DEAL:2d::19 (1.00,0.00) +DEAL:2d::21 (1.00,0.00) +DEAL:2d::23 (1.00,0.00) +DEAL:2d::25 (1.00,0.00) DEAL:3d::Interpolated boundary values DEAL:3d::0 (84.15,0.00) DEAL:3d::1 (168.29,0.00)