36 #ifndef upwindCFCCellToFaceStencilObject_H 37 #define upwindCFCCellToFaceStencilObject_H 57 TopologicalMeshObject,
58 upwindCFCCellToFaceStencilObject
74 TypeName(
"upwindCFCCellToFaceStencil");
84 const scalar minOpposedness
97 Info<<
"Generated off-centred stencil " <<
type()
const mapDistribute & ownMap() const
Return reference to the parallel distribution map.
constexpr char nl
The newline '\n' character (0x0a)
Ostream & endl(Ostream &os)
Add newline and flush stream.
upwindCFCCellToFaceStencilObject(const fvMesh &mesh, const bool pureUpwind, const scalar minOpposedness)
Construct from uncompacted face stencil.
const labelListList & ownStencil() const
Return reference to the stencil.
Combined corresponding cellToCellStencil of owner and neighbour.
TopologicalMeshObject(const word &objName, const objectRegistry &obr)
Construct from name and instance on registry.
Templated abstract base-class for optional mesh objects used to automate their allocation to the mesh...
virtual ~upwindCFCCellToFaceStencilObject()=default
Destructor.
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
const fvMesh & mesh() const noexcept
Reference to the mesh.
int debug
Static debugging option.
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.
messageStream Info
Information stream (stdout output on master, null elsewhere)
TypeName("upwindCFCCellToFaceStencil")
static void writeStencilStats(Ostream &os, const labelListList &stencil, const mapDistribute &map)
Write some statistics about stencil.