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

FunctionSpace: remove getOrder -- no more basis stuff in FunctionSpace

parent 8c81e2ed
No related branches found
No related tags found
No related merge requests found
...@@ -69,7 +69,6 @@ class FunctionSpace{ ...@@ -69,7 +69,6 @@ class FunctionSpace{
unsigned int getNBasis(void) const; unsigned int getNBasis(void) const;
const GroupOfElement& getSupport(void) const; const GroupOfElement& getSupport(void) const;
unsigned int getOrder(void) const;
bool isScalar(void) const; bool isScalar(void) const;
std::vector<Dof> getKeys(const MElement& element) const; std::vector<Dof> getKeys(const MElement& element) const;
...@@ -191,11 +190,6 @@ inline unsigned int FunctionSpace::getNBasis(void) const{ ...@@ -191,11 +190,6 @@ inline unsigned int FunctionSpace::getNBasis(void) const{
inline const GroupOfElement& FunctionSpace::getSupport(void) const{ inline const GroupOfElement& FunctionSpace::getSupport(void) const{
return *goe; return *goe;
} }
#include "Exception.h"
inline unsigned int FunctionSpace::getOrder(void) const{
throw Exception("Remove me!");
return (unsigned int)((*basis)[0]->getOrder());
}
inline bool FunctionSpace::isScalar(void) const{ inline bool FunctionSpace::isScalar(void) const{
return scalar; return scalar;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment