Skip to content
Snippets Groups Projects
Commit 8bcf2a25 authored by Nicolas Marsic's avatar Nicolas Marsic
Browse files

Steady Wave

parent 7624f64e
No related branches found
No related tags found
No related merge requests found
...@@ -67,6 +67,7 @@ class FunctionSpace{ ...@@ -67,6 +67,7 @@ class FunctionSpace{
const GroupOfElement& getSupport(void) const; const GroupOfElement& getSupport(void) const;
unsigned int getType(void) const; unsigned int getType(void) const;
unsigned int getOrder(void) const;
unsigned int getNFunctionPerVertex(const MElement& element) const; unsigned int getNFunctionPerVertex(const MElement& element) const;
unsigned int getNFunctionPerEdge(const MElement& element) const; unsigned int getNFunctionPerEdge(const MElement& element) const;
...@@ -138,6 +139,11 @@ class FunctionSpace{ ...@@ -138,6 +139,11 @@ class FunctionSpace{
@see Basis::getType() @see Basis::getType()
** **
@fn FunctionSpace::getOrder
@return Return the @em order
of this FunctionSpace
**
@fn FunctionSpace::getNFunctionPerVertex @fn FunctionSpace::getNFunctionPerVertex
@param element A MElement of the support @param element A MElement of the support
@return Returns the number of @em Vertex Based @return Returns the number of @em Vertex Based
...@@ -218,6 +224,10 @@ inline unsigned int FunctionSpace::getType(void) const{ ...@@ -218,6 +224,10 @@ inline unsigned int FunctionSpace::getType(void) const{
return type; return type;
} }
inline unsigned int FunctionSpace::getOrder(void) const{
return (unsigned int)(basis->getOrder());
}
inline unsigned int FunctionSpace::getNFunctionPerVertex(const MElement& element) const{ inline unsigned int FunctionSpace::getNFunctionPerVertex(const MElement& element) const{
return fPerVertex; return fPerVertex;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment