From: Wolfgang Bangerth Date: Fri, 11 Aug 2000 07:53:36 +0000 (+0000) Subject: More precise value of pi. X-Git-Tag: v8.0.0~20179 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f200c8444eddb07447e39ec7be26ec6378413857;p=dealii.git More precise value of pi. git-svn-id: https://svn.dealii.org/trunk@3250 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/deal.II/source/grid/grid_generator.cc b/deal.II/deal.II/source/grid/grid_generator.cc index 8356e2f4a2..013f528db0 100644 --- a/deal.II/deal.II/source/grid/grid_generator.cc +++ b/deal.II/deal.II/source/grid/grid_generator.cc @@ -258,7 +258,8 @@ void GridGenerator::hyper_shell<> (Triangulation<2> &tria, Assert ((inner_radius > 0) && (inner_radius < outer_radius), ExcInvalidRadii ()); - const double pi = 3.1415926536; + const double pi = 3.14159265358979323846; + // determine the number of cells // for the grid. if not provided by // the user determine it such that