Skip to main content

EnSight 2025 R2

dynamic_visualization_store_enums

Last update: 16.07.2025
Go to the documentation of this file.
1/* *************************************************************
2 * Copyright 2017-2025 ANSYS, Inc.
3 * All Rights Reserved.
4 *
5 * Restricted Rights Legend
6 *
7 * Use, duplication, or disclosure of this
8 * software and its documentation by the
9 * Government is subject to restrictions as
10 * set forth in subdivision [(b)(3)(ii)] of
11 * the Rights in Technical Data and Computer
12 * Software clause at 52.227-7013.
13 * *************************************************************
14 */
15
16#ifndef __DYNAMIC_VISUALIZATION_STORE_ENUMS__
17#define __DYNAMIC_VISUALIZATION_STORE_ENUMS__
18
19#include <stdint.h>
20
39
53
64
70{
71 NONE = 0x00000000,
72 BLOCK_FOR_SERVER = 0x00000001,
73 DEDUP = 0x00000002,
75};
76
82{
83 LOG_NONE = 0x00,
84 LOG_PERF = 0x01,
85 LOG_DEBUG = 0x02,
87 LOG_ALL = 0xFFFFFFFF
88};
89
103
109{
110 ERR = 1,
111 WARN = 2,
112 INFO = 3
114
116#define DVS_MAX_USER_DEFINED_VAR_ID (UINT32_MAX-10002)
117
119#define DVS_IBLANK_EXTERIOR 0.f
121#define DVS_IBLANK_INTERIOR 1.f
123#define DVS_IBLANK_BOUNDARY 2.f
125#define DVS_IBLANK_INTERNAL_BOUNDARY 3.f
127#define DVS_IBLANK_SYMMETRY 4.f
128
130#define DVS_STRUCTURED_IBLANKED_NODES (DVS_MAX_USER_DEFINED_VAR_ID+1)
132#define DVS_STRUCTURED_GHOST_ELEMENTS (DVS_MAX_USER_DEFINED_VAR_ID+2)
134#define DVS_NODE_ID (DVS_MAX_USER_DEFINED_VAR_ID+3)
136#define DVS_ELEMENT_ID (DVS_MAX_USER_DEFINED_VAR_ID+4)
137
138
151
157#define FOREACH_ELEM_ENUM(ELEM) \
158 ELEM(PNT) \
159 ELEM(PNT_GHOST) \
160 ELEM(BAR_2) \
161 ELEM(BAR_2_GHOST) \
162 ELEM(BAR_3) \
163 ELEM(BAR_3_GHOST) \
164 ELEM(N_SIDED_POLYGON) \
165 ELEM(N_SIDED_POLYGON_GHOST) \
166 ELEM(TRIANGLE) \
167 ELEM(TRIANGLE_GHOST) \
168 ELEM(TRIANGLE_6) \
169 ELEM(TRIANGLE_6_GHOST) \
170 ELEM(QUADRANGLE) \
171 ELEM(QUADRANGLE_GHOST) \
172 ELEM(QUADRANGLE_8) \
173 ELEM(QUADRANGLE_8_GHOST) \
174 ELEM(TETRAHEDRON) \
175 ELEM(TETRAHEDRON_GHOST) \
176 ELEM(TETRAHEDRON_10) \
177 ELEM(TETRAHEDRON_10_GHOST) \
178 ELEM(PYRAMID) \
179 ELEM(PYRAMID_GHOST) \
180 ELEM(PYRAMID_13) \
181 ELEM(PYRAMID_13_GHOST) \
182 ELEM(HEXAHEDRON) \
183 ELEM(HEXAHEDRON_GHOST) \
184 ELEM(HEXAHEDRON_20) \
185 ELEM(HEXAHEDRON_20_GHOST) \
186 ELEM(PENTAHEDRON) \
187 ELEM(PENTAHEDRON_GHOST) \
188 ELEM(PENTAHEDRON_15) \
189 ELEM(PENTAHEDRON_15_GHOST) \
190 ELEM(CONVEX_POLYHEDRON) \
191 ELEM(CONVEX_POLYHEDRON_GHOST) \
192 ELEM(STRUCTURED) \
193 ELEM(UNDEFINED) \
194 ELEM(UNDEFINED_PARALLELEPIPED) \
195 ELEM(UNDEFINED_CURVILINEAR)
196
201#define GENERATE_ENUM(ENUM) ENUM,
202
207#define GENERATE_ENUM_STRING(STRING) #STRING,
208
216
221static const char *dvs_element_type_name[] = {
223};
224
225#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