FreeFOAM The Cross-Platform CFD Toolkit
ListListOps.H File Reference

Detailed Description

Definition in file ListListOps.H.

+ Include dependency graph for ListListOps.H:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  accessOp< T >
class  offsetOp< T >

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.