*-----------------------------------------------------------------------
*     VRADD
*-----------------------------------------------------------------------
*     Copyright (C) 2000-2016 GFD Dennou Club. All rights reserved.
*-----------------------------------------------------------------------
      SUBROUTINE VRADD(RX,RY,RZ,N,JX,JY,JZ)

      REAL      RX(*),RY(*),RZ(*)

      LOGICAL   LMISS


      CALL GLLGET('LMISS',LMISS)
      IF (LMISS) THEN
        CALL VRADD1(RX,RY,RZ,N,JX,JY,JZ)
      ELSE
        CALL VRADD0(RX,RY,RZ,N,JX,JY,JZ)
      END IF

      END
