diff options
Diffstat (limited to 'src/WriteScalar.c')
-rw-r--r-- | src/WriteScalar.c | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/src/WriteScalar.c b/src/WriteScalar.c index 51986e8..235f8bb 100644 --- a/src/WriteScalar.c +++ b/src/WriteScalar.c @@ -22,7 +22,7 @@ static const char *rcsid = "$Header$"; -CCTK_FILEVERSION(CactusBase_IOBasic_WriteScalar_c) +CCTK_FILEVERSION(CactusBase_IOBasic_WriteScalar_c); static int IOBasic_WriteScalarGS (const cGH *GH, int vindex, const char *alias); @@ -42,7 +42,7 @@ static FILE *OpenScalarFile (const cGH *GH, Write a scalar value of a CCTK variable into an ASCII file suitable for postprocessing by either gluplot or xgraph. This routine just calls the appropriate output routine - according the the variable type. + according to the variable type. @enddesc @calls CCTK_QueryGroupStorageI @@ -70,7 +70,7 @@ static FILE *OpenScalarFile (const cGH *GH, @returntype int @returndesc return code of either @seeroutine IOBasic_WriteScalarGS or - @seeroutine IOBasic_WriteScalarGA, or<BR> + @seeroutine IOBasic_WriteScalarGA, or -1 if variable has no storage assigned @endreturndesc @@*/ @@ -249,10 +249,14 @@ static int IOBasic_WriteScalarGA (const cGH *GH, int vindex, const char *alias) suitable for postprocessing by either gluplot or xgraph. @enddesc - @calls CCTK_Reduce - CCTK_ReductionHandle - IOUtil_RestartFromRecovery - IOUtil_AdvertiseFile + @calls CCTK_MyProc + CCTK_GHExtension + CCTK_Equals + OpenScalarFile + CCTK_VarDataPtrI + CCTK_VarTypeI + CCTK_WARN + CCTK_VWarn @var GH @vdesc Pointer to CCTK grid hierarchy |