| 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 |
SUBROUTINE BLDPTN(XB,YB,ZB,NDLSTB,XYZPTS) |
| 8 |
|
| 9 |
C*********************************************************************** |
| 10 |
|
| 11 |
C BLDPTN CREATES ARRAYS XYZPTS FOR NODES |
| 12 |
|
| 13 |
C Called by MAPVAR |
| 14 |
|
| 15 |
C*********************************************************************** |
| 16 |
|
| 17 |
include 'ebbyeb.blk' |
| 18 |
include 'amesh.blk' |
| 19 |
|
| 20 |
DIMENSION XB(*),YB(*),ZB(*),NDLSTB(*) |
| 21 |
DIMENSION XYZPTS(NUMNDB,3) |
| 22 |
|
| 23 |
DO 20 I = 1, NUMNDB |
| 24 |
XYZPTS(I,1) = XB(NDLSTB(I)) |
| 25 |
XYZPTS(I,2) = YB(NDLSTB(I)) |
| 26 |
IF (NDIMA .EQ. 2)THEN |
| 27 |
XYZPTS(I,3) = 0. |
| 28 |
ELSE |
| 29 |
XYZPTS(I,3) = ZB(NDLSTB(I)) |
| 30 |
END IF |
| 31 |
20 CONTINUE |
| 32 |
|
| 33 |
RETURN |
| 34 |
END |