simphony / simphony-common

The native implementation of the Simphony cuds objects
BSD 2-Clause "Simplified" License
7 stars 5 forks source link

[WIP] Count and expose available keys. #284

Closed stefanoborini closed 8 years ago

stefanoborini commented 8 years ago

To solve simphony-mayavi/35, we need to know what keys are available in the DataContainers of all the contained entities. Unfortunately, this information is not available, and a linear scan is too expensive, so we need to do bookkeeping.

stefanoborini commented 8 years ago

Rejected. After discussion with Kit I think there's a better way of doing this. We use VTKParticle as a data source for the info, which needs to scan the full data source anyway, therefore needs to accumulate and does not need to perform bookkeeping.