Kariba
Loading...
Searching...
No Matches
Thermal.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "Particles.hpp"
4
5namespace kariba {
6
8class Thermal : public Particles {
9 protected:
10 double Temp, thnorm, theta;
11
12 public:
13 Thermal(size_t size);
14
15 void set_p();
16 void set_ndens();
17 void set_temp_kev(double T);
18 void set_norm(double n);
19
20 double K2(double x);
21
22 void test();
23};
24
25} // namespace kariba
Definition Particles.hpp:76
Class for thermal particles. ndens is number density per unit momentum.
Definition Thermal.hpp:8
double theta
Definition Thermal.hpp:10
double thnorm
Definition Thermal.hpp:10
double Temp
Definition Thermal.hpp:10
void set_norm(double n)
Definition Thermal.cpp:56
void set_p()
Method to initialize momentum array a with default interval.
Definition Thermal.cpp:21
void test()
simple method to check quantities.
Definition Thermal.cpp:74
void set_temp_kev(double T)
Definition Thermal.cpp:51
void set_ndens()
Definition Thermal.cpp:41
double K2(double x)
Evaluate Bessel function as in old agnjet.
Definition Thermal.cpp:61
Definition BBody.hpp:5