-int visual_init(t_visual *v,char *filebase);
-int visual_atoms(t_visual *v,double time,t_atom *atom,int n);
+int pair_correlation_init(t_moldyn *moldyn,double dr);
+int calculate_pair_correlation(t_moldyn *moldyn,double dr,void *ptr);
+
+int visual_init(t_moldyn *moldyn,char *filebase);
+int visual_atoms(t_moldyn *moldyn);