From 8853bc527b6c88f0157c6f36de4190d2d8e99b92 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Wed, 29 Aug 2007 14:18:25 +0000 Subject: [PATCH] *** empty log message *** --- Geo/Geo.cpp | 6 +++++- Geo/gmshEdge.cpp | 4 ++-- Post/PViewOptions.cpp | 6 +++--- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/Geo/Geo.cpp b/Geo/Geo.cpp index 81f556e365..741fdf7ea0 100644 --- a/Geo/Geo.cpp +++ b/Geo/Geo.cpp @@ -1,4 +1,4 @@ -// $Id: Geo.cpp,v 1.92 2007-08-27 19:52:07 geuzaine Exp $ +// $Id: Geo.cpp,v 1.93 2007-08-29 14:18:25 geuzaine Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -24,6 +24,7 @@ #include "Geo.h" #include "GModel.h" #include "GeoInterpolation.h" +#include "Parser.h" #include "Context.h" extern Mesh *THEM; @@ -55,6 +56,9 @@ void Mesh::free_all() Tree_Action(SurfaceLoops, Free_SurfaceLoop); Tree_Delete(SurfaceLoops); Tree_Action(Volumes, Free_Volume); Tree_Delete(Volumes); List_Action(PhysicalGroups, Free_PhysicalGroup); List_Delete(PhysicalGroups); + // don't delete the symbols: for now we assume that symbols live + // forever + // InitSymbols(); } // Comparison routines diff --git a/Geo/gmshEdge.cpp b/Geo/gmshEdge.cpp index 2c64cb82c9..7540384c7a 100644 --- a/Geo/gmshEdge.cpp +++ b/Geo/gmshEdge.cpp @@ -1,4 +1,4 @@ -// $Id: gmshEdge.cpp,v 1.36 2007-08-29 07:57:39 geuzaine Exp $ +// $Id: gmshEdge.cpp,v 1.37 2007-08-29 14:18:25 geuzaine Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -227,7 +227,7 @@ SPoint2 gmshEdge::reparamOnFace(GFace *face, double epar,int dir) const } if(s->Typ == MSH_SURF_REGL){ - Curve *C[4]; // BUG !!!!!!!!!!!!!!!!!!!!! + Curve *C[4]; for(int i = 0; i < 4; i++) List_Read(s->Generatrices, i, &C[i]); diff --git a/Post/PViewOptions.cpp b/Post/PViewOptions.cpp index b43f424a85..1c8a40d6b6 100644 --- a/Post/PViewOptions.cpp +++ b/Post/PViewOptions.cpp @@ -1,4 +1,4 @@ -// $Id: PViewOptions.cpp,v 1.11 2007-08-28 23:12:49 geuzaine Exp $ +// $Id: PViewOptions.cpp,v 1.12 2007-08-29 14:18:25 geuzaine Exp $ // // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // @@ -57,7 +57,7 @@ PViewOptions::PViewOptions() Visible = 1; IntervalsType = Continuous; //IntervalsType = Discrete; - IntervalsType = Iso; + //IntervalsType = Iso; //IntervalsType = Numeric; NbIso = 15; ArrowSizeProportional = 1; @@ -79,7 +79,7 @@ PViewOptions::PViewOptions() DrawStrings = DrawPoints = DrawLines = DrawTriangles = DrawQuadrangles = DrawTetrahedra = DrawHexahedra = DrawPrisms = DrawPyramids = DrawScalars = DrawVectors = DrawTensors = 1; - Boundary = 2; + Boundary = 0; PointType = LineType = 0; PointSize = 6; LineWidth = 2; -- GitLab