37 #ifndef extendedFaceToCellStencil_H
38 #define extendedFaceToCellStencil_H
Generic GeometricField class.
Class containing processor-to-processor mapping information.
Note: transformations on coupled patches not supported. Problem is the positions of cells reachable t...
extendedFaceToCellStencil(const polyMesh &)
Construct from mesh.
static void collectData(const distributionMap &map, const labelListList &stencil, const SurfaceField< Type > &fld, List< List< Type >> &stencilFld)
Use map to get the data into stencil order.
static tmp< VolField< Type > > weightedSum(const distributionMap &map, const labelListList &stencil, const SurfaceField< Type > &fld, const List< List< scalar >> &stencilWeights)
Sum surface field contributions to create cell 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))