packages/seacas/applications/grepos/gp_chkss.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 | subroutine chkss(nelblk, numelb, iblock) |
| 7 | |
| 8 | INTEGER NUMELB(*) |
| 9 | INTEGER iblock(*) |
| 10 | |
| 11 | itot = 0 |
| 12 | do 10 i=1, nelblk |
| 13 | iblock(i) = itot + numelb(i) |
| 14 | itot = itot + numelb(i) |
| 15 | 10 continue |
| 16 | return |
| 17 | end |