86 const Foam::fvPatch& Foam::expressions::patchExpr::parseDriver::getFvPatch
89 const dictionary&
dict 108 parsing::genericRagelLemonDriver(),
112 resetTimeReference(
nullptr);
113 resetDb(patch_.boundaryMesh().mesh().thisDb());
124 parsing::genericRagelLemonDriver(),
128 resetTimeReference(
nullptr);
129 resetDb(patch_.boundaryMesh().mesh().thisDb());
135 const word& patchName,
157 const std::string& expr,
162 scanner scan(this->debugScanner());
164 scan.process(expr,
pos, len, *
this);
A list of keyword definitions, which are a keyword followed by a number of values (eg...
static const fvMesh & regionMesh(const dictionary &dict, const fvMesh &mesh, bool readIfNecessary)
Determine mesh or region mesh as specified in the dictionary with the keyword "region".
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
Driver for patch expressions.
defineTypeNameAndDebug(parseDriver, 0)
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.
Base driver for parsing value expressions associated with an fvMesh.
virtual unsigned parse(const std::string &expr, size_t pos=0, size_t len=std::string::npos)
Execute the parser.
Macros for easy insertion into run-time selection tables.
dimensionedScalar pos(const dimensionedScalar &ds)
A class for handling words, derived from Foam::string.
Ragel lexer/scanner interface for patch expressions.
static const fvPatch & lookupFvPatch(const fvMesh &mesh, const word &patchName)
parseDriver(const parseDriver &)=delete
Mesh data needed to do the Finite Volume discretisation.
const std::string patch
OpenFOAM patch number as a std::string.
const dictionary & dict() const noexcept
The dictionary with all input data/specification.
addNamedToRunTimeSelectionTable(fvExprDriver, parseDriver, dictionary, patch)
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.