diff options
author | allen <allen@ebee0441-1374-4afa-a3b5-247f3ba15b9a> | 2000-02-03 12:34:52 +0000 |
---|---|---|
committer | allen <allen@ebee0441-1374-4afa-a3b5-247f3ba15b9a> | 2000-02-03 12:34:52 +0000 |
commit | 99ce7841daad59ef4ddc25f295743125001857d6 (patch) | |
tree | 50cfc34370f510cd9c0dd1ec0e5dc5ced43620e0 /src/Output3D.c | |
parent | 6181ab1027447f2878b9f713327b53831dbb28cc (diff) |
New function and structure names
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@85 ebee0441-1374-4afa-a3b5-247f3ba15b9a
Diffstat (limited to 'src/Output3D.c')
-rw-r--r-- | src/Output3D.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/Output3D.c b/src/Output3D.c index 99a845d..f9f6873 100644 --- a/src/Output3D.c +++ b/src/Output3D.c @@ -18,7 +18,6 @@ #include "cctk.h" #include "cctk_Parameters.h" -#include "cctk_ParameterFunctions.h" #include "CactusBase/IOUtil/src/ioGH.h" #include "ioFlexGH.h" @@ -53,7 +52,7 @@ int IOFlexIO_Output3DGH (cGH *GH) flexioGH *myGH; const char *name; char *fullname; - t_param_prop *param_prop; + cParamData *paramdata; static int out3D_vars_lastset = 0; @@ -64,18 +63,20 @@ int IOFlexIO_Output3DGH (cGH *GH) return (0); /* Check the 'out3D_vars' parameter */ - param_prop = CCTK_ParameterInfo ("out3D_vars", CCTK_THORNSTRING); - if (! param_prop) { + paramdata = CCTK_ParameterData ("out3D_vars", CCTK_THORNSTRING); + if (! paramdata) + { CCTK_WARN (3, "Couldn't get info on parameter 'out3D_vars'"); return (0); } /* re-parse the 'out3D_vars' parameter if it was changed */ - if (param_prop->n_set != out3D_vars_lastset) { + if (paramdata->n_set != out3D_vars_lastset) + { ParseVarsForOutput (out3D_vars, myGH->do_out3D); /* Save the last setting of 'out3D_vars' parameter */ - out3D_vars_lastset = param_prop->n_set; + out3D_vars_lastset = paramdata->n_set; } /* Loop over all variables */ |