36#ifndef upwindCFCCellToFaceStencilObject_H
37#define upwindCFCCellToFaceStencilObject_H
57 TopologicalMeshObject,
58 upwindCFCCellToFaceStencilObject
60 public extendedUpwindCellToFaceStencil
74 TypeName(
"upwindCFCCellToFaceStencil");
84 const scalar minOpposedness
87 MeshObject_type(
mesh),
88 extendedUpwindCellToFaceStencil
95 if (extendedCellToFaceStencil::debug)
97 Info<<
"Generated off-centred stencil " <<
type()
Combined corresponding cellToCellStencil of owner and neighbour.
MeshObject(const fvMesh &mesh)
const fvMesh & mesh() const noexcept
static void writeStencilStats(Ostream &os, const labelListList &stencil, const mapDistribute &map)
Write some statistics about stencil.
const mapDistribute & ownMap() const
Return reference to the parallel distribution map.
const labelListList & ownStencil() const
Return reference to the stencil.
Mesh data needed to do the Finite Volume discretisation.
upwindCFCCellToFaceStencilObject(const fvMesh &mesh, const bool pureUpwind, const scalar minOpposedness)
Construct from uncompacted face stencil.
TypeName("upwindCFCCellToFaceStencil")
virtual ~upwindCFCCellToFaceStencilObject()=default
Destructor.
messageStream Info
Information stream (stdout output on master, null elsewhere).
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
Ostream & endl(Ostream &os)
Add newline and flush stream.
constexpr char nl
The newline '\n' character (0x0a).
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.