Skip to content
Snippets Groups Projects
Commit d19dfe18 authored by Robert Klöfkorn's avatar Robert Klöfkorn
Browse files

Added const basis functions and implemented new interface methods.

[[Imported from SVN: r185]]
parent 29302d1f
No related branches found
No related tags found
No related merge requests found
......@@ -642,7 +642,6 @@ namespace Dune {
FastBaseFunctionSet < LagrangeDiscreteFunctionSpace
< FunctionSpaceType , GridType, polOrd > > >
{
typedef DiscreteFunctionSpaceInterface <
FunctionSpaceType , GridType,
LagrangeDiscreteFunctionSpace < FunctionSpaceType , GridType, polOrd >,
......@@ -697,6 +696,13 @@ namespace Dune {
return (*baseFuncSet_.get( type ));
};
//! return true if we have continuous discrete functions
bool continuous ( ) const
{
bool ret = (polOrd == 0) ? false : true;
return ret;
}
//! get maximal global polynom order
int polynomOrder ( ) const
{
......
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