From 4db28a7d17d11d9335b7c736b5b24dcb97c8dc18 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Wed, 19 Oct 2005 15:45:10 +0000 Subject: [PATCH] add fixme for extract volume in 2D (orientation of quads) --- Plugin/Levelset.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Plugin/Levelset.cpp b/Plugin/Levelset.cpp index 8fb7900579..3478a6c19f 100644 --- a/Plugin/Levelset.cpp +++ b/Plugin/Levelset.cpp @@ -1,4 +1,4 @@ -// $Id: Levelset.cpp,v 1.26 2005-03-25 12:13:23 remacle Exp $ +// $Id: Levelset.cpp,v 1.27 2005-10-19 15:45:10 geuzaine Exp $ // // Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle // @@ -374,8 +374,10 @@ int GMSH_LevelsetPlugin::zeroLevelset(int timeStep, } } - // if we compute isovolumes, add the nodes on the chosen side + // if we compute isovolumes, add the nodes on the chosen side if(_extractVolume){ + // FIXME: when cutting 2D views, the elts we get can have the wrong + // orientation int nbCut = np; for(int k = 0; k < nbNod; k++){ if((_extractVolume < 0. && levels[k] < 0.0) || -- GitLab