|
bi-kappa 3.0.0
Monte Carlo particle samplers for plasma velocity and position distributions
|
The parameters of a bi_maxwellian_distribution: theta_perp, theta_par, ub and the velocity cap. More...
#include <bi_maxwellian_distribution.H>
Public Types | |
| using | distribution_type = bi_maxwellian_distribution<RealType> |
| The owning sampler. | |
Public Member Functions | |
| param_type (RealType theta_perp=RealType(1.0), RealType theta_par=RealType(1.0), point_type ub=point_type({RealType(0.0), RealType(0.0), RealType(1.0)}), RealType max_normalized_velocity=RealType(20.0)) | |
| Store the parameters. | |
| RealType | theta_perp () const |
| Perpendicular thermal speed. | |
| RealType | theta_par () const |
| Parallel thermal speed. | |
| point_type | ub () const |
| Field direction, as given. | |
| RealType | max_normalized_velocity () const |
| Velocity cap in thermal speeds; +infinity for no_cap(). | |
| bool | capped () const |
| True when a finite component-wise cap is in force, that is, when the sampled distribution is the bi-Maxwellian distribution conditioned on the cap box rather than the bi-Maxwellian distribution itself. | |
| bool | operator== (const param_type &other) const |
| True if every parameter compares equal. | |
| bool | operator!= (const param_type &other) const |
| Negation of operator==. | |
The parameters of a bi_maxwellian_distribution: theta_perp, theta_par, ub and the velocity cap.
Definition at line 37 of file bi_maxwellian_distribution.H.
| using bi_maxwellian_distribution< RealType >::param_type::distribution_type = bi_maxwellian_distribution<RealType> |
The owning sampler.
Definition at line 40 of file bi_maxwellian_distribution.H.
|
inline |
Store the parameters.
Throws std::invalid_argument if either theta is zero or negative, or if the cap is not positive; ub is not checked here.
Definition at line 44 of file bi_maxwellian_distribution.H.
References theta_par(), theta_perp(), and ub().
Referenced by operator!=(), and operator==().
|
inline |
True when a finite component-wise cap is in force, that is, when the sampled distribution is the bi-Maxwellian distribution conditioned on the cap box rather than the bi-Maxwellian distribution itself.
Definition at line 74 of file bi_maxwellian_distribution.H.
|
inline |
Velocity cap in thermal speeds; +infinity for no_cap().
Definition at line 69 of file bi_maxwellian_distribution.H.
|
inline |
Negation of operator==.
Definition at line 84 of file bi_maxwellian_distribution.H.
References param_type().
|
inline |
True if every parameter compares equal.
Definition at line 77 of file bi_maxwellian_distribution.H.
References param_type().
|
inline |
Parallel thermal speed.
Definition at line 66 of file bi_maxwellian_distribution.H.
Referenced by param_type().
|
inline |
Perpendicular thermal speed.
Definition at line 65 of file bi_maxwellian_distribution.H.
Referenced by param_type().
|
inline |
Field direction, as given.
Definition at line 67 of file bi_maxwellian_distribution.H.
Referenced by param_type().