blob: 519f6eecef32afe00a177ee8173aa9a9e808b0ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
/*@@
@header ioutil_Utils.h
@date Tue 19 Sep 2000
@author Thomas Radke
@desc
Function prototypes for setting up slice centers.
@history
@endhistory
@version $Header$
@@*/
#ifndef _IOUTIL_UTILS_H_
#define _IOUTIL_UTILS_H_
#ifdef __cplusplus
extern "C"
{
#endif
/* set the slice center for 1D lines */
int IOUtil_1DLines (const cGH *GH,
int num_dims,
int *const *const origin_index,
CCTK_REAL *const *const origin_phys,
int *const *const slice_center);
/* set the slice center for 2D planes */
int IOUtil_2DPlanes (const cGH *GH,
int num_dims,
const int *origin_index,
const CCTK_REAL *origin_phys,
int *slice_center);
int IOUtil_CreateDirectory (const cGH *GH,
const char *dirname,
int multiple_io_procs,
int ioproc);
#ifdef __cplusplus
}
#endif
#endif /* _IOUTIL_UTILS_H_ */
|