FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | unit | |||
real, | intent(in), | dimension(:) | :: | aky | ||
real, | intent(in), | dimension(:,:) | :: | theta0 |
subroutine wnml_kt_grids_specified (unit, aky, theta0)
implicit none
integer, intent(in) :: unit
real, dimension(:), intent(in) :: aky
real, dimension(:,:), intent(in) :: theta0
integer :: i
character (200) :: line
call kt_grids_specified_config%write(unit)
do i=1,max(naky,ntheta0)
write (unit, *)
write (line, *) i
write (unit, fmt="(' &',a)") &
& trim("kt_grids_specified_element_"//trim(adjustl(line)))
write (unit, fmt="(' aky = ',e13.6,' theta0 = ',e13.6,' /')") aky(i), theta0(i,1)
write (unit, fmt="(' /')")
end do
end subroutine wnml_kt_grids_specified