54#ifndef PatchFunction1Types_LookupField_H
55#define PatchFunction1Types_LookupField_H
74 public PatchFunction1<Type>,
97 const word& redirectType,
133 virtual inline bool uniform()
const {
return false; }
uindirectPrimitivePatch pp(UIndirectList< face >(mesh.faces(), faceLabels), mesh.points())
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
PatchFunction1 to lookup volField/surfaceField or pointField from an objectregistry and return its va...
virtual tmp< Field< Type > > integrate(const scalar x1, const scalar x2) const
Integrate between two values.
void operator=(const LookupField< Type > &)=delete
No copy assignment.
virtual bool uniform() const
Is value uniform (i.e. independent of coordinate).
virtual void writeData(Ostream &os) const
Write in dictionary format.
virtual tmp< PatchFunction1< Type > > clone(const polyPatch &pp) const
Return a clone, setting the patch.
virtual tmp< Field< Type > > value(const scalar x) const
Return Lookup value.
virtual tmp< PatchFunction1< Type > > clone() const
Construct and return a clone.
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 ~LookupField()=default
Destructor.
const polyPatch const word const word & entryName
const polyPatch const word const word const dictionary & dict
static tmp< PatchFunction1< Type > > Clone(const Derived &fun)
Clone a PatchFunction1.
const polyPatch const word const word const dictionary const bool faceValues
lookupBase(const dictionary &dict)
Construct from dictionary.
A patch is a list of labels that address the faces in the global face list.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
OBJstream os(runTime.globalPath()/outputName)
void rhs(fvMatrix< typename Expr::value_type > &m, const Expr &expression)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.