int carry;
/* put one c ion somewhere in the lattice */
- if(c_ratio*step<my_info->cc) {
+ if(c_ratio*step<=my_info->cc) {
x=get_rand(d3_l->max_x);
y=get_rand(d3_l->max_y);
z=get_rand_reject(d3_l->max_z,rj_m,rj_g);
/* maybe we need a ratio! */
if(!do_sputter) {
get_c_ratio(&c_ratio,p_file,&my_info,&d3_l);
+ printf("calculated c ratio: %f\n",c_ratio);
}
/*