Go to the documentation of this file.
34 #ifndef extendedCentredCellToCellStencil_H
35 #define extendedCentredCellToCellStencil_H
45 class cellToCellStencil;
119 template<
class Type,
class WeightType>
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
Baseclass for cell-to-cell stencils.
static tmp< GeometricField< typename outerProduct< WeightType, Type >::type, fvPatchField, volMesh > > weightedSum(const mapDistribute &map, const labelListList &stencil, const GeometricField< Type, fvPatchField, volMesh > &fld, const List< List< WeightType > > &stencilWeights)
Sum surface field contributions to create cell values.
A class for managing temporary objects.
Mesh data needed to do the Finite Volume discretisation.
typeOfRank< typename pTraits< arg1 >::cmptType, int(pTraits< arg1 >::rank)+int(pTraits< arg2 >::rank) >::type type
extendedCentredCellToCellStencil(const extendedCentredCellToCellStencil &)
Disallow default bitwise copy construct.
void compact()
After removing elements from the stencil adapt the schedule (map).
const mapDistribute & map() const
Return reference to the parallel distribution map.
Class containing processor-to-processor mapping information.
gmvFile<< "tracers "<< particles.size()<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().x()<< ' ';}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().y()<< ' ';}gmvFile<< nl;forAllConstIter(Cloud< passiveParticle >, particles, iter){ gmvFile<< iter().position().z()<< ' ';}gmvFile<< nl;forAll(lagrangianScalarNames, i){ const word &name=lagrangianScalarNames[i];IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
const labelListList & stencil() const
Return reference to the stencil.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
void operator=(const extendedCentredCellToCellStencil &)
Disallow default bitwise assignment.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
autoPtr< mapDistribute > mapPtr_
Swap map for getting neigbouring data.
static void collectData(const mapDistribute &map, const labelListList &stencil, const GeometricField< T, fvPatchField, volMesh > &fld, List< List< T > > &stencilFld)
Use map to get the data into stencil order.
Generic GeometricField class.
void collectData(const GeometricField< Type, fvPatchField, volMesh > &fld, List< List< Type > > &stencilFld) const
Use map to get the data into stencil order.
baseclass for extended cell centred addressing. Contains per cell a list of neighbouring cells and/or...
tmp< GeometricField< typename outerProduct< WeightType, Type >::type, fvPatchField, volMesh > > weightedSum(const GeometricField< Type, fvPatchField, volMesh > &fld, const List< List< WeightType > > &stencilWeights) const
Sum vol field contributions to create cell values.
labelListList stencil_
Per cell the stencil.