Go to the documentation of this file.
86 const Foam::fvPatch& Foam::expressions::patchExpr::parseDriver::getFvPatch
89 const dictionary&
dict
112 resetTimeReference(
nullptr);
113 resetDb(patch_.boundaryMesh().mesh().thisDb());
128 resetTimeReference(
nullptr);
129 resetDb(patch_.boundaryMesh().mesh().thisDb());
135 const word& patchName,
157 const std::string& expr,
162 scanner scan(this->debugScanner());
A class for handling words, derived from Foam::string.
virtual unsigned parse(const std::string &expr, size_t pos=0, size_t len=std::string::npos)
Execute the parser.
Base driver for parsing value expressions associated with an fvMesh.
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
static const fvPatch & lookupFvPatch(const fvMesh &mesh, const word &patchName)
Generic interface code for Ragel/Lemon combination Subclasses should implement one or more process() ...
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
addNamedToRunTimeSelectionTable(fvExprDriver, parseDriver, dictionary, patch)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
Mesh data needed to do the Finite Volume discretisation.
Driver for patch expressions.
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
bool process(const std::string &str, size_t pos, size_t len, parseDriver &driver_)
Evaluate sub-string.
const dictionary & dict() const noexcept
The dictionary with all input data/specification.
const std::string patch
OpenFOAM patch number as a std::string.
defineTypeNameAndDebug(parseDriver, 0)
static const fvMesh & regionMesh(const dictionary &dict, const fvMesh &mesh, bool readIfNecessary)
parseDriver(const parseDriver &)=delete
Ragel lexer/scanner interface for patch expressions.
dimensionedScalar pos(const dimensionedScalar &ds)