-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathglobals.m
98 lines (72 loc) · 2.41 KB
/
globals.m
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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
function globals
%GLOBALS a helper function to load global const. for JIGSAW.
%
% See also EXAMPLE, DETAILS
%-----------------------------------------------------------
% Darren Engwirda
% github.com/dengwirda/jigsaw-matlab
% 27-Nov-2019
%-----------------------------------------------------------
%
%------------------------------------ define JIGSAW's const.
%-- return id for JIGSAW
global JIGSAW_UNKNOWN_ERROR ;
JIGSAW_UNKNOWN_ERROR = -1 ;
global JIGSAW_NO_ERROR ;
JIGSAW_NO_ERROR = +0 ;
global JIGSAW_FILE_NOT_LOCATED ;
global JIGSAW_FILE_NOT_CREATED ;
global JIGSAW_INVALID_ARGUMENT ;
JIGSAW_FILE_NOT_LOCATED = +2 ;
JIGSAW_FILE_NOT_CREATED = +3 ;
JIGSAW_INVALID_ARGUMENT = +4 ;
%-- constants for JIGSAW
global JIGSAW_NULL_FLAG ;
JIGSAW_NULL_FLAG = -100 ;
global JIGSAW_EUCLIDEAN_MESH ;
global JIGSAW_EUCLIDEAN_GRID ;
global JIGSAW_EUCLIDEAN_DUAL ;
global JIGSAW_ELLIPSOID_MESH ;
global JIGSAW_ELLIPSOID_GRID ;
global JIGSAW_ELLIPSOID_DUAL ;
JIGSAW_EUCLIDEAN_MESH = +100 ;
JIGSAW_EUCLIDEAN_GRID = +101 ;
JIGSAW_EUCLIDEAN_DUAL = +102 ;
JIGSAW_ELLIPSOID_MESH = +200 ;
JIGSAW_ELLIPSOID_GRID = +201 ;
JIGSAW_ELLIPSOID_DUAL = +202 ;
global JIGSAW_POINT_TAG ;
global JIGSAW_EDGE2_TAG ;
global JIGSAW_TRIA3_TAG ;
global JIGSAW_QUAD4_TAG ;
global JIGSAW_TRIA4_TAG ;
global JIGSAW_HEXA8_TAG ;
global JIGSAW_PYRA5_TAG ;
global JIGSAW_WEDG6_TAG ;
JIGSAW_POINT_TAG = + 10 ;
JIGSAW_EDGE2_TAG = + 20 ;
JIGSAW_TRIA3_TAG = + 30 ;
JIGSAW_QUAD4_TAG = + 40 ;
JIGSAW_TRIA4_TAG = + 50 ;
JIGSAW_HEXA8_TAG = + 60 ;
JIGSAW_PYRA5_TAG = + 70 ;
JIGSAW_WEDG6_TAG = + 80 ;
global JIGSAW_HFUN_RELATIVE ;
global JIGSAW_HFUN_ABSOLUTE ;
global JIGSAW_KERN_DELFRONT ;
global JIGSAW_KERN_DELAUNAY ;
global JIGSAW_KERN_BISECTOR ;
global JIGSAW_BNDS_TRIACELL ;
global JIGSAW_BNDS_DUALCELL ;
JIGSAW_HFUN_RELATIVE = +300 ;
JIGSAW_HFUN_ABSOLUTE = +301 ;
JIGSAW_KERN_DELFRONT = +400 ;
JIGSAW_KERN_DELAUNAY = +401 ;
JIGSAW_KERN_BISECTOR = +402 ;
JIGSAW_BNDS_TRIACELL = +402 ;
JIGSAW_BNDS_DUALCELL = +403 ;
JIGSAW_KERN_ODT_DQDX = +404 ;
JIGSAW_KERN_CVT_DQDX = +405 ;
JIGSAW_KERN_H95_DQDX = +406 ;
end