Go to the documentation of this file.
47 const dictionary&
dict
53 flip_(
dict.getOrDefault(
"flip", false))
69 const dictionary&
dict
72 const word modelType(
dict.
get<word>(
"type"));
74 auto* ctorPtr = dictionaryConstructorTable(modelType);
83 *dictionaryConstructorTablePtr_
87 return autoPtr<faceSelection>(ctorPtr(
name,
mesh,
dict));
100 forAll(faceToZoneID, facei)
102 if (faceToZoneID[facei] ==
zoneID)
104 faceToFlip[facei] = !faceToFlip[facei];
List< label > labelList
A List of labels.
static autoPtr< faceSelection > New(const word &name, const fvMesh &mesh, const dictionary &dict)
defineRunTimeSelectionTable(reactionRateFlameArea, dictionary)
List< bool > boolList
A List of bools.
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
faceSelection(const word &name, const fvMesh &mesh, const dictionary &dict)
const labelIOList & zoneID
errorManipArg< error, int > exit(error &err, const int errNo=1)
virtual void select(const label, labelList &, boolList &) const =0
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
word name(const expressions::valueTypeCode typeCode)
defineTypeNameAndDebug(combustionModel, 0)