diff --git a/Plugin/CutPlane.cpp b/Plugin/CutPlane.cpp index 9680c4c362cde9b36c956eb00e30e83f3b707528..7e9b051e29b9f3807cdd1d47066860c9632ffd48 100644 --- a/Plugin/CutPlane.cpp +++ b/Plugin/CutPlane.cpp @@ -1,4 +1,4 @@ -// $Id: CutPlane.cpp,v 1.30 2003-11-23 02:56:02 geuzaine Exp $ +// $Id: CutPlane.cpp,v 1.31 2003-11-24 01:02:51 geuzaine Exp $ // // Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle // @@ -29,7 +29,7 @@ StringXNumber CutPlaneOptions_Number[] = { {GMSH_FULLRC, "A", NULL, 1.}, {GMSH_FULLRC, "B", NULL, 0.}, {GMSH_FULLRC, "C", NULL, 0.}, - {GMSH_FULLRC, "D", NULL, 0.01}, + {GMSH_FULLRC, "D", NULL, -0.01}, {GMSH_FULLRC, "iView", NULL, -1.} }; diff --git a/Plugin/Levelset.cpp b/Plugin/Levelset.cpp index 888fdc707296ce05f2180ff89c1e3557e7ae3d8f..128ac5fb7d9812291a4d2546405585c3100b26f5 100644 --- a/Plugin/Levelset.cpp +++ b/Plugin/Levelset.cpp @@ -1,4 +1,4 @@ -// $Id: Levelset.cpp,v 1.6 2003-11-23 02:56:02 geuzaine Exp $ +// $Id: Levelset.cpp,v 1.7 2003-11-24 01:02:51 geuzaine Exp $ // // Copyright (C) 1997-2003 C. Geuzaine, J.-F. Remacle // @@ -170,7 +170,6 @@ int GMSH_LevelsetPlugin::zeroLevelset(int timeStep, } } if(_invert > 0.) { - double xpi[12], ypi[12], zpi[12], valpi[12][9]; for(int k = 0; k < np; k++) affect(xpi, ypi, zpi, valpi, k, xp, yp, zp, valp, k, dNbComp); for(int k = 0; k < np; k++) @@ -527,7 +526,7 @@ Post_View *GMSH_LevelsetPlugin::execute(Post_View * v) } // remove empty views (this is a bit ugly because, due to the - // dynamic GUI events, this should actually be locked... + // dynamic GUI events, this should actually be locked...) for(int i = List_Nbr(CTX.post.list) - 1; i >= 0; --i) { w = (Post_View*) List_Pointer_Test(CTX.post.list, i); if(w && w->empty())