Debian Codegraph @

packages/seacas/applications/fastq/spiral.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 REAL FUNCTION SPIRAL (XA, XK, X, XCEN, YCEN, ANGLE)
8 C***********************************************************************
9
10 C FUNCTION SPIRAL = CALCULATES THE Y VALUUE GIVEN THE SPIRAL AND X
11
12 C***********************************************************************
13
14 SPIRAL = XA * EXP (XK * ANGLE) * COS (ANGLE) - (X - XCEN)
15
16 RETURN
17
18 END