Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
Maxwell_Boltzmann Class Reference

#include <distribution.h>

Inheritance diagram for Maxwell_Boltzmann:
Collaboration diagram for Maxwell_Boltzmann:

Public Member Functions

 Maxwell_Boltzmann (std::default_random_engine &_rand, Real _mass, Real _charge, Real kT)
 Maxwell_Boltzmann (std::default_random_engine &_rand)
virtual Particle next_particle ()
Public Member Functions inherited from Distribution
 Distribution (std::default_random_engine &_rand, Real _mass, Real _charge)
 Distribution (std::default_random_engine &_rand)

Private Attributes

std::normal_distribution< Realvelocity_distribution

Additional Inherited Members

Protected Attributes inherited from Distribution
Real mass
Real charge
std::default_random_engine & rand

Detailed Description

Definition at line 44 of file distribution.h.

Constructor & Destructor Documentation

◆ Maxwell_Boltzmann() [1/2]

Maxwell_Boltzmann::Maxwell_Boltzmann ( std::default_random_engine & _rand,
Real _mass,
Real _charge,
Real kT )
inline

Definition at line 48 of file distribution.h.

Here is the call graph for this function:

◆ Maxwell_Boltzmann() [2/2]

Maxwell_Boltzmann::Maxwell_Boltzmann ( std::default_random_engine & _rand)

Definition at line 30 of file distribution.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ next_particle()

Particle Maxwell_Boltzmann::next_particle ( )
virtual

Implements Distribution.

Definition at line 81 of file distribution.cpp.

Member Data Documentation

◆ velocity_distribution

std::normal_distribution<Real> Maxwell_Boltzmann::velocity_distribution
private

Definition at line 56 of file distribution.h.


The documentation for this class was generated from the following files: