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;
104 Info<<
"Zeroing ATC on "<< size <<
" cells" <<
nl <<
endl;
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
void setSize(const label n)
Alias for resize()
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,...
Mesh data needed to do the Finite Volume discretisation.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Smooth ATC in cells having a point to a set of patches supplied by type.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
const cellZoneMesh & cellZones() const noexcept
Return cell zone mesh.
const labelListList & pointCells() const
label nCells() const noexcept
Number of mesh cells.
A class for handling words, derived from Foam::string.
Base class for selecting cells on which to zero the ATC term.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
const labelIOList & zoneID
messageStream Info
Information stream (stdout output on master, null elsewhere)
Ostream & endl(Ostream &os)
Add newline and flush stream.
void reduce(const List< UPstream::commsStruct > &comms, T &value, const BinaryOp &bop, const int tag, const label comm)
constexpr char nl
The newline '\n' character (0x0a)
#define forAll(list, i)
Loop across all elements in list.