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
const labelListList & neiStencil() const
Return reference to the stencil.
void operator=(const extendedUpwindCellToFaceStencil &)=delete
Disallow default bitwise assignment.
Calculates/contains the extended cell-to-face stencil.
const labelListList & ownStencil() const
Return reference to the stencil.
Base class for extended cell-to-face stencils (face values from neighbouring cells) ...
extendedUpwindCellToFaceStencil(const cellToFaceStencil &, const bool pureUpwind, const scalar minOpposedness)
Construct from mesh and uncompacted centred 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))
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > weightedSum(const surfaceScalarField &phi, const GeometricField< Type, fvPatchField, volMesh > &fld, const List< List< scalar >> &ownWeights, const List< List< scalar >> &neiWeights) const
Sum vol field contributions to create face values.
Class containing processor-to-processor mapping information.
Creates upwind stencil by shifting a centred stencil to upwind and downwind faces and optionally remo...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
const distributionMap & neiMap() const
Return reference to the parallel distribution map.
A class for managing temporary objects.
const distributionMap & ownMap() const
Return reference to the parallel distribution map.