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.
34 lines
830 B
34 lines
830 B
2 years ago
|
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
|
||
|
|
||
|
SUBROUTINE BLDSRF(XA,YA,ZA,XYZSRF)
|
||
|
|
||
|
C***********************************************************************
|
||
|
|
||
|
C BLDSRF CREATES ARRAYS XYZSRF
|
||
|
|
||
|
C Called by MAPVAR
|
||
|
|
||
|
C***********************************************************************
|
||
|
|
||
|
include 'amesh.blk'
|
||
|
|
||
|
DIMENSION XA(*),YA(*),ZA(*)
|
||
|
DIMENSION XYZSRF(NODESA,3)
|
||
|
|
||
|
DO 10 I = 1, NODESA
|
||
|
XYZSRF(I,1) = XA(I)
|
||
|
XYZSRF(I,2) = YA(I)
|
||
|
IF (NDIMA .EQ. 2)THEN
|
||
|
XYZSRF(I,3) = 0.
|
||
|
ELSE
|
||
|
XYZSRF(I,3) = ZA(I)
|
||
|
END IF
|
||
|
10 CONTINUE
|
||
|
|
||
|
RETURN
|
||
|
END
|