Skip to content
Snippets Groups Projects
Commit 72c53544 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

*** empty log message ***

parent 4bc04624
No related branches found
No related tags found
No related merge requests found
...@@ -14,8 +14,6 @@ ...@@ -14,8 +14,6 @@
#include "DILevelset.h" #include "DILevelset.h"
#include "mathEvaluator.h" #include "mathEvaluator.h"
#include "PView.h"
#include "OctreePost.h"
class gLevelsetMathEval: public gLevelsetPrimitive class gLevelsetMathEval: public gLevelsetPrimitive
{ {
...@@ -43,6 +41,11 @@ public: ...@@ -43,6 +41,11 @@ public:
int type() const { return UNKNOWN; } int type() const { return UNKNOWN; }
}; };
#if !defined(HAVE_NO_POST)
#include "PView.h"
#include "OctreePost.h"
class gLevelsetPostView : public gLevelsetPrimitive class gLevelsetPostView : public gLevelsetPrimitive
{ {
int _viewIndex; int _viewIndex;
...@@ -73,3 +76,5 @@ public: ...@@ -73,3 +76,5 @@ public:
#endif #endif
#endif #endif
#endif
This diff is collapsed.
...@@ -1922,6 +1922,7 @@ LevelSet : ...@@ -1922,6 +1922,7 @@ LevelSet :
Tree_Add(GModel::current()->getGEOInternals()->LevelSets, &l); Tree_Add(GModel::current()->getGEOInternals()->LevelSets, &l);
} }
} }
#if !defined(HAVE_NO_POST)
else if(!strcmp($2, "PostView")){ else if(!strcmp($2, "PostView")){
int t = (int)$4; int t = (int)$4;
if(FindLevelSet(t)){ if(FindLevelSet(t)){
...@@ -1936,6 +1937,7 @@ LevelSet : ...@@ -1936,6 +1937,7 @@ LevelSet :
} }
} }
} }
#endif
else else
yymsg(0, "Wrong levelset definition (%d)", $4); yymsg(0, "Wrong levelset definition (%d)", $4);
Free($2); Free($2);
......
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