diff --git a/dune/gfe/rotation.hh b/dune/gfe/rotation.hh index 28077301321ab2de666e56c19a32b9aabc834bfe..47c2df5addd3dff29c97cff02671a686686d9682 100644 --- a/dune/gfe/rotation.hh +++ b/dune/gfe/rotation.hh @@ -157,6 +157,9 @@ public: /** \brief Dimension of the manifold formed by the 3d rotations */ static const int dim = 3; + /** \brief Coordinates are embedded into a four-dimension Euclidean space */ + static const int embeddedDim = 4; + /** \brief Member of the corresponding Lie algebra. This really is a skew-symmetric matrix */ typedef Dune::FieldVector<T,3> TangentVector; diff --git a/dune/gfe/unitvector.hh b/dune/gfe/unitvector.hh index 0d748d05445af2d75c1928c67618af6c0d0b238d..c11de438ff988d41292aafb1af8b054c1c0b879d 100644 --- a/dune/gfe/unitvector.hh +++ b/dune/gfe/unitvector.hh @@ -64,6 +64,9 @@ public: /** \brief Dimension of the manifold formed by unit vectors */ static const int dim = N-1; + /** \brief Dimension of the Euclidean space the manifold is embedded in */ + static const int embeddedDim = N; + typedef Dune::FieldVector<double,N-1> TangentVector; typedef Dune::FieldVector<double,N> EmbeddedTangentVector;