33 #ifndef upwindFECCellToFaceStencilObject_H 34 #define upwindFECCellToFaceStencilObject_H 54 TopologicalMeshObject,
55 upwindFECCellToFaceStencilObject
62 TypeName(
"upwindFECCellToFaceStencil");
71 const scalar minOpposedness
87 if (extendedCellToFaceStencil::debug)
89 Info<<
"Generated off-centred stencil " <<
type()
All cells connected via edge to face.
const mapDistribute & ownMap() const
Return reference to the parallel distribution map.
Ostream & endl(Ostream &os)
Add newline and flush stream.
const labelListList & ownStencil() const
Return reference to the stencil.
TypeName("upwindFECCellToFaceStencil")
Templated abstract base-class for optional mesh objects used to automate their allocation to the mesh...
upwindFECCellToFaceStencilObject(const fvMesh &mesh, const bool pureUpwind, const scalar minOpposedness)
Construct from uncompacted face stencil.
virtual ~upwindFECCellToFaceStencilObject()
Destructor.
fileName::Type type(const fileName &, const bool followLink=true)
Return the file type: DIRECTORY or FILE.
const fvMesh & mesh() const
Creates upwind stencil by shifting a centred stencil to upwind and downwind faces and optionally remo...
Mesh data needed to do the Finite Volume discretisation.
static void writeStencilStats(Ostream &os, const labelListList &stencil, const mapDistribute &map)
Write some statistics about stencil.