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

New LocalFunctionSpace hierarchy

parent f17cc545
Branches
Tags
No related merge requests found
#include "LocalFunctionSpace0Form.h"
LocalFunctionSpace0Form::LocalFunctionSpace0Form(const Basis& basis,
const Element& elem){
}
LocalFunctionSpace0Form::~LocalFunctionSpace0Form(void){
}
double LocalFunctionSpace0Form::interpolate(const fullVector<double>& coef,
double x, double y, double z) const{
}
#ifndef _LOCALFUNCTIONSPACE0FORM_H_
#define _LOCALFUNCTIONSPACE0FORM_H_
/**
@class LocalFunctionSpace0Form
@brief 0 Form Local Function Spaces
A Local Function Space build on a @em 0 @em Form
*/
#include <vector>
#include "Polynomial.h"
#include "Basis.h"
#include "Element.h"
#include "LocalFunctionSpaceScalar.h"
class LocalFunctionSpace0Form: public LocalFunctionSpaceScalar{
private:
const std::vector<Polynomial>* basis;
public:
//! Instantiate a new LocalFunctionSpace0Form
//! @param basis The Basis used to build
//! this Function Space
//! @param elem The Element on which this
//! Function Space is defined
LocalFunctionSpace0Form(const Basis& basis,
const Element& elem);
//! Deletes this LocalFunctionSpace0Form
//!
virtual ~LocalFunctionSpace0Form(void);
virtual double interpolate(const fullVector<double>& coef,
double x, double y, double z) const;
};
#endif
#include "LocalFunctionSpace1Form.h"
LocalFunctionSpace1Form::LocalFunctionSpace1Form(const Basis& basis,
const Element& elem){
}
LocalFunctionSpace1Form::~LocalFunctionSpace1Form(void){
}
fullVector<double> LocalFunctionSpace1Form::
interpolate(const fullVector<double>& coef,
double x, double y, double z) const{
}
#ifndef _LOCALFUNCTIONSPACE1FORM_H_
#define _LOCALFUNCTIONSPACE1FORM_H_
/**
@class LocalFunctionSpace1Form
@brief 1 Form Local Function Spaces
A Local Function Space build on a @em 1 @em Form.
*/
#include <vector>
#include "Polynomial.h"
#include "Basis.h"
#include "Element.h"
#include "LocalFunctionSpaceVector.h"
class LocalFunctionSpace1Form: public LocalFunctionSpaceVector{
private:
const std::vector<std::vector<Polynomial> >* basis;
public:
//! Instantiate a new LocalFunctionSpace1Form
//! @param basis The Basis used to build
//! this Function Space
//! @param elem The Element on which this
//! Function Space is defined
LocalFunctionSpace1Form(const Basis& basis,
const Element& elem);
//! Deletes this LocalFunctionSpace1Form
//!
virtual ~LocalFunctionSpace1Form(void);
virtual fullVector<double> interpolate(const fullVector<double>& coef,
double x, double y, double z) const;
};
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment