Go to the documentation of this file.
46 #ifndef extendedUpwindCellToFaceStencil_H
47 #define extendedUpwindCellToFaceStencil_H
56 class cellToFaceStencil;
69 const bool pureUpwind_;
84 void selectOppositeFaces
87 const scalar minOpposedness,
98 const scalar minOpposedness,
101 const bool stencilHasNeighbour,
109 void transportStencils
112 const scalar minOpposedness,
139 const scalar minOpposedness
183 tmp<GeometricField<Type, fvsPatchField, surfaceMesh>>
weightedSum
186 const GeometricField<Type, fvPatchField, volMesh>&
fld,
187 const List<List<scalar>>& ownWeights,
188 const List<List<scalar>>& neiWeights
const labelListList & ownStencil() const
A class for managing temporary objects.
A HashTable with keys but without contents that is similar to std::unordered_set.
Creates upwind stencil by shifting a centred stencil to upwind and downwind faces and optionally remo...
Class containing processor-to-processor mapping information.
const mapDistribute & ownMap() const
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< ' ';}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< ' ';}gmvFile<< nl;for(const word &name :lagrangianScalarNames){ IOField< scalar > fld(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
const mapDistribute & neiMap() const
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
Calculates/constains the extended cell-to-face stencil.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
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)
const labelListList & neiStencil() const
Generic GeometricField class.