Debian Codegraph @

packages/seacas/applications/algebra/ag_var.blk

raw
1 C Copyright(C) 1999-2021 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 PARAMETER (MAXVAR=65536)
7 C --MAXVAR - maximum number of all variables (input and LHS)
8
9 COMMON /VAR/ NUMINP, IXLHS, IDVAR(MAXVAR), ISTVAR(3,MAXVAR),
10 & IEVVAR(MAXVAR)
11 COMMON /VARCH/ NAMVAR(MAXVAR), TYPVAR(MAXVAR)
12 CHARACTER*(maxnam) NAMVAR
13 CHARACTER TYPVAR
14 C -- Assigned in RDEQNS, LOCEQV, SAVCMD (ADDVAR)
15 C --NUMINP - total number of referenced input variables
16 C --IXLHS - index of the first LHS variable;
17 C -- during equation input, the LHS variables are stored backwards
18 C -- from the end of the /VAR../arrays up; there order is reversed
19 C -- after all equations are input
20 C -- VAR..(1..NUMINP) holds the input variables
21 C -- VAR..(IXLHS..MAXVAR) holds the LHS variables
22 C --NAMVAR - name of the referenced variable
23 C --TYPVAR - type of variable:
24 C -- time(T), coordinate(C), global(G), node(N), element(E)
25 C --IDVAR - input database index of the variable;
26 C -- index into time/global entry for global
27 C -- NOTE: IDVAR for LHS is scratch during equation evaluation
28 C -- (set by LNKSTO)
29 C --ISTVAR - indexed on time; if <> 0, values for indexed time needed
30 C -- (1) = (ICURTM) current time
31 C -- (2) = (ILSTTM) last time
32 C -- (3) = (IONETM) first time
33 C -- during equation input, (1) is the variable state flag for LHS:
34 C -- 1 = assigned variable
35 C -- -1 = temporary variable
36 C -- -2 = saved variable
37 C -- during equation evaluation, storage location for variable
38 C -- (shared if the variable is both an input variable and an output
39 C -- variable)
40 C --IEVENT - the ISEVOK index for this variable (if element variable)