Detailed Description
Definition in file ListListOps.H.
Go to the source code of this file.
Namespaces |
namespace | Foam::ListListOps |
| Various utility functions to work on Lists of Lists (usually resulting from 'gather'ing and combining information from individual processors)
|
namespace | Foam |
| Namespace for OpenFOAM.
|
Functions |
template<class AccessType , class T , class AccessOp > |
AccessType | combine (const List< T > &, AccessOp aop=accessOp< T >()) |
| Combines sublists into one big list.
|
template<class T , class AccessOp > |
labelList | subSizes (const List< T > &, AccessOp aop=accessOp< T >()) |
| Gets sizes of sublists.
|
template<class AccessType , class T , class AccessOp , class OffsetOp > |
AccessType | combineOffset (const List< T > &, const labelList &sizes, AccessOp aop, OffsetOp oop=offsetOp< T >()) |
| Like combine but also offsets sublists based on passed sizes.
|