Cloned SEACAS for EXODUS library with extra build files for internal package management.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

39 lines
1.4 KiB

C Copyright(C) 1999-2020 National Technology & Engineering Solutions
C of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
C NTESS, the U.S. Government retains certain rights in this software.
C
C See packages/seacas/LICENSE for details
C=======================================================================
SUBROUTINE RENELB (NELBLK, IOFFNP, IXNP, NUMELB, NUMLNK, LINK)
C=======================================================================
C --*** RENELB *** (GJOIN) Renumber connectivity in element blocks
C -- Written by Amy Gilkey - revised 09/29/87
C --
C --RENELB renumbers the nodes in the connectivity arrays.
C --
C --Parameters:
C -- NELBLK - IN - the number of element blocks
C -- IOFFNP - IN - the nodal offset: if positive, add to node number;
C -- if negative, use IXNP
C -- IXNP - IN - the new node number for each node
C -- NUMELB - IN - the number of elements in each block
C -- NUMLNK - IN - the number of nodes per element in each block
C -- LINK - IN - the connectivity for each block
INTEGER IXNP(*)
INTEGER NUMELB(*)
INTEGER NUMLNK(*)
INTEGER LINK(*)
ILNK = 1
DO 100 IELB = 1, NELBLK
CALL RENIX (NUMELB(IELB) * NUMLNK(IELB),
& IOFFNP, IXNP, LINK(ILNK))
ILNK = ILNK + NUMLNK(IELB) * NUMELB(IELB)
100 CONTINUE
RETURN
END