From: jingluan <jin...@ca...> - 2010-06-29 18:35:59
|
Hello :-) Here is something with writing data into a txt file by fortran. I use open(unit=6, file='ce2', action='write', position='append') write (*,*) alphabar, (s% conv_vel(k))/vorb, (s% rho(k))!, (s% conv_vel(k)), (s% R(k)), (s% mlt_mixing_length(k)) close(unit=6) in the subroutine extras_finish_step in run_star_extras (see the attachment), but the screen does not show those data like: step lg_Tcntr Teff lg_LH .... any more. Am I doing anything wrong? Thank you very much :-) -- Sincerely Jing Ph.D candidate at physics.caltech email: jin...@ca... address: MC350-17,Caltech,1200E.California Blvd, Pasadena, CA 91125 |