*-----------------------------------------------------------------------
*     VIDIV
*-----------------------------------------------------------------------
*     Copyright (C) 2000-2016 GFD Dennou Club. All rights reserved.
*-----------------------------------------------------------------------
      SUBROUTINE VIDIV(IX,IY,IZ,N,JX,JY,JZ)

      INTEGER   IX(*),IY(*),IZ(*)

      LOGICAL   LMISS


      CALL GLLGET('LMISS',LMISS)
      IF (LMISS) THEN
        CALL VIDIV1(IX,IY,IZ,N,JX,JY,JZ)
      ELSE
        CALL VIDIV0(IX,IY,IZ,N,JX,JY,JZ)
      END IF

      END
