Changeset 1881 for issm/trunk/src/c/io/io.h
- Timestamp:
- 08/25/09 13:04:05 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/io/io.h
r1844 r1881 8 8 #include "../objects/NodeSets.h" 9 9 #include "../DataSet/DataSet.h" 10 #include "../include/types.h" 10 11 11 /*Define abstract type for I/O: */ 12 #ifdef _SERIAL_ 13 #include <mex.h> 14 typedef const mxArray* ConstDataHandle; //serially, we are reading data from a matlab array. 15 typedef mxArray* DataHandle; 16 #else 17 typedef FILE* ConstDataHandle; //in parallel, we are reading data from a file. 18 typedef FILE* DataHandle; 19 #endif 20 12 class DataSet; 21 13 22 14 void FetchData(void** pdata,int* pM,int* pN,ConstDataHandle data_handle,char* data_type,char* sub_data_type); … … 45 37 /*File I/O: */ 46 38 FILE* pfopen(char* filename,char* format); 47 void *pfclose(FILE* fid,char* filename);39 void pfclose(FILE* fid,char* filename); 48 40 49 41 #endif /* _IMDB_H */
Note:
See TracChangeset
for help on using the changeset viewer.