diff options
author | jshalf <jshalf@bfcf8e34-485d-4d46-a995-1fd6fa6fb178> | 2000-12-13 20:05:03 +0000 |
---|---|---|
committer | jshalf <jshalf@bfcf8e34-485d-4d46-a995-1fd6fa6fb178> | 2000-12-13 20:05:03 +0000 |
commit | 0ccc9a60fa04d9a2f03ad7a65e3777d730fa07ec (patch) | |
tree | a2034bd913ea9d6fda755451ba8d58f53e71f209 | |
parent | 7d5745ea721bffe69097a6134b4765d94d94ff97 (diff) |
Ooops,
used strcmp() where I should have used CCTK_Equals()
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IsoSurfacer/trunk@28 bfcf8e34-485d-4d46-a995-1fd6fa6fb178
-rw-r--r-- | src/IsoSurfacer.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/IsoSurfacer.c b/src/IsoSurfacer.c index f9d8ea7..c9c6b86 100644 --- a/src/IsoSurfacer.c +++ b/src/IsoSurfacer.c @@ -104,12 +104,6 @@ static int IsoSurfacerHandleCommands(cGH *GH) Bcast entry of length 1 if done */ - /* char catenated[64+64+64] = ""; - if (!http_ReceiveNextCommand(GH, "isosurf", catenated )) - break; - char *obj = catenated+64, - *val = catenated+128; */ - /* Here it just needs to read from the control socket and then change the isosurface appropriately */ #define VERBOSE @@ -139,7 +133,6 @@ static int IsoSurfacerHandleCommands(cGH *GH) sprintf(stringval,"%f", tmpval); CCTK_ParameterSet("isovalue","isosurfacer",stringval); - /* CCTK_SetParameter(); how? */ } #else if(Iso_PollCommand(GH,&command)){ @@ -150,7 +143,6 @@ static int IsoSurfacerHandleCommands(cGH *GH) //new_isovalue=atof(command.cmd.value); /* steer it. */ /* If we have MPI, must propagate the steering info to all processes */ - /* CCTK_SetParameter(); how? */ CCTK_ParameterSet("isovalue","isosurfacer",command.cmd.value); } #endif @@ -165,7 +157,7 @@ static int doIso(int index, cGH *GH, isosurfacerGH *myGH) fullname = CCTK_FullName (index); /* printf("Check doIso: fullname[%s]:[%s]",fullname,myGH->funcName);*/ - if(!strcmp(fullname,myGH->funcName)){ + if(CCTK_Equals(fullname,myGH->funcName)){ if(myGH->firstIteration<=GH->cctk_iteration && !((GH->cctk_iteration-myGH->firstIteration) % myGH->outfreq)){ free(fullname); |