This repository has been archived by the owner on Mar 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
exo_conn.h
68 lines (53 loc) · 2.45 KB
/
exo_conn.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
/************************************************************************ *
* 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. *
\************************************************************************/
/* exo_conn.h -- prototype declarations for exo_conn.c
*
*/
#ifndef _EXO_CONN_H
#define _EXO_CONN_H
#ifdef EXTERN
#undef EXTERN
#endif
#ifdef _EXO_CONN_C
#define EXTERN
#
#endif
#ifndef _EXO_CONN_C
#define EXTERN extern
#endif
EXTERN void build_elem_node /* exo_conn.c */
PROTO((Exo_DB *)); /* exo - ptr to EXODUS II database struct */
EXTERN void build_node_elem /* exo_conn.c */
PROTO((Exo_DB *)); /* exo - ptr to EXODUS II database struct */
EXTERN void build_node_node /* exo_conn.c */
PROTO((Exo_DB *)); /* exo - ptr to EXODUS II database struct */
EXTERN void build_elem_elem /* exo_conn.c */
PROTO((Exo_DB *)); /* exo - ptr to EXODUS II database struct */
EXTERN int int_intersect
PROTO((int *, /* a - 1st integer list (in) */
int *, /* b - 2nd integer list (in) */
int , /* len_a - length of 1st integer list (in) */
int , /* len_b - length of 2nd integer list (in) */
int *, /* ia - intersections indeces, 1st list (out)*/
int *)); /* ib - intersections indeces, 2nd list (out)*/
EXTERN int sides2nodes
PROTO((int , /* face - 0,1,...,num_faces-1 */
int , /* shape - LINE_SEGMENT, TRIANGLE, etc. */
int *)); /* local_indeces - filled with right ones */
EXTERN int build_side_node_list
PROTO((const int , /* elem - the element number */
const int , /* face - the face number */
const Exo_DB *, /* exo - ptr to whole mesh structure FE db*/
int *)); /* snl - node list for this side (out) */
EXTERN int get_num_face_interactions
PROTO((char *elem_type)); // String for element type
#endif /* _EXO_CONN_H */