Debian Codegraph @

packages/seacas/applications/ex2ex1v2/ex2_dboini.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 DBOINI (NDB, TITLE, NDIM, NUMNP, NUMEL, NELBLK,
9 & NUMNPS, LNPSNL, NUMESS, LESSEL, LESSNL)
10 C=======================================================================
11
12 C --*** DBOINI *** (EXOLIB) Write database title and initial variables
13 C -- Written by Amy Gilkey - revised 12/04/87
14 C --
15 C --DBOINI writes the title and the initial variables to the database.
16 C --
17 C --Parameters:
18 C -- NDB - IN - the database file
19 C -- TITLE - IN - the database title
20 C -- NDIM - IN - the number of coordinates per node
21 C -- NUMNP - IN - the number of nodes
22 C -- NUMEL - IN - the number of elements
23 C -- NELBLK - IN - the number of element blocks
24 C -- NUMNPS - IN - the number of node sets
25 C -- LNPSNL - IN - the length of the node sets node list
26 C -- NUMESS - IN - the number of side sets
27 C -- LESSEL - IN - the length of the side sets element list
28 C -- LESSNL - IN - the length of the side sets node list
29 C --
30 C --Database must be rewound before entry; upon exit positioned at end of
31 C --initial variables.
32
33 INTEGER NDB
34 CHARACTER*80 TITLE
35 INTEGER NDIM, NUMNP, NUMEL, NELBLK,
36 & NUMNPS, LNPSNL, NUMESS, LESSEL, LESSNL
37
38 WRITE (NDB) TITLE
39
40 WRITE (NDB) NUMNP, NDIM, NUMEL, NELBLK,
41 & NUMNPS, LNPSNL, NUMESS, LESSEL, LESSNL, 1
42
43 RETURN
44 END