int dnlc; /* direct neighbour lists counter */
} t_linkcell;
-#include "visual/visual.h"
-
/* moldyn schedule structure */
typedef struct s_moldyn_schedule {
int count;
void *hook_params;
} t_moldyn_schedule;
+/* visualization structure */
+typedef struct s_visual {
+ int fd; /* rasmol script file descriptor */
+ char fb[128]; /* basename of the save files */
+ t_3dvec dim; /* dimensions of the simulation cell */
+} t_visual;
+
/* moldyn main structure */
typedef struct s_moldyn {
int argc; /* number of arguments */
#define FCC 0x02
#define DIAMOND 0x04
-
/*
*
* function prototypes
int get_line(int fd,char *line,int max);
+int visual_init(t_visual *v,char *filebase);
+int visual_atoms(t_visual *v,double time,t_atom *atom,int n);
+
#endif
+