Debian Codegraph @

packages/seacas/applications/mapvar/rank.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 RANK(N,INDX,IRANK,NDIM)
8
9 C... create a rank array from an index array
10 DIMENSION INDX(NDIM),IRANK(NDIM)
11
12 DO J=1,N
13 IRANK(INDX(J))=J
14 end do
15
16 RETURN
17 END