forked from goma/brkfix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnodesc.h
51 lines (40 loc) · 1.79 KB
/
nodesc.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/************************************************************************ *
* Goma - Multiphysics finite element software *
* Sandia National Laboratories *
* *
* Copyright (c) 2014 Sandia Corporation. *
* *
* Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation, *
* the U.S. Government retains certain rights in this software. *
* *
* This software is distributed under the GNU General Public License. *
\************************************************************************/
/* nodesc.h -- describes the variables & multiplicities at a given node
*
*
* Each node can be associated with one of a handful of prototypes.
* Each prototype is extensively described by the number and names of
* the active eqnvars at the node, as well as the cumulative weights
* that apply to each eqnvar.
*
* The structure is for convenience and normal usage; the integer vector
* packs the same information so that I/O is more easily achieved of the
* same information.
* Created: 1997/05/18 08:12 MDT pasacki@sandia.gov
*
* Revised:
*/
#ifndef _NODESC_H
#define _NODESC_H
#define MAX_EQNVARS 16
#define MAX_NODE_KINDS 32
#define LEN_NODE_DESCRIPTION (4*MAX_EQNVARS+1)
struct Node_Description
{
int num_basic_eqnvars;
int eqnvar_ids[MAX_EQNVARS]; /* put them in ascending order! */
int eqnvar_wts[MAX_EQNVARS][3]; /* [0]=vect, [1]=conc, [2]=nodaldof */
};
typedef struct Node_Description Node_Description;
#define SZ_ND (sizeof(struct Node_Description))
#endif