Debian Codegraph @

packages/seacas/libraries/supes/ext_lib/ixlnum.c

raw
1 /*
2 * Copyright(C) 1999-2020 National Technology & Engineering Solutions
3 * of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
4 * NTESS, the U.S. Government retains certain rights in this software.
5 *
6 * See packages/seacas/LICENSE for details
7 */
8 /*
9 */
10
11 #include "fortranc.h"
12
13 #if defined(ADDC_)
14 FTNINT ixlnum_(long *numvar)
15 #else
16 FTNINT ixlnum(long *numvar)
17 #endif
18 {
19 return ((long)numvar / sizeof(FTNREAL));
20 }
21
22 /*
23 INTEGER FUNCTION IXLNUM( NUMVAR )
24
25 ************************************************************************
26
27 C DESCRIPTION:
28 C This function returns the absolute location of a numeric variable.
29 C This location must be measured in numeric storage units.
30
31 C FORMAL PARAMETERS:
32 C NUMVAR INTEGER Numeric Variable
33
34 ************************************************************************
35 */