48 #ifndef extendedCellToFaceStencil_H
49 #define extendedCellToFaceStencil_H
Generic GeometricField class.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Class containing processor-to-processor mapping information.
Calculates/contains the extended cell-to-face stencil.
extendedCellToFaceStencil(const polyMesh &)
Construct from mesh.
static void writeStencilStats(Ostream &os, const labelListList &stencil, const distributionMap &map)
Write some statistics about stencil.
ClassName("extendedCellToFaceStencil")
static void collectData(const distributionMap &map, const labelListList &stencil, const VolField< Type > &fld, List< List< Type >> &stencilFld)
Use map to get the data into stencil order.
static tmp< SurfaceField< Type > > weightedSum(const distributionMap &map, const labelListList &stencil, const VolField< Type > &fld, const List< List< scalar >> &stencilWeights)
Sum vol field contributions to create face values.
Mesh consisting of general polyhedral cells.
A class for managing temporary objects.
gmvFile<< "tracers "<< particles.size()<< nl;{ pointField positions(particles.size());label particlei=0;forAllConstIter(Cloud< passiveParticle >, particles, iter) { positions[particlei++]=iter().position(mesh);} for(i=0;i< pTraits< point >::nComponents;i++) { forAll(positions, particlei) { gmvFile<< component(positions[particlei], i)<< ' ';} gmvFile<< nl;}}forAll(lagrangianScalarNames, i){ const word &name=lagrangianScalarNames[i];IOField< scalar > fld(IOobject(name, runTime.name(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))