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

First Interface for FunctionSpace -- Remove of LocalFS ?

parent a7e1fa9f
No related branches found
No related tags found
No related merge requests found
#ifndef _FUNCTIONSPACE_H_
#define _FUNCTIONSPACE_H_
#include <map>
#include "Element.h"
#include "Jacobian.h"
#include "Basis.h"
/**
@class FunctionSpace
@brief A Function Space
This class represents a Function Space
@todo Add interpolation @n
--> inheritance: FunctionSpaceScalar & FunctionSapceVector @n
"double or fullVector" interpolate(Element, pyhsical coordinate, coef) @n
"double or fullVector" interpolate(Element, ref coordinate , coef) @n
"double or fullVector" interpolate(physical coordinate, coef) --> use octree @n
*/
class FunctionSpace{
private:
class ElementComparator{
bool operator()(const Element* a, const Element* b) const;
};
std::map<Element*, Basis*, ElementComparator>* ETBL; // Element To Basis Lookup
public:
void associate(Element& element, Basis& basis);
void associate(int physical, Basis& basis);
Basis& getBasis(Element& element) const;
};
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment