Selection
Current Version
0
Subtype of
Serializable
Fields
Entity/Object
Description
integer
Version.
string
Selection label. The string is encoded in UTF-8.
string
Tag of corresponding object (mesh) in file.
integer
Dimension of selection (0: vertex; 1: edge; 2: face; 3: domain in 3D).
integer
Number of entities.
integer[]
The indices of the entities for the selection. The integers specify the 0-based indices of the entities (1-based for domains).
Description
Selections can appear in files containing a mesh. Each selection refers to a set of entities that needs to be defined by the mesh in the file.
Example
The following example displays a domain selection in 3D named Fluid, specifying domains 1 and 3:
0 # Version
5 Fluid # Label
5 mesh1 # Geometry/mesh tag
3 # Dimension
2 # Number of entities
# Entities
1
3