From 3590f153ced36f57c97c807cd1838682096b1c49 Mon Sep 17 00:00:00 2001 From: Christophe Geuzaine <cgeuzaine@ulg.ac.be> Date: Sat, 26 Feb 2005 04:53:13 +0000 Subject: [PATCH] smaller init alloc in curves --- Mesh/Create.cpp | 4 ++-- TODO | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Mesh/Create.cpp b/Mesh/Create.cpp index c038c859ea..31ca867c38 100644 --- a/Mesh/Create.cpp +++ b/Mesh/Create.cpp @@ -1,4 +1,4 @@ -// $Id: Create.cpp,v 1.68 2005-02-20 07:11:04 geuzaine Exp $ +// $Id: Create.cpp,v 1.69 2005-02-26 04:53:13 geuzaine Exp $ // // Copyright (C) 1997-2005 C. Geuzaine, J.-F. Remacle // @@ -532,7 +532,7 @@ Curve *Create_Curve(int Num, int Typ, int Order, List_T * Liste, pC->Color.type = 0; pC->Visible = VIS_GEOM | VIS_MESH; pC->cp = NULL; - pC->Vertices = List_Create(10, 100, sizeof(Vertex *)); + pC->Vertices = List_Create(2, 20, sizeof(Vertex *)); pC->Extrude = NULL; pC->theSegmRep = 0; pC->Typ = Typ; diff --git a/TODO b/TODO index cabe2f9d5a..2b2a916718 100644 --- a/TODO +++ b/TODO @@ -1,4 +1,8 @@ -$Id: TODO,v 1.84 2005-02-04 16:06:10 geuzaine Exp $ +$Id: TODO,v 1.85 2005-02-26 04:53:12 geuzaine Exp $ + +******************************************************************** + +use inria's mesh and solution file formats? ******************************************************************** -- GitLab