Debian Codegraph @

packages/seacas/libraries/suplib/addv.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 C-----------------------------------------------------------------------
8 SUBROUTINE ADDV( N,A,B,C )
9
10 C***********************************************************************
11
12 C DESCRIPTION: This routine adds two vectors
13
14 C FORMAL PARAMETERS:
15 C N INTEGER Number of entries in A, B
16 C A REAL First vector
17 C B REAL Vector to be added
18 C C REAL Vector with the result
19
20 C***********************************************************************
21
22 DIMENSION A(N),B(N),C(N)
23
24 DO 100 I = 1,N
25 C(I) = A(I) + B(I)
26 100 CONTINUE
27
28 RETURN
29 END