aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjshalf <jshalf@bfcf8e34-485d-4d46-a995-1fd6fa6fb178>2001-01-15 17:26:27 +0000
committerjshalf <jshalf@bfcf8e34-485d-4d46-a995-1fd6fa6fb178>2001-01-15 17:26:27 +0000
commit095e918156857b8e020f2b58e768cdf1a3c80434 (patch)
tree89b3ae269f77ee3caa50ea76d669b9281b51775f /src
parent1d604d6bf939f0e71e6abac62797d00d6c034b30 (diff)
Bringing isosurfacer into sync.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IsoSurfacer/trunk@35 bfcf8e34-485d-4d46-a995-1fd6fa6fb178
Diffstat (limited to 'src')
-rw-r--r--src/IsoSurfacer.c2
-rw-r--r--src/IsoSurfacerInit.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/IsoSurfacer.c b/src/IsoSurfacer.c
index e84b965..a14d09b 100644
--- a/src/IsoSurfacer.c
+++ b/src/IsoSurfacer.c
@@ -20,7 +20,9 @@
#include "cctk_DefineThorn.h"
#include "cctk_Parameters.h"
+#ifdef CACTUSPUGH_PUGH
#include "CactusPUGH/PUGH/src/include/pugh.h"
+#endif
#include "IsoSurfacerGH.h"
#include "IsoSurfacerInit.h"
diff --git a/src/IsoSurfacerInit.c b/src/IsoSurfacerInit.c
index 746d6c1..c82fcfe 100644
--- a/src/IsoSurfacerInit.c
+++ b/src/IsoSurfacerInit.c
@@ -67,7 +67,7 @@ int IsoSurfacer_InitGH (cGH *GH){
myGH->perprocessor.nverts = myGH->totals.nverts = 0;
myGH->perprocessor.polys = myGH->totals.polys = NULL;
myGH->perprocessor.npolys = myGH->totals.npolys = 0;
- myGH->perprocessor.norms = myGH->totals.norms = NULL;
+ myGH->perprocessor.norms = myGH->totals.norms = NULL;
myGH->perprocessor.nnorms = myGH->totals.nnorms = 0;
myGH->minval=0.0;
myGH->maxval=1.0;