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.
 
 
 
 
 
 

25 lines
809 B

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 ADDDSP (COORDS, DSP)
DIMENSION COORDS (NUMNP,*), DSP(NUMNP,*)
CC
include 'nu_numg.blk'
IF (NDIM .EQ. 2) THEN
DO 10 J=1,NUMNP
DSP (J, 1) = COORDS (J, 1) + DSP (J, 1)
DSP (J, 2) = COORDS (J, 2) + DSP (J, 2)
10 CONTINUE
ELSE
DO 20 J=1,NUMNP
DSP (J, 1) = COORDS (J, 1) + DSP (J, 1)
DSP (J, 2) = COORDS (J, 2) + DSP (J, 2)
DSP (J, 3) = COORDS (J, 3) + DSP (J, 3)
20 CONTINUE
END IF
CC
RETURN
END