Skip to content

Add a bidirectional data adaptor to sensei 3.

The bidirectional data adaptor:

  • adds a new member to the MeshMetadataStructure which DataAdaptor subclasses return (named MeshAccessType) that indicates when a mesh has bidirectional arrays. (Bidirectional in the sense that both the simulation and the analysis may alter its values).
  • adds methods for data adaptor subclasses to create and/or add bidirectional arrays to sensei meshes.
  • provides a method for data adaptor subclasses and data adaptor users to request notification when a given array is modified.

Bidirectional arrays may have any location on a sensei mesh (e.g. point-data, cell-data, field-data, ...). Metadata about bidirectional arrays is stored in the field data of the mesh and is available for analyses to use.

Merge request reports