74#ifndef PatchFunction1Types_Sampled_H
75#define PatchFunction1Types_Sampled_H
85namespace PatchFunction1Types
95 public PatchFunction1<Type>,
96 public mappedPatchBase
137 void operator=(
const Sampled<Type>&) =
delete;
146 const word& redirectType,
196 virtual inline bool constant()
const
202 virtual inline bool uniform()
const
Generic GeometricField class.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
PatchFunction1 to sample an existing field.
virtual tmp< Field< Type > > integrate(const scalar x1, const scalar x2) const
Integrate between two values.
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
Construct and return a clone setting patch.
bool haveSampleField() const
Field to sample. Either on my or nbr mesh.
virtual bool constant() const
Is value constant (i.e. independent of x)
virtual tmp< Field< Type > > value(const scalar x) const
Return sampled value.
virtual tmp< PatchFunction1< Type > > clone() const
Construct and return a clone.
virtual ~Sampled()=default
Destructor.
word fieldName_
Name of the field.
const GeometricField< Type, fvPatchField, volMesh > & sampleField() const
Field to sample. Either on my or nbr mesh.
word interpolationScheme_
Interpolation scheme to use for nearestcell mode.
void operator=(const Sampled< Type > &)=delete
No copy assignment.
const bool setAverage_
If true adjust the mapped field to maintain average value average_.
Top level data entry class for use in dictionaries. Provides a mechanism to specify a variable as a c...
const polyPatch const word const word & entryName
const polyPatch const word const word const dictionary & dict
const polyPatch const word const word const dictionary const bool faceValues
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Determines a mapping between patch face centres and mesh cell or face centres and processors they're ...
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)
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.