66 #ifndef PatchFunction1Types_expression_H 67 #define PatchFunction1Types_expression_H 76 namespace PatchFunction1Types
119 const word& redirectType,
161 virtual inline bool constant()
const 167 virtual inline bool uniform()
const PatchFunction1 with values supplied by a parsed expression.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
TypeName("expression")
Runtime type information.
virtual tmp< Field< Type > > integrate(const scalar x1, const scalar x2) const
Integrate between two values.
Driver for patch expressions.
const polyPatch const word const word const dictionary & dict
virtual void rmap(const PatchFunction1< Type > &pf1, const labelList &addr)
Reverse map the given PatchFunction1 onto this PatchFunction1.
void operator=(const PatchExprField< Type > &)=delete
No copy assignment.
Abstract base class to hold the Field mapping addressing and weights.
virtual tmp< PatchFunction1< Type > > clone() const
Return a clone.
A class for handling words, derived from Foam::string.
A variant of Foam::string with expansion of dictionary variables into a comma-separated form...
virtual void writeData(Ostream &os) const
Write in dictionary format.
virtual tmp< Field< Type > > value(const scalar x) const
Return value.
const polyPatch const word const word & entryName
bool faceValues() const noexcept
Generate face or point values on patch?
An Ostream is an abstract base class for all output systems (streams, files, token lists...
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
virtual ~PatchExprField()=default
Destructor.
OBJstream os(runTime.globalPath()/outputName)
virtual void autoMap(const FieldMapper &mapper)
Map (and resize as needed) from self given a mapping object.
virtual bool constant() const
Is value constant (i.e. independent of x)
virtual bool uniform() const
Is value uniform (i.e. independent of coordinate)
A class for managing temporary objects.
A patch is a list of labels that address the faces in the global face list.
PatchExprField(const polyPatch &pp, const word &redirectType, const word &entryName, const dictionary &dict, const bool faceValues=true)
Construct from patch, entry name and dictionary.
static tmp< PatchFunction1< Type > > Clone(const Derived &fun)
Clone a PatchFunction1.