aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a>2003-01-21 09:43:34 +0000
committertradke <tradke@b32723a9-ab3a-4a60-88e2-2e5d99d7c17a>2003-01-21 09:43:34 +0000
commitaa545ab68d23664e9da7b7e09a88fbbb5d3c23a5 (patch)
treee5e90577187eb4ad45eda4161b4184fa217229f0
parent80bbfb97dcc177c832081fb830293f2fa5337a8e (diff)
Removed superfluous newline in checkpoint timing output.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOUtil/trunk@184 b32723a9-ab3a-4a60-88e2-2e5d99d7c17a
-rw-r--r--src/Utils.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/Utils.c b/src/Utils.c
index c2e8231..4b559f6 100644
--- a/src/Utils.c
+++ b/src/Utils.c
@@ -4,7 +4,7 @@
@author Gabrielle Allen
@desc
Utility routines which may be called by other I/O thorns.
- @enddesc
+ @enddesc
@version $Id$
@@*/
@@ -365,7 +365,7 @@ int IOUtil_1DLines (const cGH *GH,
/* FIXME: check upper index bounds also ?? */
slice_center[dir][dim] = origin_index[dir][dim];
}
- else if (lower_range[dim] > origin_phys[dir][dim] ||
+ else if (lower_range[dim] > origin_phys[dir][dim] ||
upper_range[dim] < origin_phys[dir][dim])
{
CCTK_VWarn (1, __LINE__, __FILE__, CCTK_THORNSTRING,
@@ -380,7 +380,7 @@ int IOUtil_1DLines (const cGH *GH,
'x' + dir);
slice_center[dir][dim] = 0;
}
- else
+ else
{
/* Find index for first point above the chosen coordinate */
slice_center[dir][dim] =
@@ -395,7 +395,7 @@ int IOUtil_1DLines (const cGH *GH,
}
}
}
-
+
/* free allocated resources */
free (lower_range);
@@ -494,7 +494,7 @@ int IOUtil_2DPlanes (const cGH *GH,
{
slice_center[dir] = origin_index[dir];
}
- else if (lower_range[dir] > origin_phys[dir] ||
+ else if (lower_range[dir] > origin_phys[dir] ||
upper_range[dir] < origin_phys[dir])
{
CCTK_VWarn (1, __LINE__, __FILE__, CCTK_THORNSTRING,
@@ -609,7 +609,7 @@ void IOUtil_PrintTimings (const char *description,
}
}
}
- CCTK_INFO ("-----------------------------------------\n");
+ CCTK_INFO ("-----------------------------------------");
CCTK_TimerDestroyData (info);
}
else
@@ -880,10 +880,10 @@ ioRequest *IOUtil_DefaultIORequest (const cGH *GH, int vindex,
DECLARE_CCTK_PARAMETERS
- myGH = (const ioGH *) CCTK_GHExtension (GH, "IO");
+ myGH = CCTK_GHExtension (GH, "IO");
/* allocate a new I/O request structure */
- request = (ioRequest *) malloc (sizeof (ioRequest));
+ request = malloc (sizeof (ioRequest));
/* fill out the basics */
request->vindex = vindex;
@@ -913,13 +913,13 @@ ioRequest *IOUtil_DefaultIORequest (const cGH *GH, int vindex,
/* get the variable's dimension and extents */
request->vdim = CCTK_GroupDimFromVarI (vindex);
- extent_int = (int *) malloc (request->vdim * sizeof (int));
+ extent_int = malloc (request->vdim * sizeof (int));
CCTK_GroupgshVI (GH, request->vdim, extent_int, vindex);
/* allocate the arrays all in one go
only initialize those which are mandatory for the Hyperslab API */
- request->vectors = (CCTK_INT *) calloc ((request->vdim + 6) * request->vdim + 1,
- sizeof (CCTK_INT));
+ request->vectors = calloc ((request->vdim + 6) * request->vdim + 1,
+ sizeof (CCTK_INT));
request->hoffset = request->vectors + 0*request->vdim;
request->hsize = request->vectors + 1*request->vdim;
request->hsize_chunk = request->vectors + 2*request->vdim;