From: David Wells Date: Sat, 17 Feb 2018 16:35:13 +0000 (-0500) Subject: Use SphericalManifold in step-45. X-Git-Tag: v9.0.0-rc1~420^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fb1f865a3c6455c3e638ac329aa29948274873e;p=dealii.git Use SphericalManifold in step-45. --- 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); }