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

Minor Fix + FunctionSpace Visu

parent 6888a3a8
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,10 @@ ...@@ -2,6 +2,10 @@
#include "TetLagrangeBasis.h" #include "TetLagrangeBasis.h"
TetLagrangeBasis::TetLagrangeBasis(unsigned int order){ TetLagrangeBasis::TetLagrangeBasis(unsigned int order){
// If order 0 (Nedelec): use order 1
if(order == 0)
order = 1;
// Set Basis Type // // Set Basis Type //
this->order = order; this->order = order;
......
...@@ -2,6 +2,10 @@ ...@@ -2,6 +2,10 @@
#include "TriLagrangeBasis.h" #include "TriLagrangeBasis.h"
TriLagrangeBasis::TriLagrangeBasis(unsigned int order){ TriLagrangeBasis::TriLagrangeBasis(unsigned int order){
// If order 0 (Nedelec): use order 1
if(order == 0)
order = 1;
// Set Basis Type // // Set Basis Type //
this->order = order; this->order = order;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment