Debian Codegraph @

packages/seacas/applications/gen3d/g3_dbmirr.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 DBMIRR (NELBS, NELBE, IDELB, NUMELB, NUMLNK, LINK)
9 C=======================================================================
10
11 C --*** DBMIRR *** (GEN3D) Fixup connectivity for reflections
12 C -- Written by Greg Sjaardema - revised 02/10/89
13 C -- Modified from DBOELB Written by Amy Gilkey
14 C --
15 C --Parameters:
16 C -- NELBS, NELBE - IN - the number of first and last element blocks
17 C -- IDELB - IN - the element block IDs for each block
18 C -- NUMELB - IN - the number of elements in each block
19 C -- NUMLNK - IN - the number of nodes per element in each block
20 C -- LINK - IN/OUT - the connectivity for each block
21 C --
22
23 INTEGER IDELB(*)
24 INTEGER NUMELB(*)
25 INTEGER NUMLNK(*)
26 INTEGER LINK(*)
27
28 IELNK = 0
29
30 DO 10 NELB = NELBS, NELBE
31 IELB = NELB-NELBS+1
32
33 ISLNK = IELNK + 1
34 IELNK = IELNK + NUMLNK(IELB) * NUMELB(IELB)
35
36 CALL DBMIR1 (NELB, NUMELB(IELB), NUMLNK(IELB), LINK(ISLNK))
37 10 CONTINUE
38
39 RETURN
40 END