54 #ifndef PatchFunction1Types_LookupField_H 55 #define PatchFunction1Types_LookupField_H 64 namespace PatchFunction1Types
74 public PatchFunction1<Type>,
97 const word& redirectType,
133 virtual inline bool uniform()
const {
return false; }
LookupField(const polyPatch &pp, const word &redirectType, const word &entryName, const dictionary &dict, const bool faceValues=true)
Construct from entry name, dictionary and optional registry.
virtual tmp< Field< Type > > value(const scalar x) const
Return Lookup value.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual ~LookupField()=default
Destructor.
virtual bool uniform() const
Is value uniform (i.e. independent of coordinate)
const polyPatch const word const word const dictionary & dict
PatchFunction1 to lookup volField/surfaceField or pointField from an objectregistry and return its va...
virtual void writeData(Ostream &os) const
Write in dictionary format.
A class for handling words, derived from Foam::string.
virtual tmp< PatchFunction1< Type > > clone() const
Construct and return a clone.
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...
virtual tmp< Field< Type > > integrate(const scalar x1, const scalar x2) const
Integrate between two values.
OBJstream os(runTime.globalPath()/outputName)
A class for managing temporary objects.
A patch is a list of labels that address the faces in the global face list.
static tmp< PatchFunction1< Type > > Clone(const Derived &fun)
Clone a PatchFunction1.
void operator=(const LookupField< Type > &)=delete
No copy assignment.