Go to the documentation of this file.
81 <<
"No patch " << patchName <<
" found in "
103 const Foam::fvPatch& Foam::expressions::patchExpr::parseDriver::getFvPatch
106 const dictionary&
dict
121 parsing::genericRagelLemonDriver(),
153 const word& patchName,
175 const std::string& expr,
180 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.
const polyBoundaryMesh & boundaryMesh() const
Return boundary mesh.
T get(const word &keyword, enum keyType::option matchOpt=keyType::REGEX) const
static label getPatchID(const fvMesh &mesh, const word &patchName)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Generic interface code for Ragel/Lemon combination Subclasses should implement one or more process() ...
Macro definitions for declaring ClassName(), NamespaceName(), etc.
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.
errorManipArg< error, int > exit(error &err, const int errNo=1)
const fvBoundaryMesh & boundary() const
Return reference to boundary mesh.
static const fvPatch & findFvPatch(const fvMesh &mesh, const word &patchName)
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const dictionary & dict() const
The dictionary with all input data/specification.
bool process(const std::string &str, size_t pos, size_t len, parseDriver &driver_)
Evaluate sub-string.
FlatOutput< Container > flatOutput(const Container &obj, label len=0)
Global flatOutput function.
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
A list of faces which address into the list of points.
Ragel lexer/scanner interface for patch expressions.
dimensionedScalar pos(const dimensionedScalar &ds)