Class Sampler

Inheritance Relationships

Derived Types

Class Documentation

class Sampler

Class for sampling data to the wall models.

Contributors/Copyright: 2016-2021 Timofey Mukha 2017 Saleh Rezaeiravesh

Source files

Subclassed by MultiCellSampler, SingleCellSampler

Public Functions

Sampler(const fvPatch&, scalar averagingTime, const word interpolationType, const word cellFinderType, const word lengthScaleType, bool hIsIndex, bool excludeWallAdjacent)
Sampler(const word &samplerName, const fvPatch&, scalar averagingTime, const word interpolationType, const word cellFinderType, const word lengthScaleType, bool hIsIndex, bool excludeWallAdjacent)
Sampler(const Sampler&)
virtual ~Sampler()
inline const fvPatch &patch() const
inline const objectRegistry &db() const
inline const fvMesh &mesh() const
inline scalar averagingTime() const
inline label nSampledFields() const
inline word interpolationType() const
inline word cellFinderType() const
inline word lengthScaleType() const
inline bool excludeWallAdjacent() const
inline bool hIsIndex() const
void recomputeFields() const
virtual void sample() const = 0
virtual void addField(SampledField*)
void write(Ostream &os) const

Public Static Functions

static autoPtr<Sampler> New(const word &samplerName, const fvPatch&, scalar averagingTime, const word interpolationType, const word cellFinderType, const word lengthScaleType, bool hIsIndex, bool excludeWallAjdacent)
static autoPtr<Sampler> New(const dictionary&, const fvPatch&)

Protected Functions

virtual void createIndexList() = 0
inline virtual void createLengthList(const word lengthScaleType)
virtual void createFields()

Protected Attributes

const fvPatch &patch_
scalar averagingTime_
const fvMesh &mesh_
PtrList<SampledField> sampledFields_
word interpolationType_
word cellFinderType_
word lengthScaleType_
bool hIsIndex_
bool excludeWallAdjacent_