From 5fb1f865a3c6455c3e638ac329aa29948274873e Mon Sep 17 00:00:00 2001 From: David Wells Date: Sat, 17 Feb 2018 11:35:13 -0500 Subject: [PATCH] Use SphericalManifold in step-45. --- examples/step-45/step-45.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/step-45/step-45.cc b/examples/step-45/step-45.cc index a14ff40b1c..9220696180 100644 --- a/examples/step-45/step-45.cc +++ b/examples/step-45/step-45.cc @@ -48,8 +48,8 @@ #include #include -#include #include +#include #include #include @@ -85,7 +85,7 @@ namespace Step45 MPI_Comm mpi_communicator; - HyperShellBoundary boundary; + SphericalManifold manifold; parallel::distributed::Triangulation triangulation; FESystem fe; DoFHandler dof_handler; @@ -350,8 +350,8 @@ namespace Step45 // parallel::distributed::Triangulation::add_periodicity. triangulation.add_periodicity(periodicity_vector); - triangulation.set_boundary(0, boundary); - triangulation.set_boundary(1, boundary); + triangulation.set_all_manifold_ids(1); + triangulation.set_manifold(1, manifold); triangulation.refine_global (4-dim); } -- 2.39.5