Debian Codegraph @

packages/seacas/applications/ex2ex1v2/ex2_dbomap.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 DBOMAP (NDB, NUMEL, MAPEL)
9 C=======================================================================
10
11 C --*** DBOMAP *** (EXOLIB) Write database element order map
12 C -- Written by Amy Gilkey - revised 02/27/86
13 C --
14 C --DBOMAP writes the element order map to the database.
15 C --
16 C --Parameters:
17 C -- NDB - IN - the database file
18 C -- NUMEL - IN - the number of elements
19 C -- MAPEL - IN - the element order map
20 C --
21 C --Database must be positioned at start of map upon entry;
22 C --upon exit at end of map.
23
24 INTEGER NDB
25 INTEGER NUMEL
26 INTEGER MAPEL(*)
27
28 IF (NUMEL .GT. 0) THEN
29 WRITE (NDB) (MAPEL(IEL), IEL=1,NUMEL)
30 ELSE
31 WRITE (NDB) 0
32 END IF
33
34 RETURN
35 END