Class MultiCellSampler

Inheritance Relationships

Base Type

Class Documentation

class MultiCellSampler : public Sampler

Class for sampling from several consecutive cells per wall face.

Contributors/Copyright: 2018-2021 Timofey Mukha

Source files

Public Functions

MultiCellSampler(const fvPatch&, scalar averagingTime, const word interpolationType = "cell", const word cellFinderType = "Tree", const word lengthScaleType = "CubeRootVol", bool hIsIndex = false, bool excludeWallAdjacent = false)
MultiCellSampler(const word &samplerName, const fvPatch &p, scalar averagingTime, const word interpolationType = "cell", const word cellFinderType = "Tree", const word lengthScaleType = "CubeRootVol", bool hIsIndex = false, bool excludeWallAdjacent = false)
inline MultiCellSampler(const MultiCellSampler &orig)
inline virtual ~MultiCellSampler()
virtual void addField(SampledField*)
inline const labelListList &indexList() const
inline virtual const scalarListList &h() const
inline virtual const scalarListList &lengthList() const
inline labelList operator[](const label i) const
virtual void sample() const

Protected Functions

virtual void createIndexList() override
virtual void createLengthList(const word lengthScaleType) override
void createLengthListCubeRootVol()
void createLengthListWallNormalDistance()

Protected Attributes

labelListList indexList_
scalarListList h_
scalarListList lengthList_