blob: 2fa32e72ca11c64ee1bba450ec02c5d90ee55829 (
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
|
/*@@
@file FortranBindingsIO.c
@date Thu Feb 18 14:27:18 1999
@author Gabrielle Allen
@desc
Fortran bindings for the IO functions
@enddesc
@version $Id$
@@*/
#include <stdlib.h>
#include "cctk_Flesh.h"
#include "cctk_FortranString.h"
#include "cctk_IO.h"
#include "cctk_IOMethods.h"
static const char *rcsid = "$Header$";
CCTK_FILEVERSION(IO_FortranBindingsIO_c)
void CCTK_FCALL CCTK_FNAME (CCTK_OutputGH)
(int *istat, const cGH *GH);
void CCTK_FCALL CCTK_FNAME (CCTKi_RegisterIOMethod)
(int *handle, TWO_FORTSTRING_ARG);
void CCTK_FCALL CCTK_FNAME (CCTK_OutputGH)
(int *istat, const cGH *GH)
{
*istat = CCTK_OutputGH (GH);
}
void CCTK_FCALL CCTK_FNAME (CCTKi_RegisterIOMethod)
(int *handle, TWO_FORTSTRING_ARG)
{
TWO_FORTSTRING_CREATE (thorn, name);
*handle = CCTKi_RegisterIOMethod (thorn, name);
free (thorn);
free (name);
}
|