Write time-averaged growth rate and frequency to out_unit for an individual point
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | it | |||
integer, | intent(in) | :: | ik |
subroutine do_write_omavg(it,ik)
use gs2_time, only: tunits, woutunits
implicit none
integer, intent(in) :: it, ik
if (.not. write_ascii) return
write (out_unit,&
fmt='(" omavg= (",1p,e12.4,",",1p,e12.4,")",t45,"omavg/(vt/a)= (",1p,e12.4,",",1p,e12.4,")")') &
omegaavg(it,ik)/tunits(ik), omegaavg(it,ik)*woutunits(ik)
end subroutine do_write_omavg