From 253892c9383284a4908cdf8b4bbad805394c36d7 Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Tue, 3 Sep 2013 16:30:46 +0000
Subject: [PATCH] Also export the number type as 'field_type'

I can't make up my mind whether I want 'ctype' or 'field_type'

[[Imported from SVN: r9447]]
---
 dune/gfe/rigidbodymotion.hh | 1 +
 dune/gfe/unitvector.hh      | 1 +
 2 files changed, 2 insertions(+)

diff --git a/dune/gfe/rigidbodymotion.hh b/dune/gfe/rigidbodymotion.hh
index fa8f9529..052bfed2 100644
--- a/dune/gfe/rigidbodymotion.hh
+++ b/dune/gfe/rigidbodymotion.hh
@@ -26,6 +26,7 @@ public:
 
     /** \brief The type used for coordinates */
     typedef T ctype;
+    typedef T field_type;
 
     /** \brief The type used for global coordinates */
     typedef Dune::FieldVector<T,embeddedDim> CoordinateType;
diff --git a/dune/gfe/unitvector.hh b/dune/gfe/unitvector.hh
index 87ab28f2..2de60fdc 100644
--- a/dune/gfe/unitvector.hh
+++ b/dune/gfe/unitvector.hh
@@ -64,6 +64,7 @@ public:
 
     /** \brief The type used for coordinates */
     typedef T ctype;
+    typedef T field_type;
 
     /** \brief The type used for global coordinates */
     typedef Dune::FieldVector<T,N> CoordinateType;
-- 
GitLab