Skip to main content

Post-processing tools 2024 R1

dynamic_visualization_store_enums

Last update: 16.07.2025
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,
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{
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)
119#define DVS_NODE_ID (DVS_MAX_USER_DEFINED_VAR_ID+3)
121#define DVS_ELEMENT_ID (DVS_MAX_USER_DEFINED_VAR_ID+4)
122
123
129{
136
142#define FOREACH_ELEM_ENUM(ELEM) \
143 ELEM(PNT) \
144 ELEM(PNT_GHOST) \
145 ELEM(BAR_2) \
146 ELEM(BAR_2_GHOST) \
147 ELEM(BAR_3) \
148 ELEM(BAR_3_GHOST) \
149 ELEM(N_SIDED_POLYGON) \
150 ELEM(N_SIDED_POLYGON_GHOST) \
151 ELEM(TRIANGLE) \
152 ELEM(TRIANGLE_GHOST) \
153 ELEM(TRIANGLE_6) \
154 ELEM(TRIANGLE_6_GHOST) \
155 ELEM(QUADRANGLE) \
156 ELEM(QUADRANGLE_GHOST) \
157 ELEM(QUADRANGLE_8) \
158 ELEM(QUADRANGLE_8_GHOST) \
159 ELEM(TETRAHEDRON) \
160 ELEM(TETRAHEDRON_GHOST) \
161 ELEM(TETRAHEDRON_10) \
162 ELEM(TETRAHEDRON_10_GHOST) \
163 ELEM(PYRAMID) \
164 ELEM(PYRAMID_GHOST) \
165 ELEM(PYRAMID_13) \
166 ELEM(PYRAMID_13_GHOST) \
167 ELEM(HEXAHEDRON) \
168 ELEM(HEXAHEDRON_GHOST) \
169 ELEM(HEXAHEDRON_20) \
170 ELEM(HEXAHEDRON_20_GHOST) \
171 ELEM(PENTAHEDRON) \
172 ELEM(PENTAHEDRON_GHOST) \
173 ELEM(PENTAHEDRON_15) \
174 ELEM(PENTAHEDRON_15_GHOST) \
175 ELEM(CONVEX_POLYHEDRON) \
176 ELEM(CONVEX_POLYHEDRON_GHOST) \
177 ELEM(STRUCTURED) \
178 ELEM(UNDEFINED) \
179 ELEM(UNDEFINED_PARALLELEPIPED) \
180 ELEM(UNDEFINED_CURVILINEAR)
181
186#define GENERATE_ENUM(ENUM) ENUM,
187
192#define GENERATE_ENUM_STRING(STRING) #STRING,
193
200};
201
206static const char *dvs_element_type_name[] = {
208};
209
210#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.

Connect with Ansys