Go to the documentation of this file.
34 #ifndef extendedCentredCellToFaceStencil_H
35 #define extendedCentredCellToFaceStencil_H
44 class cellToFaceStencil;
const labelListList & stencil() const
Return reference to the stencil.
autoPtr< mapDistribute > mapPtr_
Swap map for getting neigbouring data.
A class for managing temporary objects.
void compact()
After removing elements from the stencil adapt the schedule (map).
void operator=(const extendedCentredCellToFaceStencil &)
Disallow default bitwise assignment.
void collectData(const GeometricField< T, fvPatchField, volMesh > &fld, List< List< T > > &stencilFld) const
Use map to get the data into stencil order.
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.
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.
const mapDistribute & map() const
Return reference to the parallel distribution map.
labelListList stencil_
Per face the stencil.
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))
Calculates/constains the extended cell-to-face stencil.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
extendedCentredCellToFaceStencil(const extendedCentredCellToFaceStencil &)
Disallow default bitwise copy construct.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Base class for extended cell-to-face stencils (face values from neighbouring cells)
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.