Debian Codegraph @

packages/seacas/libraries/mapvarlib/bldsrf.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 SUBROUTINE BLDSRF(XA,YA,ZA,XYZSRF)
8
9 C***********************************************************************
10
11 C BLDSRF CREATES ARRAYS XYZSRF
12
13 C Called by MAPVAR
14
15 C***********************************************************************
16
17 include 'amesh.blk'
18
19 DIMENSION XA(*),YA(*),ZA(*)
20 DIMENSION XYZSRF(NODESA,3)
21
22 DO 10 I = 1, NODESA
23 XYZSRF(I,1) = XA(I)
24 XYZSRF(I,2) = YA(I)
25 IF (NDIMA .EQ. 2)THEN
26 XYZSRF(I,3) = 0.
27 ELSE
28 XYZSRF(I,3) = ZA(I)
29 END IF
30 10 CONTINUE
31
32 RETURN
33 END