aboutsummaryrefslogtreecommitdiff
path: root/src/RestoreFile.c
diff options
context:
space:
mode:
authorgoodale <goodale@ebee0441-1374-4afa-a3b5-247f3ba15b9a>2000-04-19 23:14:02 +0000
committergoodale <goodale@ebee0441-1374-4afa-a3b5-247f3ba15b9a>2000-04-19 23:14:02 +0000
commitf142d87fd6ab909431a26b7e715508c6ea8c98f8 (patch)
tree7eef3b57c7be1a3e13ec40d0d35a4cd0b246251c /src/RestoreFile.c
parent587cddbd2b7a35b428e8e68cdf0e71878ee9413f (diff)
Changed names of PUGH functions to be uniform. Now all PUGH functions
should begin with PUGH. Tom git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@112 ebee0441-1374-4afa-a3b5-247f3ba15b9a
Diffstat (limited to 'src/RestoreFile.c')
-rw-r--r--src/RestoreFile.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/RestoreFile.c b/src/RestoreFile.c
index 43aac82..1e59035 100644
--- a/src/RestoreFile.c
+++ b/src/RestoreFile.c
@@ -33,7 +33,7 @@
/* the rcs ID and its dummy funtion to use it */
static char *rcsid = "$Id$";
-CCTK_FILEVERSION (CactusPUGHIO_IOFlexIO_RestoreFile_c);
+CCTK_FILEVERSION(CactusPUGHIO_IOFlexIO_RestoreFile_c)
/* local function prototypes */
@@ -94,7 +94,7 @@ int IOFlexIOi_RecoverVariables (cGH *GH, fileinfo_t *file)
nDatasets = 0;
/* Get the handles for PUGH extensions */
- pughGH = pugh_pGH (GH);
+ pughGH = PUGH_pGH (GH);
myproc = CCTK_MyProc (GH);
nprocs = CCTK_nProcs (GH);
@@ -181,7 +181,7 @@ int IOFlexIOi_RecoverVariables (cGH *GH, fileinfo_t *file)
/* FIXME: Don't know how to support COMPLEX types too !! */
case CCTK_VARIABLE_COMPLEX:
element_size = sizeof (CCTK_COMPLEX);
- mpi_type = pughGH->pugh_mpi_complex;
+ mpi_type = pughGH->PUGH_mpi_complex;
break;
#endif
default:
@@ -315,7 +315,7 @@ int IOFlexIOi_RecoverVariables (cGH *GH, fileinfo_t *file)
case CCTK_VARIABLE_REAL: mpi_type = PUGH_MPI_REAL; break;
#if 0
/* FIXME: Don't know how to support COMPLEX types too !! */
- case CCTK_VARIABLE_COMPLEX: mpi_type = pughGH->pugh_mpi_complex; break;
+ case CCTK_VARIABLE_COMPLEX: mpi_type = pughGH->PUGH_mpi_complex; break;
#endif
default:
CCTK_WARN (1, "Unsupported datatype");
@@ -484,7 +484,7 @@ static int GetCommonAttributes (cGH *GH, IOFile fid, int unchunked, int *index,
break;
case GROUP_GF:
case GROUP_ARRAY:
- extras = ((pGA ***) pugh_pGH (GH)->variables)[*index][*timelevel]->extras;
+ extras = ((pGA ***) PUGH_pGH (GH)->variables)[*index][*timelevel]->extras;
dims = unchunked ? extras->nsize : extras->lnsize;
for (i = 0; i < groupdata.dim; i++)
if (dims [i] != dims_stored [i])