ContentsIndexHome
PreviousUpNext
restrict Method

Restricts the specified dimension to a specific value or set. 

 

Restricts the specified dimension to only include the given IElement

 

virtual void restrict(int dim, const IElement* element) = 0;

 

Restricts the specified dimension to the given ISetData, i.e. on this dimension, only elements that are contained in the ISetData are included. 

 

virtual void restrict(int dim, const ISetData* domain) = 0;

 

Restricts the specified dimension to only include the given string label. 

 

virtual void restrict(int dim, const char* label) = 0;

 

Restricts the specified dimension to only include the given integer label. 

 

virtual void restrict(int dim, int label) = 0;

If a dimension is restricted to a single value, a view or iterator opened with this filter will have a lower dimension.