From 1422509534d6f6b83336e4a3043b2531d855cb4a Mon Sep 17 00:00:00 2001 From: David Wells Date: Thu, 5 Apr 2018 17:40:43 -0400 Subject: [PATCH] Remove HyperShellBoundary from step-32. As of ff7cc4c8075 this functionality is also in Manifold, so we do not need to use a Boundary object here. --- examples/step-32/step-32.cc | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/examples/step-32/step-32.cc b/examples/step-32/step-32.cc index c39623cefb..765075000f 100644 --- a/examples/step-32/step-32.cc +++ b/examples/step-32/step-32.cc @@ -51,7 +51,6 @@ #include #include #include -#include #include #include @@ -3580,15 +3579,6 @@ namespace Step32 // instead of a simple cube geometry), and use the // project_temperature_field() function instead of the library // function VectorTools::project. - // In this example, however, we define both a SphericalManifold() and a - // HyperShellBoundary() object to describe the geometry of the domain. - // The reason we do so here, is because we want to impose no normal flux - // boundary conditions, and they require knowledge of the normals to a boundary, - // which a SphericalManifold() alone cannot compute. Consequently, we set - // all manifold indicators of cells and adjacent edges to zero, then overwrite - // the manifold indicators of all boundary objects by one. We then associate - // a SphericalManifold object with the former, and the HyperShellBoundary - // object that can also provide normal vectors with the latter. template void BoussinesqFlowProblem::run () { @@ -3598,12 +3588,6 @@ namespace Step32 EquationData::R1, (dim==3) ? 96 : 12, true); - triangulation.set_all_manifold_ids(0); - triangulation.set_all_manifold_ids_on_boundary(1); - static SphericalManifold manifold; - static HyperShellBoundary boundary; - triangulation.set_manifold (0, manifold); - triangulation.set_manifold (1, boundary); global_Omega_diameter = GridTools::diameter (triangulation); -- 2.39.5