Skip to main content

Post-processing tools 2023 R2

dynamic_visualization_store_enums.h

Last update: 17.04.2023
Go to the documentation of this file.
1 #ifndef __DYNAMIC_VISUALIZATION_STORE_ENUMS__
2 #define __DYNAMIC_VISUALIZATION_STORE_ENUMS__
3 
4 #include <stdint.h>
5 
18 {
19  NODE = 0,
21  PART,
22  CASE,
23 };
24 
30 {
31  SCALAR = 0,
37 };
38 
44 {
45  UNKNOWN = -1,
48 };
49 
55 {
56  NONE = 0x00000000,
57  BLOCK_FOR_SERVER = 0x00000001,
58  DEDUP = 0x00000002,
60 };
61 
67 {
68  LOG_NONE = 0x00,
69  LOG_PERF = 0x01,
70  LOG_DEBUG = 0x02,
72  LOG_ALL = 0xFFFFFFFF
73 };
74 
83 {
84  DVS_QUIET = 1,
85  DVS_NORMAL = 2,
87 };
88 
94 {
95  ERR = 1,
96  WARN = 2,
97  INFO = 3
98 };
99 
101 #define DVS_MAX_USER_DEFINED_VAR_ID (UINT32_MAX-10002)
102 
104 #define DVS_IBLANK_EXTERIOR 0.f
106 #define DVS_IBLANK_INTERIOR 1.f
108 #define DVS_IBLANK_BOUNDARY 2.f
110 #define DVS_IBLANK_INTERNAL_BOUNDARY 3.f
112 #define DVS_IBLANK_SYMMETRY 4.f
113 
115 #define DVS_STRUCTURED_IBLANKED_NODES (DVS_MAX_USER_DEFINED_VAR_ID+1)
117 #define DVS_STRUCTURED_GHOST_ELEMENTS (DVS_MAX_USER_DEFINED_VAR_ID+2)
118 
124 {
130 };
131 
137 #define FOREACH_ELEM_ENUM(ELEM) \
138  ELEM(PNT) \
139  ELEM(PNT_GHOST) \
140  ELEM(BAR_2) \
141  ELEM(BAR_2_GHOST) \
142  ELEM(BAR_3) \
143  ELEM(BAR_3_GHOST) \
144  ELEM(N_SIDED_POLYGON) \
145  ELEM(N_SIDED_POLYGON_GHOST) \
146  ELEM(TRIANGLE) \
147  ELEM(TRIANGLE_GHOST) \
148  ELEM(TRIANGLE_6) \
149  ELEM(TRIANGLE_6_GHOST) \
150  ELEM(QUADRANGLE) \
151  ELEM(QUADRANGLE_GHOST) \
152  ELEM(QUADRANGLE_8) \
153  ELEM(QUADRANGLE_8_GHOST) \
154  ELEM(TETRAHEDRON) \
155  ELEM(TETRAHEDRON_GHOST) \
156  ELEM(TETRAHEDRON_10) \
157  ELEM(TETRAHEDRON_10_GHOST) \
158  ELEM(PYRAMID) \
159  ELEM(PYRAMID_GHOST) \
160  ELEM(PYRAMID_13) \
161  ELEM(PYRAMID_13_GHOST) \
162  ELEM(HEXAHEDRON) \
163  ELEM(HEXAHEDRON_GHOST) \
164  ELEM(HEXAHEDRON_20) \
165  ELEM(HEXAHEDRON_20_GHOST) \
166  ELEM(PENTAHEDRON) \
167  ELEM(PENTAHEDRON_GHOST) \
168  ELEM(PENTAHEDRON_15) \
169  ELEM(PENTAHEDRON_15_GHOST) \
170  ELEM(CONVEX_POLYHEDRON) \
171  ELEM(CONVEX_POLYHEDRON_GHOST) \
172  ELEM(STRUCTURED) \
173  ELEM(UNDEFINED) \
174  ELEM(UNDEFINED_PARALLELEPIPED) \
175  ELEM(UNDEFINED_CURVILINEAR)
176 
181 #define GENERATE_ENUM(ENUM) ENUM,
182 
187 #define GENERATE_ENUM_STRING(STRING) #STRING,
188 
195 };
196 
201 static const char *dvs_element_type_name[] = {
203 };
204 
205 #endif //__DYNAMIC_VISUALIZATION_STORE_ENUMS__
dvs_log_level
Message levels for logging messages.
@ ERR
Log an error.
@ INFO
Log an informational message.
@ WARN
Log a warning.
dvs_structured_iblanking_vals
IBLANKING Values allowed by DVS.
@ IBLANK_BOUNDARY
Boundary Node.
@ IBLANK_EXTERIOR
Exterior Node (blanked by default)
@ IBLANK_SYMMETRY
Symmetry surface.
@ IBLANK_INTERNAL_BOUNDARY
Internal boundary/baffle node.
@ IBLANK_INTERIOR
Interior Node (shown by default)
dvs_structured_type
Structure mesh types available in DVS.
@ PARALLELEPIPED
Parallepiped.
@ UNKNOWN
Unknown type.
@ CURVILINEAR
Curvilinear.
dvs_log_flags
Flags to control logging filters.
@ LOG_UPDATE_BEG_END
Log messages related to begin and end of updates.
@ LOG_PERF
Log any messages related to performance.
@ LOG_NONE
Don't log anything.
@ LOG_ALL
Log all messages.
@ LOG_DEBUG
Log any messages related to debugging the API.
#define FOREACH_ELEM_ENUM(ELEM)
Creates elements, used to create an enum and strings from the enum names.
dvs_verbosity
Verbosity levels.
@ DVS_NORMAL
Default, displays warnings and errors.
@ DVS_VERBOSE
Displays informational messages, warnings, errors.
@ DVS_QUIET
Only log errors.
#define GENERATE_ENUM_STRING(STRING)
Generates the strings from the enums in the above list.
dvs_client_flags
Flags for specific server setup.
@ DEDUP
Do not send duplicate data to server.
@ BEGIN_INIT_WAIT_ON_REINIT
Blocking wait on reinitialization to complete before reinitializing again.
@ BLOCK_FOR_SERVER
Clients should block for servers to be initialized before sending data.
#define GENERATE_ENUM(ENUM)
Generates the enums from above list.
dvs_element_type
List of macro generated enums.
dvs_var_location
What variable is associated with.
@ PART
This is a variable for an entire part.
@ ELEMENT
This is a field variable per each element of a part.
@ NODE
This is a field variable per each node of a part's mesh.
@ CASE
This is a variable for an entire case (i.e. dataset)
dvs_var_type
Data type of variable.
@ TENSOR9
NOT SUPPORTED YET.
@ VECTOR
XYZ Coordinates.
@ COMPLEX_VECTOR
NOT SUPPORTED YET.
@ COMPLEX_SCALAR
NOT SUPPORTED YET.
@ TENSOR
NOT SUPPORTED YET.