From 403a620d26527b0f568e6c752ba40e3ad0430d26 Mon Sep 17 00:00:00 2001
From: Oliver Sander <sander@igpm.rwth-aachen.de>
Date: Fri, 14 Oct 2011 09:12:23 +0000
Subject: [PATCH] add method 'order'

[[Imported from SVN: r7902]]
---
 dune/gfe/localgfetestfunction.hh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/dune/gfe/localgfetestfunction.hh b/dune/gfe/localgfetestfunction.hh
index b87d031d..15ae8617 100644
--- a/dune/gfe/localgfetestfunction.hh
+++ b/dune/gfe/localgfetestfunction.hh
@@ -48,6 +48,12 @@ public:
     /** \brief Evaluate the derivatives of all shape functions function */
     void evaluateJacobian(const Dune::FieldVector<ctype, dim>& local,
                           std::vector<Dune::FieldMatrix<ctype, EmbeddedTangentVector::dimension, dim> >& out) const;
+                          
+    /** \brief Polynomial order */
+    unsigned int order() const
+    {
+        return localGFEFunction_.localFiniteElement_.order();
+    }
 
 private:
 
-- 
GitLab