Debian Codegraph @

packages/seacas/applications/fastq/sidep.f

raw
1 C Copyright(C) 1999-2020 National Technology & Engineering Solutions
2 C of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
3 C NTESS, the U.S. Government retains certain rights in this software.
4 C
5 C See packages/seacas/LICENSE for details
6
7 LOGICAL FUNCTION SIDEP (ANGLE)
8 C***********************************************************************
9
10 C FUNCTION SIDEP = LOGICAL FUNCTION THAT RETURNS TRUE IF THE ANGLE IS
11 C WITHIN THE CURRENT DEFINITION OF A SIDE
12
13 C***********************************************************************
14
15 DATA EPS /1.27/
16
17 PI = ATAN2(0.0, -1.0)
18 IF ( (ANGLE .GT. (PI - EPS)) .AND. (ANGLE .LT. (PI + EPS)) ) THEN
19 SIDEP=.TRUE.
20 ELSE
21 SIDEP=.FALSE.
22 ENDIF
23 RETURN
24
25 END