/* reset viral of atom i */
v3_zero(&(itom[i].virial));
+ /* reset site energy */
+ itom[i].e=0.0;
+
/* single particle potential/force */
if(itom[i].attr&ATOM_ATTR_1BP)
moldyn->func1b(moldyn,&(itom[i]));
t_3dvec v; /* velocity */
t_3dvec f; /* force */
t_3dvec virial; /* virial */
+ double e; /* site energy */
int element; /* number of element in pse */
double mass; /* atom mass */
u8 bnum; /* brand number */
/* set temperature */
printf("[sic] setting temperature\n");
- //set_temperature(&md,273.0+1410.0);
- set_temperature(&md,273.0+450.0);
+ set_temperature(&md,273.0+1410.0);
+ //set_temperature(&md,273.0+450.0);
//set_temperature(&md,273.0);
//set_temperature(&md,1.0);
//set_temperature(&md,0.0);
/* create the simulation schedule */
printf("[sic] adding schedule\n");
- moldyn_add_schedule(&md,30001,1.0);
+ moldyn_add_schedule(&md,20001,1.0);
/* activate logging */
printf("[sic] activate logging\n");