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

Cleaning

parent d9c6bddc
Branches
Tags
No related merge requests found
...@@ -3,11 +3,11 @@ ...@@ -3,11 +3,11 @@
using namespace std; using namespace std;
FunctionSpace::FunctionSpace(const GroupOfElement& goe, Mesh& mesh, FunctionSpace::FunctionSpace(const GroupOfElement& goe,
int basisType, int order){ int basisType, int order){
// Save GroupOfElement & Mesh // // Save GroupOfElement & Mesh //
this->goe = &goe; this->goe = &goe;
this->mesh = &mesh; this->mesh = &(goe.getMesh());
// Get Geo Data (WARNING HOMOGENE MESH REQUIRED)// // Get Geo Data (WARNING HOMOGENE MESH REQUIRED)//
const MElement& element = goe.get(0); const MElement& element = goe.get(0);
......
...@@ -26,9 +26,9 @@ ...@@ -26,9 +26,9 @@
class FunctionSpace{ class FunctionSpace{
protected: protected:
Mesh* mesh; const Mesh* mesh;
const GroupOfElement* goe; const GroupOfElement* goe;
const Basis* basis; const Basis* basis;
int fPerVertex; int fPerVertex;
int fPerEdge; int fPerEdge;
...@@ -37,7 +37,7 @@ class FunctionSpace{ ...@@ -37,7 +37,7 @@ class FunctionSpace{
int type; int type;
public: public:
FunctionSpace(const GroupOfElement& goe, Mesh& mesh, FunctionSpace(const GroupOfElement& goe,
int basisType, int order); int basisType, int order);
virtual ~FunctionSpace(void); virtual ~FunctionSpace(void);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment