From c2092851a1ed692220618b968f25db3e7807d5c6 Mon Sep 17 00:00:00 2001
From: Luca Heltai
Date: Sat, 9 Apr 2016 14:48:24 +0200
Subject: [PATCH] Added comment and entry to changes.h.
---
doc/news/changes.h | 14 ++++++++++++++
source/grid/manifold_lib.cc | 4 +++-
2 files changed, 17 insertions(+), 1 deletion(-)
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.
+ - 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)
+
+
- 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)
+ - 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)
+
+
- 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;
}
--
2.39.5