aboutsummaryrefslogtreecommitdiff
path: root/src/WriteHLL.h
blob: 7d0213015c6fa7923baa07d4aeec5bfb61a049e3 (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
#ifndef __HLL_WRITER_H_
#define __HLL_WRITER_H_

IOFile *HLLnewWriter(IOFile *file);
void HLLdeleteWriter(IOFile *file);

void HLLsetCoordType(IOFile *handle,int coordtype);
void HLLsetIndexType(IOFile *handle,int indextype);
void HLLnewDataset(IOFile *handle,int ndims,long npoints);
void HLLwriteCoords(IOFile *handle,
		 void *xcoords,void *ycoords,void *zcoords); 
void HLLwriteCoordsXYZ(IOFile *handle,void *xcoords);
void HLLwriteConnectivity(IOFile *handle,void *cells,long ncells);
void HLLwriteData(IOFile *handle,char *dataname,int datatype,
		 void *data,int veclen);

IOFile *HLLnewReader(IOFile *base);
void HLLdeleteReader(IOFile *handle);

void HLLselectDataset(IOFile *handle,
		      int index,int *ndims,int *npoints,
		      int *ncells,int *ndata);
void HLLreadDataInfo(IOFile *handle,char *names[],
		     int *datatypes,int *veclens);
void HLLreadCoords(IOFile *handle,
		   float *xcoords,float *ycoords,float *zcoords);
void HLLreadConnectivity(IOFile *handle,int *cells);
void HLLreadData(IOFile *handle,char *name,void *data);


#endif