You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
1.1 KiB
35 lines
1.1 KiB
C Copyright(C) 1999-2020 National Technology & Engineering Solutions
|
|
C of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
|
|
C NTESS, the U.S. Government retains certain rights in this software.
|
|
C
|
|
C See packages/seacas/LICENSE for details
|
|
|
|
C=======================================================================
|
|
SUBROUTINE DBOMAP (NDB, NUMEL, MAPEL)
|
|
C=======================================================================
|
|
|
|
C --*** DBOMAP *** (EXOLIB) Write database element order map
|
|
C -- Written by Amy Gilkey - revised 02/27/86
|
|
C --
|
|
C --DBOMAP writes the element order map to the database.
|
|
C --
|
|
C --Parameters:
|
|
C -- NDB - IN - the database file
|
|
C -- NUMEL - IN - the number of elements
|
|
C -- MAPEL - IN - the element order map
|
|
C --
|
|
C --Database must be positioned at start of map upon entry;
|
|
C --upon exit at end of map.
|
|
|
|
INTEGER NDB
|
|
INTEGER NUMEL
|
|
INTEGER MAPEL(*)
|
|
|
|
IF (NUMEL .GT. 0) THEN
|
|
WRITE (NDB) (MAPEL(IEL), IEL=1,NUMEL)
|
|
ELSE
|
|
WRITE (NDB) 0
|
|
END IF
|
|
|
|
RETURN
|
|
END
|
|
|