SUBROUTINE DST_NP_INIT(YDST_NP,KPATCH)
TYPE(DST_NP_t), INTENT(INOUT) :: YDST_NP
INTEGER, INTENT(IN) :: KPATCH
INTEGER :: JP
REAL(KIND=JPRB) :: ZHOOK_HANDLE
!
IF (LHOOK) CALL DR_HOOK("MODD_DST_N:DST_NP_INIT",0,ZHOOK_HANDLE)
!
IF (ASSOCIATED(YDST_NP%AL)) THEN
DO JP = 1,KPATCH
CALL DST_INIT(YDST_NP%AL(JP))
ENDDO
DEALLOCATE(YDST_NP%AL)
ELSE
ALLOCATE(YDST_NP%AL(KPATCH))
DO JP = 1,KPATCH
CALL DST_INIT(YDST_NP%AL(JP))
ENDDO
ENDIF
!
IF (LHOOK) CALL DR_HOOK("MODD_DST_N:DST_NP_INIT",1,ZHOOK_HANDLE)
!
END SUBROUTINE DST_NP_INIT