commit | author | age
|
ee84bd
|
1 |
#ifndef _H_DUMPSTATE |
SP |
2 |
#define _H_DUMPSTATE |
|
3 |
|
|
4 |
#include <libxml/parser.h> |
|
5 |
#include <libxml/tree.h> |
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
typedef struct { |
|
10 |
long int npoints; |
|
11 |
long int ncells; |
|
12 |
long int idx; |
|
13 |
ts_double *x; |
|
14 |
ts_double *y; |
|
15 |
ts_double *z; |
|
16 |
|
|
17 |
long int neigh_idx1; |
|
18 |
long int neigh_idx2; |
|
19 |
} ts_vtk_data; |
|
20 |
|
|
21 |
|
|
22 |
|
|
23 |
|
|
24 |
|
|
25 |
ts_vesicle *vtk2vesicle(char *filename, ts_tape *tape); |
|
26 |
ts_bool parse_vtk(char *filename, ts_vesicle *vesicle); |
|
27 |
ts_bool vtk_index2vesicle(xmlNode *node, ts_vesicle *vesicle); |
43e534
|
28 |
ts_bool vtk_coordinates(xmlNode *node, ts_vesicle *vesicle); |
SP |
29 |
ts_bool vtk_neighbours(xmlNode *node, ts_vesicle *vesicle); |
ee84bd
|
30 |
|
43e534
|
31 |
ts_vertex_list *vtk_sort_neighbours(ts_bond_list *blist,ts_vertex_list *vlist); |
ee84bd
|
32 |
|
SP |
33 |
|
|
34 |
#endif |