-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPlasmaInstability.h
35 lines (28 loc) · 1.1 KB
/
PlasmaInstability.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef CRPROPA_PLASMAINSTABILITY_H
#define CRPROPA_PLASMAINSTABILITY_H
#include <crpropa/Cosmology.h>
#include <crpropa/Module.h>
#include <crpropa/ParticleID.h>
#include <crpropa/ParticleMass.h>
#include <crpropa/Random.h>
#include <crpropa/Units.h>
class PlasmaInstability : public crpropa::Module {
protected:
double index;
double tildeE;
double lambda;
public:
PlasmaInstability(double index, double tildeE,
double lambda);
void setPlasmaIndex(double indexplasma);
void setPlasmaEnergyScale(double tildeEplasma);
void setPlasmaLengthScale(double lambdaplasma);
double getPlasmaIndex() const;
double getPlasmaEnergyScale() const;
double getPlasmaLengthScale() const;
double coolingPower(double energy, double redshift)
const;
std::string getDescription() const;
void process(crpropa::Candidate *candidate) const;
};
#endif