SCOREC core
Parallel unstructured mesh tools
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
phstream.h
Go to the documentation of this file.
1 #ifndef PHSTREAM_H_
2 #define PHSTREAM_H_
3 #include <stdio.h>
4 
5 
13 typedef struct RStream* rstream;
14 typedef struct GRStream* grstream;
16 rstream makeRStream();
18 void clearRStream(rstream rs);
20 void destroyRStream(rstream rs);
21 
23 grstream makeGRStream();
25 void clearGRStream(grstream grs);
27 void destroyGRStream(grstream grs);
28 
30 FILE* openRStreamRead(rstream rs);
32 FILE* openRStreamWrite(rstream rs);
33 
35 FILE* openGRStreamRead(grstream grs, const char* named);
37 FILE* openGRStreamWrite(grstream grs, const char* named);
38 
40 void attachRStream(grstream grs, rstream rs);
41 #endif
FILE * openGRStreamWrite(grstream grs, const char *named)
open named stream in geom-restart stream for writing
void destroyGRStream(grstream grs)
destroy geom-restart stream
grstream makeGRStream()
make geom-restart stream
FILE * openRStreamWrite(rstream rs)
open restart stream for writing
void destroyRStream(rstream rs)
detach output stream
FILE * openGRStreamRead(grstream grs, const char *named)
open named stream in geom-restart stream for reading
void attachRStream(grstream grs, rstream rs)
dev function
void clearGRStream(grstream grs)
clear geom-restart stream
FILE * openRStreamRead(rstream rs)
open restart stream for reading
void clearRStream(rstream rs)
clear restart stream
rstream makeRStream()
make restart stream