53 flip_(
dict.getOrDefault(
"flip", false))
74 auto* ctorPtr = dictionaryConstructorTable(modelType);
83 *dictionaryConstructorTablePtr_
100 forAll(faceToZoneID, facei)
102 if (faceToZoneID[facei] == zoneID)
104 faceToFlip[facei] = !faceToFlip[facei];
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
Find and return a T. FatalIOError if not found, or if the number of tokens is incorrect.
Face selection method for createBaffles.
faceSelection(const word &name, const fvMesh &mesh, const dictionary &dict)
Construct from dictionary.
virtual ~faceSelection()
Destructor.
static autoPtr< faceSelection > New(const word &name, const fvMesh &mesh, const dictionary &dict)
Return a reference to the selected faceSelection.
virtual void select(const label, labelList &, boolList &) const =0
Mesh data needed to do the Finite Volume discretisation.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
#define FatalIOErrorInLookup(ios, lookupTag, lookupName, lookupTable)
Report an error message using Foam::FatalIOError.
List< label > labelList
A List of labels.
IOerror FatalIOError
Error stream (stdout output on all processes), with additional 'FOAM FATAL IO ERROR' header text and ...
List< bool > boolList
A List of bools.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
errorManipArg< error, int > exit(error &err, const int errNo=1)
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.
#define forAll(list, i)
Loop across all elements in list.