Class SampledPGradField

Inheritance Relationships

Base Type

Class Documentation

class SampledPGradField : public SampledField

Class for the sampled pressure gradient field.

Contributors/Copyright: 2018-2023 Timofey Mukha

Source files

Public Functions

inline SampledPGradField(const fvPatch &patch, const word interpolationType = "cell")

Construct from patch and interpolation type.

inline SampledPGradField(const SampledPGradField &orig)

Copy constructor.

inline virtual autoPtr<SampledField> clone() const override

Clone the object.

inline virtual ~SampledPGradField()

Destructor.

inline virtual label nDims() const override

The number of dimensions of the field.

inline virtual word name() const override

Get the name of the sampled field.

virtual void sample(scalarListList &sampledValues, const labelList &indexList, const scalarField &h) const override

Sample the pressure gradient values from a single cell per wall face.

virtual void sample(scalarListListList&, const labelListList&) const override

Sample the pressure gradient values from multiple cells per wall face.

virtual void registerFields(const labelList&) const override

Register the pGrad field in the object registry.

virtual void registerFields(const labelListList&) const override

Register the pGrad field in the object registry.

virtual void recompute() const override

Recompute the field.

virtual void createField() const override

Create the global pressure gradient field that will be sampled.