From: Luca Heltai Date: Sat, 9 Apr 2016 12:48:24 +0000 (+0200) Subject: Added comment and entry to changes.h. X-Git-Tag: v8.5.0-rc1~1116^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2092851a1ed692220618b968f25db3e7807d5c6;p=dealii.git Added comment and entry to changes.h. --- diff --git a/doc/news/changes.h b/doc/news/changes.h index eb6858df67..c9b229c73b 100644 --- a/doc/news/changes.h +++ b/doc/news/changes.h @@ -38,6 +38,13 @@ inconvenience this causes.

    +
  1. Changed: FlatManifold takes as argument a periodicity option. This + used to be a Point, but it should have been a Tensor<1,dim>. This + is now changed. +
    + (Luca Heltai, 2016/04/09) +
  2. +
  3. Changed: The default nodal point distribution of FE_Q, FE_DGQ, FE_Q_DG0, FE_Q_Bubbles, and FE_TraceQ has been changed from equidistant points to the node points of the corresponding Gauss-Lobatto quadrature @@ -108,6 +115,13 @@ inconvenience this causes. (Luca Heltai, Wolfgang Bangerth, 2016/04/08)
  4. +
  5. New: Added CompositionManifold to create new manifolds from two + ChartManifold objects. This can be used, for example, to rotate a + cylindrical Manifold, or to make a cylinders with parabolic sides. +
    + (Luca Heltai, 2016/04/09) +
  6. +
  7. New: Added GridGenerator::torus() to generate the volume mesh of a torus in three dimensions and a manifold description TorusManifold to go with it. diff --git a/source/grid/manifold_lib.cc b/source/grid/manifold_lib.cc index 16ab8980c7..dd95f0a80c 100644 --- a/source/grid/manifold_lib.cc +++ b/source/grid/manifold_lib.cc @@ -36,7 +36,9 @@ Tensor<1,spacedim> SphericalManifold::get_periodicity() { Tensor<1,spacedim> periodicity; - periodicity[spacedim-1] = 2*numbers::PI; // theta and phi period. + // In two dimensions, theta is periodic. In three dimensions the variable + // that is periodic is phi. We have no periodicity in theta in 3d. + periodicity[spacedim-1] = 2*numbers::PI; return periodicity; }