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

      INTEGER   IX(*),IY(*)

      LOGICAL   LMISS


      CALL GLLGET('LMISS',LMISS)
      IF (LMISS) THEN
        CALL VIFCT1(IX,IY,N,JX,JY,II)
      ELSE
        CALL VIFCT0(IX,IY,N,JX,JY,II)
      END IF

      END
