"Ar",
};
-static double *pse_mass[]={
+/*
+static double pse_mass[]={
0,
0,
0,
0,
};
-static double *pse_lc[]={
+static double pse_lc[]={
0,
0,
0,
0,
0,
};
+*/
/*
* the moldyn functions
int set_p_scale(t_moldyn *moldyn,u8 ptype,double ptc) {
- moldyn->pt_scalei&=(^(P_SCALE_MASK));
+ moldyn->pt_scale&=(~(P_SCALE_MASK));
moldyn->pt_scale|=ptype;
moldyn->p_tc=ptc;
printf(" | type: %02x | factor: %f",ptype,ptc);
printf("\n");
- printf(" t: %s",ttype?"yes":"no ");
- if(ttype)
- printf(" | type: %02x | factor: %f",ttype,ttc);
- printf("\n");
-
return 0;
}
int set_t_scale(t_moldyn *moldyn,u8 ttype,double ttc) {
- moldyn->pt_scalei&=(^(T_SCALE_MASK));
+ moldyn->pt_scale&=(~(T_SCALE_MASK));
moldyn->pt_scale|=ttype;
moldyn->t_tc=ttc;
printf("[moldyn] p/t scaling:\n");
- printf(" p: %s",ptype?"yes":"no ");
- if(ptype)
- printf(" | type: %02x | factor: %f",ptype,ptc);
- printf("\n");
-
printf(" t: %s",ttype?"yes":"no ");
if(ttype)
printf(" | type: %02x | factor: %f",ttype,ttc);
atom=moldyn->atom;
/* initialize linked cell method */
+printf(" hier soll es sein\n");
link_cell_init(moldyn,VERBOSE);
/* logging & visualization */
lc=&(moldyn->lc);
+ /* only init link cell if it doesn't exist! */
+ HIER WEITER
link_cell_init(moldyn,VERBOSE);
itom=moldyn->atom;