34 #ifndef extendedCentredCellToFaceStencil_H 35 #define extendedCentredCellToFaceStencil_H 44 class cellToFaceStencil;
Calculates/constains the extended cell-to-face stencil.
Generic GeometricField class.
Base class for extended cell-to-face stencils (face values from neighbouring cells) ...
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > weightedSum(const GeometricField< Type, fvPatchField, volMesh > &fld, const List< List< scalar >> &stencilWeights) const
Sum vol field contributions to create face values.
extendedCentredCellToFaceStencil(const cellToFaceStencil &)
Construct from uncompacted face stencil.
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))
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > weightedSum(const mapDistribute &map, const labelListList &stencil, const GeometricField< Type, fvPatchField, volMesh > &fld, const List< List< scalar >> &stencilWeights)
Sum vol field contributions to create face values.
void compact()
After removing elements from the stencil adapt the schedule (map).
void operator=(const extendedCentredCellToFaceStencil &)=delete
Disallow default bitwise assignment.
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.
const labelListList & stencil() const
Return reference to the stencil.
Class containing processor-to-processor mapping information.
void collectData(const GeometricField< T, fvPatchField, volMesh > &fld, List< List< T >> &stencilFld) const
Use map to get the data into stencil order.
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.
const mapDistribute & map() const
Return reference to the parallel distribution map.