From: hackbard Date: Tue, 20 Jul 2004 09:52:44 +0000 (+0000) Subject: output whole float (we have enough space now) X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d4ed8b66408122dc0d98f0861236554e21b5bbb3;p=physik%2Fnlsop.git output whole float (we have enough space now) --- diff --git a/nlsop.c b/nlsop.c index da983b3..2b3a49b 100644 --- a/nlsop.c +++ b/nlsop.c @@ -1006,12 +1006,12 @@ int main(int argc,char **argv) sprintf(s_txt,"steps: %d",my_info.steps); sprintf(dose_txt,"dose: %.2fe+17 C/cm²",my_info.steps*1.0/(d3_l.max_x*d3_l.max_y*CELL_LENGTH*CELL_LENGTH*1000)); sprintf(r_txt,"pressure range: %d",my_info.range); - sprintf(ap_txt,"a_ap: %.4f b_ap: %.3f",my_info.a_ap,my_info.b_ap); - sprintf(el_txt,"a_el: %.3f b_el: %.3f",my_info.a_el,my_info.b_el); - sprintf(cd_txt,"a_cd: %.3f b_cd: %.3f",my_info.a_cd,my_info.b_cd); - sprintf(cp_txt,"a_cp: %.5f",my_info.a_cp); - sprintf(dr_ac_txt,"a/c diffusion rate: %.4f",my_info.dr_ac); - if(my_info.c_diff!=0) sprintf(dr_cc_txt,"c/c diffusion rate: %.4f",my_info.dr_cc); + sprintf(ap_txt,"a_ap: %f b_ap: %f",my_info.a_ap,my_info.b_ap); + sprintf(el_txt,"a_el: %f b_el: %f",my_info.a_el,my_info.b_el); + sprintf(cd_txt,"a_cd: %f b_cd: %f",my_info.a_cd,my_info.b_cd); + sprintf(cp_txt,"a_cp: %f",my_info.a_cp); + sprintf(dr_ac_txt,"a/c diffusion rate: %f",my_info.dr_ac); + if(my_info.c_diff!=0) sprintf(dr_cc_txt,"c/c diffusion rate: %f",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);