From 8bcf2a258b535371bbd07e50d25faf26afd653b9 Mon Sep 17 00:00:00 2001 From: Nicolas Marsic <nicolas.marsic@gmail.com> Date: Wed, 31 Oct 2012 14:09:44 +0000 Subject: [PATCH] Steady Wave --- FunctionSpace/FunctionSpace.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/FunctionSpace/FunctionSpace.h b/FunctionSpace/FunctionSpace.h index 76cba19839..8ee705f4b1 100644 --- a/FunctionSpace/FunctionSpace.h +++ b/FunctionSpace/FunctionSpace.h @@ -67,6 +67,7 @@ class FunctionSpace{ const GroupOfElement& getSupport(void) const; unsigned int getType(void) const; + unsigned int getOrder(void) const; unsigned int getNFunctionPerVertex(const MElement& element) const; unsigned int getNFunctionPerEdge(const MElement& element) const; @@ -138,6 +139,11 @@ class FunctionSpace{ @see Basis::getType() ** + @fn FunctionSpace::getOrder + @return Return the @em order + of this FunctionSpace + ** + @fn FunctionSpace::getNFunctionPerVertex @param element A MElement of the support @return Returns the number of @em Vertex Based @@ -218,6 +224,10 @@ inline unsigned int FunctionSpace::getType(void) const{ return type; } +inline unsigned int FunctionSpace::getOrder(void) const{ + return (unsigned int)(basis->getOrder()); +} + inline unsigned int FunctionSpace::getNFunctionPerVertex(const MElement& element) const{ return fPerVertex; } -- GitLab