Go to the documentation of this file.
47 pointCells::pointCells
55 boolList isZeroed(mesh_.nCells(),
false);
58 forAll(mesh_.boundary(), patchI)
61 for (
const word& patchType : zeroATCPatches_)
63 if (
patch.type() == patchType)
66 mesh_.boundaryMesh()[patchI].meshPoints();
68 for (
const label pointI : meshPoints)
75 zeroedIDs[i++] = cellI;
76 isZeroed[cellI] =
true;
85 const label&
zoneID = zeroATCZones_[zI];
89 for (
const label cellI : zoneCells)
93 zeroedIDs[i++] = cellI;
94 isZeroed[cellI] =
true;
100 zeroATCcells_ = zeroedIDs;
102 label size = zeroATCcells_.size();
104 Info<<
"Zeroing ATC on "<< size <<
" cells" <<
nl <<
endl;
addToRunTimeSelectionTable(decompositionMethod, kahipDecomp, dictionary)
Base class for selecting cells on which to zero the ATC term.
A class for handling words, derived from Foam::string.
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define forAll(list, i)
Loop across all elements in list.
void reduce(const List< UPstream::commsStruct > &comms, T &Value, const BinaryOp &bop, const int tag, const label comm)
messageStream Info
Information stream (stdout output on master, null elsewhere)
void setSize(const label n)
Alias for resize()
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
const labelIOList & zoneID
Mesh data needed to do the Finite Volume discretisation.
const std::string patch
OpenFOAM patch number as a std::string.
Smooth ATC in cells having a point to a set of patches supplied by type.
defineTypeNameAndDebug(combustionModel, 0)