FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | unit |
subroutine wnml_antenna(unit)
implicit none
integer, intent(in) :: unit
integer :: i
character (100) :: line
if (no_driver) return
write (unit, *)
write (unit, fmt="(' &',a)") "driver"
write (unit, fmt="(' ant_off = ',L1)") no_driver
write (unit, fmt="(' write_antenna = ',L1)") write_antenna
write (unit, fmt="(' amplitude = ',e17.10)") amplitude
write (unit, fmt="(' w_antenna = (',e17.10,', ',e17.10,')')") w_antenna
write (unit, fmt="(' w_dot = ',e17.10)") w_dot
write (unit, fmt="(' t0 = ',e17.10)") t0
write (unit, fmt="(' nk_stir = ',i3)") nk_stir
write (unit, fmt="(' /')")
do i=1,nk_stir
write (unit, *)
write (line, *) i
write(unit, fmt="(' &',a)") trim("stir_"//trim(adjustl(line)))
write(unit, fmt="(' kx = ',i2,' ky = ',i2,' kz = ',i2)") &
kx_stir(i), ky_stir(i), kz_stir(i)
write(unit, fmt="(' travel = ',L1)") trav(i)
write(unit, fmt="(' a = (',e20.13,',',e20.13,')')") a_ant(i)
write(unit, fmt="(' b = (',e20.13,',',e20.13,') /')") b_ant(i)
end do
end subroutine wnml_antenna