aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/IsoSurfacer.c10
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);