## temperature / pressure ##
-temperature 0.0
+temperature 723
pressure 0.0
## initial lattice ##
## more stages ##
-stage ins_atoms 10 1 14 0 vh123 rand -5.5 -5.5 -5.5 5.5 5.5 5.5
-stage ins_atoms 1 1 6 1 vh123 rand 0 0 0 5.429 5.429 5.429
+stage ins_atoms 10 1 14 0 vh123 rand -5.5 -5.5 -5.5 5.5 5.5 5.5 1.5
+stage ins_atoms 1 1 6 1 vh123 rand -2.715 -2.715 -2.715 2.715 2.715 2.715 1.5
stage continue 10000
#stage anneal 723 -1.0
}
}
// only rand mode by now
- if(word[8][0]=='t')
+ if(word[8][0]=='t') {
iap.type=INS_TOTAL;
+ iap.cr=atof(word[9]);
+ }
else {
iap.type=INS_REGION;
iap.x0=atof(word[8]);
iap.x1=atof(word[11]);
iap.y1=atof(word[12]);
iap.z1=atof(word[13]);
+ iap.cr=atof(word[14]);
}
add_stage(mdrun,STAGE_INSERT_ATOMS,&iap);
}
}
add_atom(moldyn,iap->element,pse_mass[iap->element],
iap->brand,iap->attr,&r,&v);
- printf("%s atom inserted: %f %f %f | d squared = %f\n",
- ME,r.x,r.y,r.z,dmin);
+ printf("%s atom inserted (%d/%d): %f %f %f\n",
+ ME,(iap->cnt_steps+1)*iap->ins_atoms,
+ iap->ins_steps*iap->ins_atoms,r.x,r.y,r.z);
+ printf(" -> d2 = %f/%f\n",dmin,iap->cr*iap->cr);
cnt+=1;
}