aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a>2004-01-22 13:31:13 +0000
committertradke <tradke@ebee0441-1374-4afa-a3b5-247f3ba15b9a>2004-01-22 13:31:13 +0000
commit215d6e32d8439f4821921516d31549bac05d7655 (patch)
tree6a7248e0938dab76c549357b5293f811c2069bad /src
parent30bb1fa778e98ac7f2562bef700e1951c59b42e9 (diff)
Renamed some aliased hyperslab functions to comply with the maximum length
for names of Fortran routines (31 characters): Hyperslab_DefineGlobalMappingByPhys -> Hyperslab_GlobalMappingByPhys Hyperslab_DefineGlobalMappingByIndex -> Hyperslab_GlobalMappingByIndex Hyperslab_DefineLocalMappingByPhys -> Hyperslab_LocalMappingByPhys Hyperslab_DefineLocalMappingByIndex -> Hyperslab_LocalMappingByIndex Also renamed the providing functions accordingly. git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@302 ebee0441-1374-4afa-a3b5-247f3ba15b9a
Diffstat (limited to 'src')
-rw-r--r--src/DumpVar.c22
-rw-r--r--src/Write2D.c14
2 files changed, 17 insertions, 19 deletions
diff --git a/src/DumpVar.c b/src/DumpVar.c
index 2ce2995..87d87b5 100644
--- a/src/DumpVar.c
+++ b/src/DumpVar.c
@@ -293,7 +293,7 @@ static int WriteGS (const cGH *GH, const ioRequest *request, IOFile file)
Dumps a grid array variable into a IEEEIO file.
@enddesc
- @calls Hyperslab_DefineLocalMappingByIndex
+ @calls Hyperslab_LocalMappingByIndex
Hyperslab_FreeMapping
Hyperslab_Get
WriteData
@@ -348,16 +348,16 @@ static int WriteGA (const cGH *GH, const ioRequest *request, IOFile file)
CCTK_WARN (1, "Failed to hyperslab parameter create table from string");
}
}
- mapping = Hyperslab_DefineLocalMappingByIndex (GH, request->vindex,
- request->hdim,
- request->direction,
- request->origin,
- request->extent,
- request->downsample,
- table, NULL,
- request->hsize_chunk,
- request->hsize,
- request->hoffset);
+ mapping = Hyperslab_LocalMappingByIndex (GH, request->vindex,
+ request->hdim,
+ request->direction,
+ request->origin,
+ request->extent,
+ request->downsample,
+ table, NULL,
+ request->hsize_chunk,
+ request->hsize,
+ request->hoffset);
if (table >= 0)
{
Util_TableDestroy (table);
diff --git a/src/Write2D.c b/src/Write2D.c
index 8c393d1..8da9182 100644
--- a/src/Write2D.c
+++ b/src/Write2D.c
@@ -261,14 +261,12 @@ int IOFlexIO_Write2D (const cGH *GH, int vindex, const char *alias)
memset (direction, 0, sizeof (direction));
direction[dir_i] = direction[3 + dir_j] = 1;
- mapping = Hyperslab_DefineGlobalMappingByIndex (GH, vindex, 2,
- direction,
- origin,
- extent,
- NULL, /* downsample */
- -1, /* table handle */
- NULL /* conversion fn */,
- hsize);
+ mapping = Hyperslab_GlobalMappingByIndex (GH, vindex, 2,
+ direction, origin, extent,
+ NULL, /* downsample */
+ -1, /* table handle */
+ NULL /* conversion fn */,
+ hsize);
if (mapping < 0)
{
CCTK_VWarn (1, __LINE__, __FILE__, CCTK_THORNSTRING,