34 #ifndef extendedCentredFaceToCellStencil_H 35 #define extendedCentredFaceToCellStencil_H 44 class faceToCellStencil;
extendedCentredFaceToCellStencil(const faceToCellStencil &)
Construct from uncompacted face stencil.
Note: transformations on coupled patches not supported. Problem is the positions of cells reachable t...
static tmp< GeometricField< Type, fvPatchField, volMesh > > weightedSum(const distributionMap &map, const labelListList &stencil, const GeometricField< Type, fvsPatchField, surfaceMesh > &fld, const List< List< scalar >> &stencilWeights)
Sum surface field contributions to create cell values.
baseclass for extended cell centred addressing. Contains per cell a list of neighbouring faces in glo...
void compact()
After removing elements from the stencil adapt the schedule (map).
Generic GeometricField class.
void collectData(const GeometricField< T, fvsPatchField, surfaceMesh > &fld, List< List< T >> &stencilFld) const
Use map to get the data into stencil order.
const labelListList & stencil() const
Return reference to the stencil.
const distributionMap & map() const
Return reference to the parallel distribution map.
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))
Class containing processor-to-processor mapping information.
void operator=(const extendedCentredFaceToCellStencil &)=delete
Disallow default bitwise assignment.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A class for managing temporary objects.
static void collectData(const distributionMap &map, const labelListList &stencil, const GeometricField< T, fvsPatchField, surfaceMesh > &fld, List< List< T >> &stencilFld)
Use map to get the data into stencil order.
tmp< GeometricField< Type, fvPatchField, volMesh > > weightedSum(const GeometricField< Type, fvsPatchField, surfaceMesh > &fld, const List< List< scalar >> &stencilWeights) const
Sum surface field contributions to create cell values.