Skip to content
Snippets Groups Projects
Commit a5cdd2f6 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

polish + remove unused striping lib
parent 624fc8f6
No related branches found
No related tags found
No related merge requests found
// $Id: GModel.cpp,v 1.34 2007-02-26 08:25:38 geuzaine Exp $ // $Id: GModel.cpp,v 1.35 2007-03-02 08:44:55 geuzaine Exp $
// //
// Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
// //
...@@ -127,6 +127,12 @@ void GModel::removeInvisibleElements() ...@@ -127,6 +127,12 @@ void GModel::removeInvisibleElements()
int GModel::renumberMeshVertices() int GModel::renumberMeshVertices()
{ {
// FIXME: here, we should first:
// 1) loop over all elements, and tag all unused vertices in a
// special way (I think the best would be to set their associated
// entity to 0)
// 2) delete all untagged (i.e., unused) vertices
int numVertices = 0; int numVertices = 0;
for(viter it = firstVertex(); it != lastVertex(); ++it) for(viter it = firstVertex(); it != lastVertex(); ++it)
for(unsigned int i = 0; i < (*it)->mesh_vertices.size(); i++) for(unsigned int i = 0; i < (*it)->mesh_vertices.size(); i++)
......
# $Id: Makefile,v 1.111 2007-02-26 08:25:38 geuzaine Exp $ # $Id: Makefile,v 1.112 2007-03-02 08:44:55 geuzaine Exp $
# #
# Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle # Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
# #
...@@ -43,8 +43,7 @@ SRC = Draw.cpp \ ...@@ -43,8 +43,7 @@ SRC = Draw.cpp \
gl2jpeg.cpp\ gl2jpeg.cpp\
gl2png.cpp\ gl2png.cpp\
gl2ppm.cpp\ gl2ppm.cpp\
gl2yuv.cpp\ gl2yuv.cpp
tc.cpp
OBJ = ${SRC:.cpp=.o} OBJ = ${SRC:.cpp=.o}
......
This diff is collapsed.
/*
* $Header: /cvsroot/gmsh/Graphics/tc.h,v 1.2 2006-08-13 21:17:56 geuzaine Exp $
*/
// This is a modified version for Gmsh: see "gmsh"
#if !defined(_ACTC_H_)
#define _ACTC_H_
#include <sys/types.h>
typedef struct _ACTCData ACTCData;
#if defined(WIN32) // gmsh
#define uint unsigned int
#endif
/*
Abbreviated:
vertex vert
primitive prim
maximum max
minimum min
parameter param
*/
#define ACTC_NO_ERROR 0
#define ACTC_ALLOC_FAILED -0x2000
#define ACTC_DURING_INPUT -0x2001
#define ACTC_DURING_OUTPUT -0x2002
#define ACTC_IDLE -0x2003
#define ACTC_INVALID_VALUE -0x2004
#define ACTC_DATABASE_EMPTY -0x2005
#define ACTC_DATABASE_CORRUPT -0x2006
#define ACTC_PRIM_COMPLETE -0x2007
#define ACTC_OUT_MIN_FAN_VERTS 0x1000
#define ACTC_OUT_HONOR_WINDING 0x1001
#define ACTC_OUT_MAX_PRIM_VERTS 0x1004
#define ACTC_IN_MIN_VERT 0x1005
#define ACTC_IN_MAX_VERT 0x1006
#define ACTC_IN_MAX_VERT_SHARING 0x1007
#define ACTC_IN_MAX_EDGE_SHARING 0x1008
#define ACTC_MINOR_VERSION 0x1009
#define ACTC_MAJOR_VERSION 0x1010
#define ACTC_PRIM_FAN 0x2000
#define ACTC_PRIM_STRIP 0x2001
#define ACTC_TRUE 1
#define ACTC_FALSE 0
ACTCData *actcNew(void);
int actcParami(ACTCData *tc, int param, int value);
int actcGetParami(ACTCData *tc, int param, int *value);
int actcParamu(ACTCData *tc, int param, uint value);
int actcGetParamu(ACTCData *tc, int param, uint *value);
int actcGetError(ACTCData *tc);
int actcMakeEmpty(ACTCData *tc);
void actcDelete(ACTCData *tc);
void actcDumpState(ACTCData *tc, FILE *fp);
int actcBeginInput(ACTCData *tc);
int actcGetIsDuringInput(ACTCData *tc);
int actcAddTriangle(ACTCData *tc, uint v1, uint v2, uint v3);
int actcEndInput(ACTCData *tc);
int actcBeginOutput(ACTCData *tc);
int actcGetIsDuringOutput(ACTCData *tc);
int actcStartNextPrim(ACTCData *tc, uint *v1Return, uint *v2Return);
int actcGetNextVert(ACTCData *tc, uint *vReturn);
int actcEndOutput(ACTCData *tc);
int actcGetMemoryAllocation(ACTCData *tc, size_t *bytesAllocated);
int actcTrianglesToPrimitives(ACTCData *tc, int triangleCount,
uint (*triangles)[3], int primTypes[], int primLengths[], uint vertices[],
int maxBatchSize);
#endif /* _ACTC_H_ */
/* vi:tabstop=8
*/
// $Id: HighOrder.cpp,v 1.6 2007-03-01 14:21:02 geuzaine Exp $ // $Id: HighOrder.cpp,v 1.7 2007-03-02 08:44:55 geuzaine Exp $
// //
// Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle // Copyright (C) 1997-2007 C. Geuzaine, J.-F. Remacle
// //
......
$Id: CREDITS,v 1.43 2007-01-29 17:16:03 geuzaine Exp $ $Id: CREDITS,v 1.44 2007-03-02 08:44:55 geuzaine Exp $
Gmsh is copyright (C) 1997-2007 Gmsh is copyright (C) 1997-2007
...@@ -11,20 +11,21 @@ $Id: CREDITS,v 1.43 2007-01-29 17:16:03 geuzaine Exp $ ...@@ -11,20 +11,21 @@ $Id: CREDITS,v 1.43 2007-01-29 17:16:03 geuzaine Exp $
<remacle at gce.ucl.ac.be> <remacle at gce.ucl.ac.be>
Major code contributions to Gmsh have been provided by Nicolas Tardieu Major code contributions to Gmsh have been provided by Nicolas Tardieu
<ntardieu at giref.ulaval.ca> (help with the GSL integration, new "STL <ntardieu at giref.ulaval.ca> (help with the GSL and Netgen
to elementary geometry" interface, Netgen integration), Stephen Guzik integration), Stephen Guzik <sguzik at utias.utoronto.ca> (CGNS
<sguzik at utias.utoronto.ca> (CGNS integration) and Pascale Noyret integration) and Pascale Noyret <pascale.noyret et edf.fr> (MED
(MED integration). integration).
Other code contributors include: David Colignon <David.Colignon at Other code contributors include: David Colignon <David.Colignon at
ulg.ac.be> for new colormaps; Patrick Dular <patrick.dular at ulg.ac.be> for new colormaps and lots of testing and bug reports;
ulg.ac.be> for transfinite mesh bug fixes; Laurent Stainier Patrick Dular <patrick.dular at ulg.ac.be> for transfinite mesh bug
<l.stainier at ulg.ac.be> for the eigenvalue solvers and for help with fixes; Laurent Stainier <l.stainier at ulg.ac.be> for the eigenvalue
the MacOS port and the tensor display code; Pierre Badel <badel at solvers and for help with the MacOS port and the tensor display code;
freesurf.fr> for help with the GSL integration; Marc Ume <Marc.Ume at Pierre Badel <badel at freesurf.fr> for help with the GSL integration;
digitalgraphics.be> for the original list code; Matt Gundry <mjgundry Marc Ume <Marc.Ume at digitalgraphics.be> for the original list code;
at faa-engineers.com> for the Plot3d mesh format; Jozef Vesely <vesely Matt Gundry <mjgundry at faa-engineers.com> for the Plot3d mesh
at gjh.sk> for the Tetgen integration. format; Jozef Vesely <vesely at gjh.sk> for help with the Tetgen
integration.
The AVL tree code (DataStr/avl.*) and the YUV image code The AVL tree code (DataStr/avl.*) and the YUV image code
(Graphics/gl2yuv.*) are copyright (C) 1988-1993, 1995 The Regents of (Graphics/gl2yuv.*) are copyright (C) 1988-1993, 1995 The Regents of
...@@ -57,9 +58,6 @@ copyright notice appear in all copies and that both that copyright ...@@ -57,9 +58,6 @@ copyright notice appear in all copies and that both that copyright
notice and this permission notice appear in supporting documentation. notice and this permission notice appear in supporting documentation.
This software is provided "as is" without express or implied warranty. This software is provided "as is" without express or implied warranty.
This product includes software developed by Brad Grantham and
Applied Conjecture. (Graphics/tp.*)
The colorbar widget (Fltk/Colorbar_Window.cpp) was inspired by code The colorbar widget (Fltk/Colorbar_Window.cpp) was inspired by code
from the Vis5d program for visualizing five dimensional gridded data from the Vis5d program for visualizing five dimensional gridded data
sets, copyright (C) 1990-1995, Bill Hibbard, Brian Paul, Dave Santek, sets, copyright (C) 1990-1995, Bill Hibbard, Brian Paul, Dave Santek,
...@@ -121,4 +119,5 @@ Krishna Mohan Gundu <gkmohan at gmail.com>, Christopher Stott <C.Stott ...@@ -121,4 +119,5 @@ Krishna Mohan Gundu <gkmohan at gmail.com>, Christopher Stott <C.Stott
at surrey.ac.uk>, Timmy Schumacher <Tim.Schumacher at colorado.edu>, at surrey.ac.uk>, Timmy Schumacher <Tim.Schumacher at colorado.edu>,
Carl Osterwisch <osterwischc at asme.org>, Bruno Frackowiak Carl Osterwisch <osterwischc at asme.org>, Bruno Frackowiak
<bruno.frackowiak at onecert.fr>, Philip Kelleners <P.H.Kelleners at <bruno.frackowiak at onecert.fr>, Philip Kelleners <P.H.Kelleners at
ctw.utwente.nl>, Romuald Conty <conty@phimeca.com>. ctw.utwente.nl>, Romuald Conty <conty at phimeca.com>, Ruth Sabariego
<r.sabariego at ulg.ac.be>.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment