packages/seacas/applications/gjoin/gj_fixmap.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 fixmap(numel, map) |
| 8 | integer map(numel) |
| 9 | |
| 10 | do 10 i=1, numel |
| 11 | if (map(i) .eq. 0) map(i) = i |
| 12 | 10 continue |
| 13 | return |
| 14 | end |