Debian Codegraph @

packages/seacas/applications/grepos/gp_refnd1.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 C=======================================================================
8 SUBROUTINE REFND1 (IELB, NUMELB, NUMLNK, LINK, MAP)
9 C=======================================================================
10
11 C --*** REFND1 *** (GREPOS) Reference nodes on all elements
12 C -- Written by Greg Sjaardema - revised 03/02/90
13 C --
14 C --Parameters:
15 C -- IELB - IN - the element block number
16 C -- NUMELB - IN - the number of elements in the block
17 C -- NUMLNK - IN - the number of nodes per element
18 C -- LINK - IN/OUT - the element connectivity for this block
19 C -- MAP - OUT - list of active nodes
20 C --
21
22 INTEGER NUMELB, NUMLNK
23 INTEGER LINK(NUMLNK,*)
24 INTEGER MAP(*)
25
26 DO 20 ILNK = 1, NUMLNK
27 DO 10 NE = 1, NUMELB
28 MAP(LINK(ILNK, NE)) = 1
29 10 CONTINUE
30 20 CONTINUE
31
32 RETURN
33 END