tecio.TecplotFEMixedZoneReader#
- class tecio.TecplotFEMixedZoneReader(zone_index, title, solution_time, strand_id, datapacking, num_nodes, section_shapes, section_num_elements, shared_connectivity)#
Bases:
TecplotZoneReaderRead-only handle to one FEMIXED (mixed finite-element) zone.
A FEMIXED zone holds 1 to 16 sections. Every cell in a section has the same shape, and all sections share one spatial dimension (all line, all surface or all volume cells). Cell numbering runs through the sections in order, so cell-centered variables hold
num_elementsvalues, the cells of section 0 first. All indices are 0-based.- Parameters:
zone_index – 0-based zone index within the dataset.
title – Zone title.
solution_time – Solution time, 0.0 for static data.
strand_id – Strand ID, 0 for static data.
datapacking – On-disk value layout.
num_nodes – Number of nodes/points.
section_shapes – Cell shape of each section.
section_num_elements – Number of cells in each section.
shared_connectivity – 0-based source zone index if this zone’s connectivity is shared, else None.
Attributes
auxdataZone-level auxiliary data.
datapackingOn-disk value layout for this zone.
Node connectivity of each section,
(section_num_elements, nodes)arrays.Total number of elements/cells over all sections.
Number of nodes/points.
Number of sections, 1 to 16.
Number of cells in each section.
Cell shape of each section.
0-based source zone index if connectivity is shared, else None.
solution_timeSolution time, 0.0 for static data.
strand_idStrand ID, 0 for static data.
titleZone title string.
variablesVariables in this zone, by 0-based index or exact name.
zone_index0-based zone index within the dataset.
zone_typeThe zone's
ZoneType.Methods
get_array(key)Return variable data array(s) for this zone.
is_enabled()True unless the zone reports itself disabled.
- property node_maps#
Node connectivity of each section,
(section_num_elements, nodes)arrays.The arrays are views of one allocation, loaded on first access. Node indices are 0-based. Passing
section_shapesandnode_mapstowrite_femixed_zone()writes the zone back.
- property num_elements#
Total number of elements/cells over all sections.
- property num_nodes#
Number of nodes/points.
- property num_sections#
Number of sections, 1 to 16.
- property section_num_elements#
Number of cells in each section.
- property section_shapes#
Cell shape of each section.
0-based source zone index if connectivity is shared, else None.