46#ifndef extendedUpwindCellToFaceStencil_H
47#define extendedUpwindCellToFaceStencil_H
56class 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
Info<< nl<< "Wrote faMesh in vtk format: "<< writer.output().name()<< nl;}{ vtk::lineWriter writer(aMesh.points(), aMesh.edges(), fileName(aMesh.mesh().time().globalPath()/"finiteArea-edges"));writer.writeGeometry();writer.beginCellData(4);writer.writeProcIDs();{ Field< scalar > fld(faMeshTools::flattenEdgeField(aMesh.magLe(), true))
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Base class for extended cell-to-face stencils (face values from neighbouring cells)
Calculates/constains the extended cell-to-face stencil.
Creates upwind stencil by shifting a centred stencil to upwind and downwind faces and optionally remo...
const labelListList & neiStencil() const
Return reference to the stencil.
const mapDistribute & ownMap() const
Return reference to the parallel distribution map.
const labelListList & ownStencil() const
Return reference to the stencil.
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.
const mapDistribute & neiMap() const
Return reference to the parallel distribution map.
Class containing processor-to-processor mapping information.
A class for managing temporary objects.