Debian Codegraph @

packages/seacas/applications/blot/sqzixv.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 SQZIXV (NNE, ISEGEL, VALIN, VALOUT)
9 C=======================================================================
10
11 C --*** SQZIXV *** (SPLOT) Compress values using indices
12 C -- Written by Amy Gilkey - revised 11/05/87
13 C --
14 C --SQZIXV compresses a list of values using a list of indices.
15 C --
16 C --Parameters:
17 C -- NNE - IN - the number of values to be output
18 C -- ISEGEL - IN - the indices of the values to be output
19 C -- VALIN - IN - the input values
20 C -- VALOUT - OUT - the output (compressed) values
21
22 INTEGER ISEGEL(*)
23 REAL VALIN(*)
24 REAL VALOUT(*)
25
26 DO 100 I = 1, NNE
27 VALOUT(I) = VALIN(ISEGEL(I))
28 100 CONTINUE
29
30 RETURN
31 END