aboutsummaryrefslogtreecommitdiff
path: root/src/IsoSurfacerGH.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/IsoSurfacerGH.h')
-rw-r--r--src/IsoSurfacerGH.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/IsoSurfacerGH.h b/src/IsoSurfacerGH.h
index 9f68814..3791bfd 100644
--- a/src/IsoSurfacerGH.h
+++ b/src/IsoSurfacerGH.h
@@ -25,12 +25,15 @@ typedef union IsoCommand {
CmdSet cmd;
} IsoCommand;
+/* Should change name to IsoGeometry */
typedef struct polypatch
{
CCTK_REAL4 *verts;
CCTK_INT4 nverts;
CCTK_INT4 *polys;
CCTK_INT4 npolys;
+ CCTK_REAL4 *norms; /* these are vertex normals */
+ CCTK_INT4 nnorms;
} polypatch;
typedef struct isosurfacerGH
@@ -41,7 +44,8 @@ typedef struct isosurfacerGH
short int formats;
short int outfreq;
short int firstIteration;
- short int RunIsoSurfacer;
+ short int RunIsoSurfacer;
+ short int ComputeNormals;
polypatch perprocessor,totals; /* un-collected geometry for this node */
} isosurfacerGH;