63 if (patch.type() == patchType)
66 mesh_.boundaryMesh()[patchI].meshPoints();
68 for (
const label pointI : meshPoints)
71 for (
const label cellI : pointCells)
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;
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
void resize(const label len)
Adjust allocated size of list.
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.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Smooth ATC in cells having a point to a set of patches supplied by type.
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.
List< label > labelList
A List of labels.
messageStream Info
Information stream (stdout output on master, null elsewhere).
T returnReduce(const T &value, BinaryOp bop, const int tag=UPstream::msgType(), const int communicator=UPstream::worldComm)
Perform reduction on a copy, using specified binary operation.
Ostream & endl(Ostream &os)
Add newline and flush stream.
List< bool > boolList
A List of bools.
constexpr char nl
The newline '\n' character (0x0a).
#define forAll(list, i)
Loop across all elements in list.