86const Foam::fvPatch& Foam::expressions::patchExpr::parseDriver::getFvPatch
89 const dictionary&
dict
108 parsing::genericRagelLemonDriver(),
124 parsing::genericRagelLemonDriver(),
135 const word& patchName,
157 const std::string& expr,
162 scanner scan(this->debugScanner());
Macros for easy insertion into run-time selection tables.
#define addNamedToRunTimeSelectionTable(baseType, thisType, argNames, lookupName)
Add to construction table with 'lookupName' as the key.
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
void resetDb(const objectRegistry *obrPtr=nullptr)
Reset the objectRegistry (for functions)
void resetTimeReference(const TimeState *ts)
Reset the time-state reference.
const dictionary & dict() const noexcept
The dictionary with all input data/specification.
Base driver for parsing value expressions associated with an fvMesh.
static const fvMesh & regionMesh(const dictionary &dict, const fvMesh &mesh, bool readIfNecessary)
Driver for patch expressions.
virtual unsigned parse(const std::string &expr, size_t pos=0, size_t len=std::string::npos)
Execute the parser.
const fvPatch & patch_
The referenced patch.
Ragel lexer/scanner interface for patch expressions.
bool process(const std::string &str, size_t pos, size_t len, parseDriver &driver_)
Evaluate sub-string.
const fvMesh & mesh() const noexcept
Return the mesh reference.
Mesh data needed to do the Finite Volume discretisation.
virtual const objectRegistry & thisDb() const
Return the object registry - resolve conflict polyMesh/lduMesh.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
const fvBoundaryMesh & boundaryMesh() const
Return boundaryMesh reference.
A class for handling words, derived from Foam::string.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
dimensionedScalar pos(const dimensionedScalar &ds)
static const fvPatch & lookupFvPatch(const fvMesh &mesh, const word &patchName)