Go to the source code of this file.
Classes | |
struct | offsetOp< T > |
Offset operator for ListListOps::combineOffset() More... | |
Namespaces | |
Foam::ListListOps | |
Various utility functions to work on Lists of Lists (usually resulting from 'gather'ing and combining information from individual processors) | |
Foam | |
Namespace for OpenFOAM. | |
Functions | |
template<class T , class AccessOp > | |
labelList | subSizes (const UList< T > &lists, AccessOp aop=accessOp< T >()) |
Return the sizes of the sub-lists. More... | |
template<class T , class AccessOp > | |
label | sumSizes (const UList< T > &lists, AccessOp aop=accessOp< T >()) |
The total size of all sub-lists. More... | |
template<class AccessType , class T , class AccessOp > | |
AccessType | combine (const UList< T > &lists, AccessOp aop=accessOp< T >()) |
Combines sub-lists into a single list. More... | |
template<class AccessType , class T , class AccessOp , class OffsetOp > | |
AccessType | combineOffset (const UList< T > &lists, const labelUList &offsets, AccessOp aop, OffsetOp oop=offsetOp< T >()) |
Like combine but also offsets sublists based on passed sizes. More... | |
Original source file ListListOps.H
Definition in file ListListOps.H.