36#ifndef upwindCPCCellToFaceStencilObject_H
37#define upwindCPCCellToFaceStencilObject_H
57 TopologicalMeshObject,
58 upwindCPCCellToFaceStencilObject
60 public extendedUpwindCellToFaceStencil
73 TypeName(
"upwindCPCCellToFaceStencil");
83 const scalar minOpposedness
86 MeshObject_type(
mesh),
87 extendedUpwindCellToFaceStencil
94 if (extendedCellToFaceStencil::debug)
96 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.
TypeName("upwindCPCCellToFaceStencil")
virtual ~upwindCPCCellToFaceStencilObject()=default
Destructor.
upwindCPCCellToFaceStencilObject(const fvMesh &mesh, const bool pureUpwind, const scalar minOpposedness)
Construct from uncompacted face stencil.
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.