Kariba
Loading...
Searching...
No Matches
Thermal.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Particles.hpp
"
4
5
namespace
kariba
{
6
8
class
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
Particles.hpp
kariba::Particles
Definition
Particles.hpp:76
kariba::Thermal
Class for thermal particles. ndens is number density per unit momentum.
Definition
Thermal.hpp:8
kariba::Thermal::theta
double theta
Definition
Thermal.hpp:10
kariba::Thermal::thnorm
double thnorm
Definition
Thermal.hpp:10
kariba::Thermal::Temp
double Temp
Definition
Thermal.hpp:10
kariba::Thermal::set_norm
void set_norm(double n)
Definition
Thermal.cpp:56
kariba::Thermal::set_p
void set_p()
Method to initialize momentum array a with default interval.
Definition
Thermal.cpp:21
kariba::Thermal::test
void test()
simple method to check quantities.
Definition
Thermal.cpp:74
kariba::Thermal::set_temp_kev
void set_temp_kev(double T)
Definition
Thermal.cpp:51
kariba::Thermal::set_ndens
void set_ndens()
Definition
Thermal.cpp:41
kariba::Thermal::K2
double K2(double x)
Evaluate Bessel function as in old agnjet.
Definition
Thermal.cpp:61
kariba
Definition
BBody.hpp:5
src
kariba
Thermal.hpp
Generated by
1.9.8