forked from goma/goma
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmm_elem_block_structs.h
72 lines (63 loc) · 3.39 KB
/
mm_elem_block_structs.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/************************************************************************ *
* Goma - Multiphysics finite element software *
* Sandia National Laboratories *
* *
* Copyright (c) 2022 Goma Developers, National Technology & Engineering *
* Solutions of Sandia, LLC (NTESS) *
* *
* Under the terms of Contract DE-NA0003525, the U.S. Government retains *
* certain rights in this software. *
* *
* This software is distributed under the GNU General Public License. *
* See LICENSE file. *
\************************************************************************/
/*
*$Id: mm_elem_block_structs.h,v 5.1 2007-09-18 18:53:42 prschun Exp $
*/
#ifndef GOMA_MM_ELEM_BLOCK_STRUCTS_H
#define GOMA_MM_ELEM_BLOCK_STRUCTS_H
#include "rf_element_storage_struct.h"
#include "std.h"
/*****************************************************************************/
/* STRUCTURE DEFINITIONS */
/*****************************************************************************/
/*
* Element_Block_Struct: element block information.
*
* Information about each element block known to the current processor
* is storred in this structure.
*/
struct Element_Block_Struct {
int Elem_Blk_Num; /* The index of this element block struct
* in the Element_Blocks array. */
int Elem_Blk_Id; /* The ExodusII element block ID number. */
int Elem_Type; /* Integer type of the element in this
* element block. The types are defined
* in el_elm.h */
int IP_total; /* Total number of volumetric quadrature
* points to be used for volumetric
* integrations */
int Num_Elems_In_Block; /* Number of elements in the element
* block known to the current proccessor.
* Thus, this number may vary between
* processors */
int Num_Nodes_Per_Elem; /* Number of nodes per element for
* elements in this element block. */
int Num_Attr_Per_Elem; /* Number of attributes per element in
* the element block. */
MATRL_PROP_STRUCT *MatlProp_ptr; /* Pointer to the material property
* structure applicable to this element
* block */
ELEMENT_STORAGE_STRUCT *ElemStorage;
};
typedef struct Element_Block_Struct ELEM_BLK_STRUCT;
/*
* This is the global list of element blocks defined for this problem
*/
extern ELEM_BLK_STRUCT *Element_Blocks;
/*
* This is a pointer to the current element block structure that pertains
* to the current element being processed
*/
extern ELEM_BLK_STRUCT *Current_EB_ptr;
#endif