aboutsummaryrefslogtreecommitdiff
path: root/src/IsoSurfacerGH.h
diff options
context:
space:
mode:
authorjshalf <jshalf@bfcf8e34-485d-4d46-a995-1fd6fa6fb178>2000-10-09 23:02:27 +0000
committerjshalf <jshalf@bfcf8e34-485d-4d46-a995-1fd6fa6fb178>2000-10-09 23:02:27 +0000
commit6e58da114dfe3b00df6a3a307dcc140d547c06d8 (patch)
tree672083fa3572a42398dea678efabf2ba1ca4e8a6 /src/IsoSurfacerGH.h
parent52dbed6e928d2882b0c0f7005a0e269755dea5a2 (diff)
Now we have steering too.
I'm not really doing a sufficient amount of checking on the steering, but it works as long as you send "properly formed" commands. I'll do a pass on error-checking/correcting after I get IsoView updated in CVS. So now the C-version of the isosurfacer does pretty much everything that the C++ version does (aside from depending on external modules for communication/steering that is). I left the HDF5 remote sending commented out. However, since the HDF5 stream is in fact also written in C, it should be able to work. If someone wants to just check the arguments on that as well as the #defines to enable it, that should work as well. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IsoSurfacer/trunk@11 bfcf8e34-485d-4d46-a995-1fd6fa6fb178
Diffstat (limited to 'src/IsoSurfacerGH.h')
-rw-r--r--src/IsoSurfacerGH.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/IsoSurfacerGH.h b/src/IsoSurfacerGH.h
index ac299e7..943cf7c 100644
--- a/src/IsoSurfacerGH.h
+++ b/src/IsoSurfacerGH.h
@@ -14,6 +14,17 @@
surfacer to run without output for
benchmarking purposes */
+typedef struct CmdSet {
+ char object[64];
+ char target[64];
+ char value[64];
+} CmdSet;
+
+typedef union IsoCommand {
+ char buffer[64+64+64];
+ CmdSet cmd;
+} IsoCommand;
+
typedef struct polypatch
{
CCTK_REAL4 *verts;