From 8bbc69ab01e499e3c1972bf077d81f7916664f9b Mon Sep 17 00:00:00 2001 From: hartmann Date: Mon, 29 Jan 2001 14:31:31 +0000 Subject: [PATCH] This 3d hyper ball triangulation cannot be numbered and orientated consistently. git-svn-id: https://svn.dealii.org/trunk@3821 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/source/grid/grid_generator.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deal.II/deal.II/source/grid/grid_generator.cc b/deal.II/deal.II/source/grid/grid_generator.cc index d27ede6514..03f4454bb4 100644 --- a/deal.II/deal.II/source/grid/grid_generator.cc +++ b/deal.II/deal.II/source/grid/grid_generator.cc @@ -540,6 +540,8 @@ template <> void GridGenerator::hyper_ball<> (Triangulation<3> &tria, const Point<3> &p, const double radius) { + Assert(false, ExcNotImplemented()); + const double a = 1./(1+sqrt(3)); // equilibrate cell sizes at transition // from the inner part to the radial // cells @@ -578,7 +580,7 @@ void GridGenerator::hyper_ball<> (Triangulation<3> &tria, {8, 0, 3, 11, 12, 4, 7, 15}, {11, 10,14, 15, 3, 2, 6, 7}, {8, 9, 13, 12, 0, 1, 5, 4}}; - + std::vector > cells (n_cells, CellData<3>()); for (unsigned int i=0; i