125 namespace ListListOps
129 template<
class AccessType,
class T,
class AccessOp>
130 AccessType
combine(
const List<T>&, AccessOp aop = accessOp<T>());
133 template<
class T,
class AccessOp>
137 template<
class AccessType,
class T,
class AccessOp,
class OffsetOp>
143 OffsetOp oop = offsetOp<T>()
const T & operator()(const T &x) const
T operator()(const T &x, const label offset) const
AccessType combineOffset(const List< T > &, const labelList &sizes, AccessOp aop, OffsetOp oop=offsetOp< T >())
Like combine but also offsets sublists based on passed sizes.
AccessType combine(const List< T > &, AccessOp aop=accessOp< T >())
Combines sublists into one big list.
labelList subSizes(const List< T > &, AccessOp aop=accessOp< T >())
Gets sizes of sublists.
List< label > labelList
A List of labels.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void offset(label &lst, const label o)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)