Go to the documentation of this file.
36 #ifndef upwindCFCCellToFaceStencilObject_H
37 #define upwindCFCCellToFaceStencilObject_H
57 TopologicalMeshObject,
58 upwindCFCCellToFaceStencilObject
65 TypeName(
"upwindCFCCellToFaceStencil");
74 const scalar minOpposedness
92 Info<<
"Generated off-centred stencil " <<
type()
const labelListList & ownStencil() const
Return reference to the stencil.
int debug
Static debugging option.
Ostream & endl(Ostream &os)
Add newline and flush stream.
TypeName("upwindCFCCellToFaceStencil")
Creates upwind stencil by shifting a centred stencil to upwind and downwind faces and optionally remo...
const fvMesh & mesh() const
messageStream Info
Information stream (stdout output on master, null elsewhere)
const mapDistribute & ownMap() const
Return reference to the parallel distribution map.
Mesh data needed to do the Finite Volume discretisation.
upwindCFCCellToFaceStencilObject(const fvMesh &mesh, const bool pureUpwind, const scalar minOpposedness)
Construct from uncompacted face stencil.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
static void writeStencilStats(Ostream &os, const labelListList &stencil, const mapDistribute &map)
Write some statistics about stencil.
virtual ~upwindCFCCellToFaceStencilObject()=default
Destructor.
Templated abstract base-class for optional mesh objects used to automate their allocation to the mesh...
Combined corresponding cellToCellStencil of owner and neighbour.