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