Debian Codegraph @

packages/seacas/applications/grepos/gp_exfcon.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 EXFCON (IBLK, NUMELB, NUMLNK, LINK, ICONOD)
9 C=======================================================================
10
11 C --*** DBMIR1 *** (GEN3D) Fixup element connectivity for reflections
12 C -- Written by Greg Sjaardema - revised 02/10/89
13 C -- Modified from DBOEB1 Written by Amy Gilkey
14 C --
15 C --Parameters:
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 - the element connectivity for this block
19 C --
20
21 INTEGER NUMELB, NUMLNK
22 INTEGER LINK(NUMLNK,*)
23 INTEGER ICONOD(*)
24
25 DO 20 NLNK = 1, NUMLNK
26 DO 10 NE = 1, NUMELB
27 INODE = LINK (NLNK, NE)
28 ICONOD(INODE) = IBLK
29 10 CONTINUE
30 20 CONTINUE
31 RETURN
32 END