From 1d24bfdc336653a4ed6cdfc7f521e882b498be9c Mon Sep 17 00:00:00 2001 From: Jean-Francois Remacle <jean-francois.remacle@uclouvain.be> Date: Thu, 9 Aug 2001 21:15:30 +0000 Subject: [PATCH] *** empty log message *** --- Plugin/LevelsetPlugin.cpp | 6 ++++-- tutorial/t9.geo | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Plugin/LevelsetPlugin.cpp b/Plugin/LevelsetPlugin.cpp index 15b96e0ccb..15ae87dd31 100644 --- a/Plugin/LevelsetPlugin.cpp +++ b/Plugin/LevelsetPlugin.cpp @@ -1,4 +1,4 @@ -// $Id: LevelsetPlugin.cpp,v 1.13 2001-08-09 18:28:24 remacle Exp $ +// $Id: LevelsetPlugin.cpp,v 1.14 2001-08-09 21:15:30 remacle Exp $ #include "LevelsetPlugin.h" #include "List.h" @@ -69,6 +69,7 @@ Post_View *GMSH_LevelsetPlugin::execute (Post_View *v) nx++; } } + /* if(nx == 4) { double xx = Xp[3]; @@ -84,7 +85,7 @@ Post_View *GMSH_LevelsetPlugin::execute (Post_View *v) Zp[2] = zz; myVals[2] = vv; } - + */ double v1[3] = {Xp[2]-Xp[0],Yp[2]-Yp[0],Zp[2]-Zp[0]}; double v2[3] = {Xp[1]-Xp[0],Yp[1]-Yp[0],Zp[1]-Zp[0]}; double gr[3]; @@ -106,6 +107,7 @@ Post_View *GMSH_LevelsetPlugin::execute (Post_View *v) Zp[k] = Zpi[nx-k-1]; } } + if(nx == 3 || nx == 4) { for(k=0;k<3;k++)List_Add(View->ST, &Xp[k]); diff --git a/tutorial/t9.geo b/tutorial/t9.geo index dea8f3b37f..d831085441 100644 --- a/tutorial/t9.geo +++ b/tutorial/t9.geo @@ -45,3 +45,4 @@ View[0].SmoothNormals = 1; View[1].IntervalsType = 2; View[2].IntervalsType = 2; +Draw; \ No newline at end of file -- GitLab