33 #ifndef upwindCFCCellToFaceStencilObject_H 34 #define upwindCFCCellToFaceStencilObject_H 54 TopologicalMeshObject,
55 upwindCFCCellToFaceStencilObject
62 TypeName(
"upwindCFCCellToFaceStencil");
71 const scalar minOpposedness
87 if (extendedCellToFaceStencil::debug)
89 Info<<
"Generated off-centred stencil " <<
type()
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.
Templated abstract base-class for optional mesh objects used to automate their allocation to the mesh...
static void writeStencilStats(Ostream &os, const labelListList &stencil, const distributionMap &map)
Write some statistics about stencil.
virtual ~upwindCFCCellToFaceStencilObject()
Destructor.
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.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
TypeName("upwindCFCCellToFaceStencil")
const distributionMap & ownMap() const
Return reference to the parallel distribution map.