break;
case 'i':
c_diff=0;
+ my_info.dr_cc=0;
break;
case 's':
my_info.steps=atoi(argv[++i]);
sprintf(cd_txt,"a_cd: %.3f b_cd: %.3f",my_info.a_cd,my_info.b_cd);
sprintf(cp_txt,"a_cp: %.4f",my_info.a_cp);
sprintf(dr_ac_txt,"a/c diffusion rate: %.4f",my_info.dr_ac);
- sprintf(dr_cc_txt,"c/c diffusion rate: %.4f",my_info.dr_cc);
+ if(my_info.dr_cc!=0) sprintf(dr_cc_txt,"c/c diffusion rate: %.4f",my_info.dr_cc);
+ else sprintf(dr_cc_txt,"c/c diffusion rate: none");
sprintf(zdiff_txt,"diffusion in z direction: %c",my_info.z_diff?'y':'n');
sprintf(diff_txt,"diffusion every %d steps",my_info.diff_rate);
strcpy(mode_txt,"view: a/c mode");