44 #ifndef extendedUpwindCellToFaceStencil_H
45 #define extendedUpwindCellToFaceStencil_H
54 class cellToFaceStencil;
67 const bool pureUpwind_;
82 void selectOppositeFaces
85 const scalar minOpposedness,
96 const scalar minOpposedness,
99 const bool stencilHasNeighbour,
107 void transportStencils
110 const scalar minOpposedness,
127 const scalar minOpposedness
Generic GeometricField class.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Base class for extended cell-to-face stencils (face values from neighbouring cells)
Class containing processor-to-processor mapping information.
Calculates/contains the extended cell-to-face stencil.
Creates upwind stencil by shifting a centred stencil to upwind and downwind faces and optionally remo...
const distributionMap & neiMap() const
Return reference to the parallel distribution map.
void operator=(const extendedUpwindCellToFaceStencil &)=delete
Disallow default bitwise assignment.
const labelListList & ownStencil() const
Return reference to the stencil.
const labelListList & neiStencil() const
Return reference to the stencil.
extendedUpwindCellToFaceStencil(const cellToFaceStencil &, const bool pureUpwind, const scalar minOpposedness)
Construct from mesh and uncompacted centred face stencil.
const distributionMap & ownMap() const
Return reference to the parallel distribution map.
tmp< SurfaceField< Type > > weightedSum(const surfaceScalarField &phi, const VolField< Type > &fld, const List< List< scalar >> &ownWeights, const List< List< scalar >> &neiWeights) const
Sum vol field contributions to create face values.
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))
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.