bin

A bin is a data structure for grouping unstructured grid elements into a regular grid. The bin superimposes a regular grid over a structured or unstructured grid. Each element of the bin stores data about which cells within the structured or unstructured grid are contained within its boundaries. The data structure is used for such things as computing line integrals on unstructured meshes since it reduces the search time for finding what cell a particular point belong in.

Parameters

scale (float)
Estimate for how much larger (in length) a typical bin element is than the average grid size. If domain is a regular grid with size 100X100 and scale = 2.0 then the bin would be a regular grid with size 50X50 with the same extents as the domain.

Example

<DataStruct cellBin>
  kind = bin
  onGrid = domain
  scale = 2.0
</DataStruct>