| 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 ZXYZ (X, Y, Z, MAP, NUMNP, NDIM) |
| 9 |
C======================================================================= |
| 10 |
|
| 11 |
C -- X,Y,Z -- REAL - IN/OUT - Coordinates of nodes |
| 12 |
C -- MAP -- INT - IN - Map between new and old node numbers |
| 13 |
C MAP(I) for inactive nodes = NUMNP+1 |
| 14 |
C NOTE: MAP(I) <= I for all I unless node is deleted, then |
| 15 |
C MAP(I) = NUMNP+1 |
| 16 |
|
| 17 |
REAL X(NUMNP+1), Y(NUMNP+1), Z(NUMNP+1) |
| 18 |
INTEGER MAP(NUMNP) |
| 19 |
|
| 20 |
DO 10 I=1, NUMNP |
| 21 |
X(MAP(I)) = X(I) |
| 22 |
Y(MAP(I)) = Y(I) |
| 23 |
IF (NDIM .EQ. 3) THEN |
| 24 |
Z(MAP(I)) = Z(I) |
| 25 |
END IF |
| 26 |
10 CONTINUE |
| 27 |
|
| 28 |
RETURN |
| 29 |
END |