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.

29 lines
770 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
C=======================================================================
LOGICAL FUNCTION LXGTCH(CH1,CH)
IMPLICIT INTEGER (A-Z)
CHARACTER*504 ILINE
COMMON /LXCOM1/ILINE
COMMON /LXCOM2/JLINE,LXINIT
CHARACTER*(*) CH1,CH
L = LEN(CH1)
IF (CH1.EQ.ILINE(JLINE:JLINE+L-1)) THEN
JLINE = JLINE + L
CH = ILINE(JLINE:JLINE)
LXGTCH = .TRUE.
RETURN
END IF
CH = ILINE(JLINE:JLINE)
LXGTCH = .FALSE.
RETURN
END