47 pointCells::pointCells
63 if (
patch.type() == patchType)
68 for (
const label pointI : meshPoints)
75 zeroedIDs[i++] = cellI;
76 isZeroed[cellI] =
true;
89 for (
const label cellI : zoneCells)
93 zeroedIDs[i++] = cellI;
94 isZeroed[cellI] =
true;
102 Info<<
"Zeroing ATC on " 104 <<
" cells" <<
nl <<
endl;
void size(const label n)
Older name for setAddressableSize.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
constexpr char nl
The newline '\n' character (0x0a)
Ostream & endl(Ostream &os)
Add newline and flush stream.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Smooth ATC in cells having a point to a set of patches supplied by type.
T returnReduce(const T &value, const BinaryOp &bop, const int tag=UPstream::msgType(), const label comm=UPstream::worldComm)
Perform reduction on a copy, using specified binary operation.
Macros for easy insertion into run-time selection tables.
#define forAll(list, i)
Loop across all elements in list.
const polyBoundaryMesh & boundaryMesh() const noexcept
Return boundary mesh.
A class for handling words, derived from Foam::string.
const labelListList & pointCells() const
Base class for selecting cells on which to zero the ATC term.
defineTypeNameAndDebug(combustionModel, 0)
void resize(const label newLen)
Adjust size of PtrList.
label nCells() const noexcept
Number of mesh cells.
Mesh data needed to do the Finite Volume discretisation.
const std::string patch
OpenFOAM patch number as a std::string.
const cellZoneMesh & cellZones() const noexcept
Return cell zone mesh.
messageStream Info
Information stream (stdout output on master, null elsewhere)
const fvBoundaryMesh & boundary() const noexcept
Return reference to boundary mesh.
List< label > labelList
A List of labels.
addToRunTimeSelectionTable(functionObject, pointHistory, dictionary)