Class AdiabaticCooling
Defined in File AdiabaticCooling.h
Inheritance Relationships
Base Type
public Module
(Class Module)
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
-
void setLimit(double l)
-
double getLimit() const
-
virtual std::string getDescription() const
-
void setDescription(const std::string &description)
-
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
-
AdiabaticCooling(ref_ptr<AdvectionField> advectionField)