Cloned SEACAS for EXODUS library with extra build files for internal package management.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
916 B

2 years ago
C Copyright(C) 1999-2020 National Technology & Engineering Solutions
C of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
C NTESS, the U.S. Government retains certain rights in this software.
C
C See packages/seacas/LICENSE for details
SUBROUTINE FLAGD (MDIM, N, LINK, INUM, FLAG)
C***********************************************************************
C SUBROUTINE FLAGD = FLAGS THE DATA TO BE PLOTTED
C***********************************************************************
DIMENSION LINK(2,MDIM), INUM(MDIM)
LOGICAL FLAG, ADDLNK
ADDLNK = .FALSE.
DO 100 I = 1, N
CALL LTSORT (MDIM, LINK, I, II, ADDLNK)
IF (II .GT. 0) THEN
IF (FLAG) THEN
INUM(II) = -IABS (INUM (II))
ELSE
INUM(II) = IABS (INUM (II))
ENDIF
ENDIF
100 CONTINUE
RETURN
END