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