8726741a274d28f3fb747ead9f70884343315a8d
[physik/posic.git] / visual / visual.h
1 /*
2  * visual.h - visualization header file
3  *                                  
4  * author: Frank Zirkelbach <frank.zirkelbach@physik.uni-augsburg.de>
5  *
6  */
7
8 #ifndef VISUAL_H
9 #define VISUAL_H
10
11 #include "../moldyn.h"
12 #include "../math/math.h"
13
14 /* datatypes */
15
16 typedef struct s_visual {
17         int fd;                 /* rasmol script file descriptor */
18         char fb[128];           /* basename of the save files */
19         t_3dvec dim;            /* dimensions of the simulation cell */
20 } t_visual;
21
22 /* function prototypes */
23
24 int visual_init(t_visual *v,char *filebase);
25 int visual_tini(t_visual *v);
26 int visual_atoms(t_visual *v,double time,t_atom *atom,int n);
27
28 #endif
29
30