Class AdiabaticCooling

Inheritance Relationships

Base Type

Class Documentation

class AdiabaticCooling : public Module

Implements adiabatic cooling/heating due to advection.

Public Functions

AdiabaticCooling(ref_ptr<AdvectionField> advectionField)

Default constructor.

Parameters:

advectionField – The advection field used for the adiabatic energy change

AdiabaticCooling(ref_ptr<AdvectionField> advectionField, double limit)

Constructor

Parameters:
  • advectionField – The advection field used for the adiabatic energy change

  • limit – Maximum relative energy change allowed

virtual void process(Candidate *c) const
void setLimit(double l)
double getLimit() const
virtual std::string getDescription() const
void setDescription(const std::string &description)
inline void process(ref_ptr<Candidate> candidate) const
inline size_t addReference() const
inline size_t removeReference() const
inline int removeReferenceNoDelete() const
inline size_t getReferenceCount() const

Protected Attributes

mutable size_t _referenceCount