Draft: Extend the GridViewEntitySet to support PartitionIteratorType
Summary
This MR adds a template parameter PartitionIteratorType
to the GridViewEntitySet
to restrict the iteration range to only those element in the corresponding PartitionSet
. It is backwards compatible in the sense that the default is All_Partition
as before. Note, the size()
method is efficient only for the All
partition, since the grid does not support to extract the size of a different partitionset.