aboutsummaryrefslogtreecommitdiff
path: root/src/IsoSurfacerGH.h
diff options
context:
space:
mode:
authorjshalf <jshalf@bfcf8e34-485d-4d46-a995-1fd6fa6fb178>2000-12-07 18:22:25 +0000
committerjshalf <jshalf@bfcf8e34-485d-4d46-a995-1fd6fa6fb178>2000-12-07 18:22:25 +0000
commit6fdbff13d3f075bcb2a2b03ad3b78a6276af222f (patch)
treee25efad621660bbd4e9ccee24a881dbeeb7b1fb1 /src/IsoSurfacerGH.h
parentb4272b3d2a842787bd819c08f9feadd12c957041 (diff)
Added gradient normal computations for the Renderer Thorn.
Also reenabled steering for isovalue because it works. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IsoSurfacer/trunk@21 bfcf8e34-485d-4d46-a995-1fd6fa6fb178
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;