Go to the documentation of this file.
45 zeroATCcells::zeroATCcells
62 zeroATCZones_.
resize(zeroATCZoneNames.size(), -1);
64 forAll(zeroATCZoneNames, zI)
66 const word& zoneName = zeroATCZoneNames[zI];
72 <<
"cannot find cellZone "
74 <<
" for smoothing ATC"
77 zeroATCZones_[zI] =
zoneID;
96 auto cstrIter = dictionaryConstructorTablePtr_->cfind(modelType);
98 if (!cstrIter.found())
105 *dictionaryConstructorTablePtr_
A class for handling words, derived from Foam::string.
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
const cellZoneMesh & cellZones() const
Return cell zone mesh.
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define forAll(list, i)
Loop across all elements in list.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
void resize(const label newSize)
Adjust allocated size of list.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
const labelIOList & zoneID
Mesh data needed to do the Finite Volume discretisation.
label findZoneID(const word &zoneName) const
Find zone index given a name, return -1 if not found.
errorManipArg< error, int > exit(error &err, const int errNo=1)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
static autoPtr< zeroATCcells > New(const fvMesh &mesh, const dictionary &dict)
Return a reference to the selected turbulence model.
T getOrDefault(const word &keyword, const T &deflt, enum keyType::option matchOpt=keyType::REGEX) const
defineTypeNameAndDebug(combustionModel, 0)
#define WarningInFunction
Report a warning using Foam::Warning.
bool readIfPresent(const word &keyword, T &val, enum keyType::option matchOpt=keyType::REGEX) const