Changeset 2461
- Timestamp:
- 11/20/08 05:52:02 (7 weeks ago)
- Location:
- trunk/source
- Files:
-
- 2 modified
-
nemala.txt (modified) (1 diff)
-
punch_do.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/nemala.txt
r1906 r2461 1 1 to use the Chianti and Leiden data base files uncomment Nemala_Start at 2 2 atmdat_readin.cpp near line 1433 3 4 the code will then read a list of species from species.ini in the data directory -
trunk/source/punch_do.cpp
r2369 r2461 460 460 461 461 /* photon energy in appropriate energy or wavelength units */ 462 fprintf( punch.ipPnunit[ipPun],"%. 3e\t", AnuUnit(rfield.AnuOrg[j]) );462 fprintf( punch.ipPnunit[ipPun],"%.5e\t", AnuUnit(rfield.AnuOrg[j]) ); 463 463 /* incident continuum */ 464 464 fprintf( punch.ipPnunit[ipPun],"%.3e\t", flxin ); … … 976 976 * going to be used by table read 977 977 * and we want good anu array for sanity check*/ 978 fprintf( punch.ipPnunit[ipPun],"%. 3e\t", AnuUnit(rfield.AnuOrg[j]) );978 fprintf( punch.ipPnunit[ipPun],"%.5e\t", AnuUnit(rfield.AnuOrg[j]) ); 979 979 fprintf( punch.ipPnunit[ipPun],"%.3e\t", flxtrn); 980 980 fprintf( punch.ipPnunit[ipPun],"%.3e\n", rfield.trans_coef_total[j] ); … … 2553 2553 { 2554 2554 fprintf( punch.ipPnunit[ipPun], 2555 "%1 2.4e\t%.3e\t%12.4e\t%.3e\n",2555 "%13.5e\t%.3e\t%12.4e\t%.3e\n", 2556 2556 AnuUnit(rfield.AnuOrg[j]), 2557 2557 opac.TauAbsFace[j]+opac.TauScatFace[j], … … 2885 2885 { 2886 2886 fprintf( punch.ipPnunit[ipPun], 2887 "%. 4e\t%.4e\t%.4e\t%.4e\t%.4e\t%.4e\n",2887 "%.5e\t%.4e\t%.4e\t%.4e\t%.4e\t%.4e\n", 2888 2888 AnuUnit(rfield.AnuOrg[j]), 2889 2889 rfield.ConEmitLocal[nzone][j]/rfield.widflx[j], … … 3578 3578 { 3579 3579 /* photon energy in appropriate energy or wavelength units */ 3580 fprintf( ioPUN,"%. 3e\t", AnuUnit((realnum)(energy[j]+rfield.widflx[j+ipLo]/2.) ) );3580 fprintf( ioPUN,"%.5e\t", AnuUnit((realnum)(energy[j]+rfield.widflx[j+ipLo]/2.) ) ); 3581 3581 fprintf( ioPUN,"%.3e\t", cont_incid[j] ); 3582 3582 fprintf( ioPUN,"%.3e\t", cont_atten[j] );
