From 0ccc9a60fa04d9a2f03ad7a65e3777d730fa07ec Mon Sep 17 00:00:00 2001 From: jshalf Date: Wed, 13 Dec 2000 20:05:03 +0000 Subject: 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 --- src/IsoSurfacer.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src') 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); -- cgit v1.2.3