Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
sigmaProfiles.cpp File Reference
#include <iostream>
#include <fstream>
#include <array>
#include <string>
#include <cstring>
#include <vector>
#include <cmath>
#include <errno.h>
Include dependency graph for sigmaProfiles.cpp:

Go to the source code of this file.

Classes

struct  AtmosphericLayer
struct  SergienkoIvanovParameters

Functions

static Real ReesIsotropicLambda (Real x)
static Real SergienkoIvanovLambda (Real E0, Real Chi)
int main (int argc, char **argv)

Variables

static constexpr int productionNumAccEnergies = 60
static constexpr int productionNumTemperatures = 60
static constexpr int productionNumParticleEnergies = 100
static constexpr Real productionMinAccEnergy = 0.1
static constexpr Real productionMaxAccEnergy = 100.
static constexpr Real productionMinTemperature = 0.1
static constexpr Real productionMaxTemperature = 100.
static constexpr int numAtmosphereLevels = 20
static const Real kB = 1.380649e-23
static const Real CHARGE = 1.602176634e-19
static const Real MASS_ELECTRON = 9.1093837015e-31
static const Real MASS_PROTON = 1.67262158e-27
static const Real recombAlpha = 2.4e-13
std::array< Real, productionNumParticleEnergies+1 > particle_energy
std::array< Real, productionNumParticleEnergiesdifferentialFlux
std::array< AtmosphericLayer, numAtmosphereLevelsatmosphere
std::array< Real, numAtmosphereLevelsproductionTable

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

Definition at line 103 of file sigmaProfiles.cpp.

Here is the call graph for this function:

◆ ReesIsotropicLambda()

Real ReesIsotropicLambda ( Real x)
static

Definition at line 46 of file sigmaProfiles.cpp.

Here is the caller graph for this function:

◆ SergienkoIvanovLambda()

Real SergienkoIvanovLambda ( Real E0,
Real Chi )
static

Definition at line 65 of file sigmaProfiles.cpp.

Variable Documentation

◆ atmosphere

std::array<AtmosphericLayer, numAtmosphereLevels> atmosphere

Definition at line 40 of file sigmaProfiles.cpp.

◆ CHARGE

const Real CHARGE = 1.602176634e-19
static

Definition at line 23 of file sigmaProfiles.cpp.

◆ differentialFlux

std::array< Real, productionNumParticleEnergies > differentialFlux

Definition at line 29 of file sigmaProfiles.cpp.

◆ kB

const Real kB = 1.380649e-23
static

Definition at line 22 of file sigmaProfiles.cpp.

◆ MASS_ELECTRON

const Real MASS_ELECTRON = 9.1093837015e-31
static

Definition at line 24 of file sigmaProfiles.cpp.

◆ MASS_PROTON

const Real MASS_PROTON = 1.67262158e-27
static

Definition at line 25 of file sigmaProfiles.cpp.

◆ numAtmosphereLevels

int numAtmosphereLevels = 20
staticconstexpr

Definition at line 20 of file sigmaProfiles.cpp.

◆ particle_energy

std::array< Real, productionNumParticleEnergies+1 > particle_energy

Definition at line 28 of file sigmaProfiles.cpp.

◆ productionMaxAccEnergy

Real productionMaxAccEnergy = 100.
staticconstexpr

Definition at line 17 of file sigmaProfiles.cpp.

◆ productionMaxTemperature

Real productionMaxTemperature = 100.
staticconstexpr

Definition at line 19 of file sigmaProfiles.cpp.

◆ productionMinAccEnergy

Real productionMinAccEnergy = 0.1
staticconstexpr

Definition at line 16 of file sigmaProfiles.cpp.

◆ productionMinTemperature

Real productionMinTemperature = 0.1
staticconstexpr

Definition at line 18 of file sigmaProfiles.cpp.

◆ productionNumAccEnergies

int productionNumAccEnergies = 60
staticconstexpr

Definition at line 13 of file sigmaProfiles.cpp.

◆ productionNumParticleEnergies

int productionNumParticleEnergies = 100
staticconstexpr

Definition at line 15 of file sigmaProfiles.cpp.

◆ productionNumTemperatures

int productionNumTemperatures = 60
staticconstexpr

Definition at line 14 of file sigmaProfiles.cpp.

◆ productionTable

std::array< Real, numAtmosphereLevels > productionTable

Definition at line 42 of file sigmaProfiles.cpp.

◆ recombAlpha

const Real recombAlpha = 2.4e-13
static

Definition at line 26 of file sigmaProfiles.cpp.