#define R8 8 subroutine GetWeights_init (in_ntiles,in_ncnst,in_npx,in_npy,in_npz,& in_nx,in_ny,in_hydro,in_mknh,comm) implicit none integer,intent(in) :: in_ntiles,in_ncnst integer,intent(in) :: in_npx,in_npy,in_npz integer,intent(in) :: in_nx,in_ny logical,intent(in) :: in_hydro,in_mknh integer :: comm end subroutine GetWeights_init subroutine GetWeights(npx, npy, nlat, nlon, & index, weight, id1, id2, jdc, l2c) integer, intent(in ) :: npx, npy integer, intent(in ) :: nlon, nlat integer, intent(inout) :: index(3,nlon,nlat) real(R8), intent(inout) :: weight(4,nlon,nlat) integer, intent(inout) :: id1(npx,npy) integer, intent(inout) :: id2(npx,npy) integer, intent(inout) :: jdc(npx,npy) real(R8), intent(inout) :: l2c(4,npx,npy) end subroutine GetWeights