From: Wolfgang Bangerth Date: Fri, 3 Jul 1998 09:12:55 +0000 (+0000) Subject: Aim at equilibrating cell sizes at the transition from the inner part of the triangul... X-Git-Tag: v8.0.0~22819 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=822d1d6a74cb6961533545cb012ace43d4a9e71c;p=dealii.git Aim at equilibrating cell sizes at the transition from the inner part of the triangulation of the circle to the radial cells. git-svn-id: https://svn.dealii.org/trunk@435 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/grid/tria.cc b/deal.II/deal.II/source/grid/tria.cc index 5470960a93..ff8cbb8221 100644 --- a/deal.II/deal.II/source/grid/tria.cc +++ b/deal.II/deal.II/source/grid/tria.cc @@ -605,7 +605,9 @@ void Triangulation<2>::create_hyper_L (const double a, const double b) { template <> void Triangulation<2>::create_hyper_ball (const Point<2> &p, const double radius) { const unsigned int dim=2; - const double a = 1./(1+sqrt(2)/2); // equilibrate cell sizes + const double a = 1./(1+sqrt(2)); // equilibrate cell sizes at transition + // from the inner part to the radial + // cells const Point vertices[8] = { p+Point(-1,-1)*(radius/sqrt(2)), p+Point(+1,-1)*(radius/sqrt(2)), p+Point(-1,-1)*(radius/sqrt(2)*a),