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.
45 lines
1.6 KiB
45 lines
1.6 KiB
2 years ago
|
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 DBOINI (NDB, TITLE, NDIM, NUMNP, NUMEL, NELBLK,
|
||
|
& NUMNPS, LNPSNL, NUMESS, LESSEL, LESSNL)
|
||
|
C=======================================================================
|
||
|
|
||
|
C --*** DBOINI *** (EXOLIB) Write database title and initial variables
|
||
|
C -- Written by Amy Gilkey - revised 12/04/87
|
||
|
C --
|
||
|
C --DBOINI writes the title and the initial variables to the database.
|
||
|
C --
|
||
|
C --Parameters:
|
||
|
C -- NDB - IN - the database file
|
||
|
C -- TITLE - IN - the database title
|
||
|
C -- NDIM - IN - the number of coordinates per node
|
||
|
C -- NUMNP - IN - the number of nodes
|
||
|
C -- NUMEL - IN - the number of elements
|
||
|
C -- NELBLK - IN - the number of element blocks
|
||
|
C -- NUMNPS - IN - the number of node sets
|
||
|
C -- LNPSNL - IN - the length of the node sets node list
|
||
|
C -- NUMESS - IN - the number of side sets
|
||
|
C -- LESSEL - IN - the length of the side sets element list
|
||
|
C -- LESSNL - IN - the length of the side sets node list
|
||
|
C --
|
||
|
C --Database must be rewound before entry; upon exit positioned at end of
|
||
|
C --initial variables.
|
||
|
|
||
|
INTEGER NDB
|
||
|
CHARACTER*80 TITLE
|
||
|
INTEGER NDIM, NUMNP, NUMEL, NELBLK,
|
||
|
& NUMNPS, LNPSNL, NUMESS, LESSEL, LESSNL
|
||
|
|
||
|
WRITE (NDB) TITLE
|
||
|
|
||
|
WRITE (NDB) NUMNP, NDIM, NUMEL, NELBLK,
|
||
|
& NUMNPS, LNPSNL, NUMESS, LESSEL, LESSNL, 1
|
||
|
|
||
|
RETURN
|
||
|
END
|