Program Listing for File AdiabaticCooling.h
↰ Return to documentation for file (include/crpropa/module/AdiabaticCooling.h
)
#ifndef CRPROPA_ADIABATICCOOLING_H
#define CRPROPA_ADIABATICCOOLING_H
#include <string>
#include <iostream>
#include <cmath>
#include <cstdlib>
#include <sstream>
#include "crpropa/Vector3.h"
#include "crpropa/Module.h"
#include "crpropa/Units.h"
#include "crpropa/advectionField/AdvectionField.h"
#include "kiss/logger.h"
namespace crpropa {
class AdiabaticCooling: public Module {
private:
ref_ptr<AdvectionField> advectionField;
double limit;
public:
AdiabaticCooling(ref_ptr<AdvectionField> advectionField);
AdiabaticCooling(ref_ptr<AdvectionField> advectionField, double limit);
void process(Candidate *c) const;
void setLimit(double l);
double getLimit() const;
};
}; // end namesspace crpropa
#endif // CRPROPA_ADIABATICCOOLING_H