double p; /* actual pressure */
/* pressure and temperature control (velocity/volume scaling) */
+ /* (in units of tau!) */
unsigned char pt_scale; /* type of p and t scaling */
double t_tc; /* t berendsen control time constant */
double p_tc; /* p berendsen control time constant */
double energy; /* potential energy */
double ekin; /* kinetic energy */
- t_visual vis; /* visualization/log/save interface structure */
- u8 lvstat; /* log & vis properties */
+ char vlsdir[128]; /* visualization/log/save directory */
+ t_visual vis; /* visualization interface structure */
+ u8 vlsprop; /* log/vis/save properties */
unsigned int ewrite; /* how often to log energy */
int efd; /* fd for energy log */
unsigned int mwrite; /* how often to log momentum */
int mfd; /* fd for momentum log */
unsigned int vwrite; /* how often to visualize atom information */
- char vfb[64]; /* visualization file name base */
- //void *visual; /* pointer (hack!) */
unsigned int swrite; /* how often to create a save file */
- char sfb[64]; /* visualization file name base */
u8 status; /* general moldyn properties */
int set_potential2b_post(t_moldyn *moldyn,pf_func2b_post func,void *params);
int set_potential3b(t_moldyn *moldyn,pf_func3b func,void *params);
-int moldyn_set_log(t_moldyn *moldyn,u8 type,char *fb,int timer);
+int moldyn_set_log_dir(t_moldyn *moldyn,char *dir);
+int moldyn_set_log(t_moldyn *moldyn,u8 type,int timer);
int moldyn_log_shutdown(t_moldyn *moldyn);
int create_lattice(t_moldyn *moldyn,u8 type,double lc,int element,double mass,