Sample¶
Sample represents one observation. It contains Feature identifiers among (all optional):
scalars: name → value
meshes containing:
nodes: mesh node coordinates, that can be located:
in different bases
in different zones in each base
fields, arrays that can be located:
in different bases
in different zones in each base
in different locations in each base/zone among:
Vertex,EdgeCenter,FaceCenter, orCellCenter
Key APIs include:
Feature accessors:
get_scalar(),get_field(),get_nodes()Feature updates:
add_scalar(),add_field(),set_nodes(), and high-level identifier-based updatesDiscovery:
get_all_features_identifiers()orget_all_features_identifiers_by_type()to list all available features with their context
See also: Examples and Tutorials for hands-on examples.