FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

ListListOps.H File Reference


Detailed Description

Definition in file ListListOps.H.

#include "src/OpenFOAM/primitives/Lists/labelList.H"
Include dependency graph for ListListOps.H:

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.