diff options
-rw-r--r-- | src/IsoSurfacer.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/IsoSurfacer.c b/src/IsoSurfacer.c index d811495..cca1f60 100644 --- a/src/IsoSurfacer.c +++ b/src/IsoSurfacer.c @@ -132,6 +132,8 @@ static int IsoSurfacerHandleCommands(cGH *GH) new_isovalue=tmpval; /* copyback */ sprintf(stringval,"%f", tmpval); + + /* Steer the parameter */ CCTK_ParameterSet("isovalue","isosurfacer",stringval); } #else @@ -140,9 +142,8 @@ static int IsoSurfacerHandleCommands(cGH *GH) printf("+++++++++Process Command [%s] [%s] [%s]\n", command.cmd.object,command.cmd.target,command.cmd.value); #endif - //new_isovalue=atof(command.cmd.value); /* steer it. */ - /* If we have MPI, must propagate the steering info - to all processes */ + + /* Steer the parameter */ CCTK_ParameterSet("isovalue","isosurfacer",command.cmd.value); } #endif |