bi-kappa 3.0.0
Monte Carlo particle samplers for plasma velocity and position distributions
Loading...
Searching...
No Matches
bi_kappa_distribution< RealType >::param_type Class Reference

The parameters of a bi_kappa_distribution: kappa, theta_perp, theta_par, ub and the velocity cap. More...

#include <bi_kappa_distribution.H>

Public Types

using distribution_type = bi_kappa_distribution<RealType>
 The owning sampler.

Public Member Functions

 param_type (RealType kappa=RealType(2.0), 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 and validate the parameters.
RealType kappa () const
 Spectral index.
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-Kappa distribution conditioned on the cap box rather than the bi-Kappa 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==.

Detailed Description

template<typename RealType = double>
class bi_kappa_distribution< RealType >::param_type

The parameters of a bi_kappa_distribution: kappa, theta_perp, theta_par, ub and the velocity cap.

Definition at line 324 of file bi_kappa_distribution.H.

Member Typedef Documentation

◆ distribution_type

template<typename RealType = double>
using bi_kappa_distribution< RealType >::param_type::distribution_type = bi_kappa_distribution<RealType>

The owning sampler.

Definition at line 327 of file bi_kappa_distribution.H.

Constructor & Destructor Documentation

◆ param_type()

template<typename RealType = double>
bi_kappa_distribution< RealType >::param_type::param_type ( RealType kappa = RealType(2.0),
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) )
inline

Store and validate the parameters.

The arguments, their defaults and the exceptions are those of bi_kappa_distribution::define().

Definition at line 331 of file bi_kappa_distribution.H.

References kappa(), theta_par(), theta_perp(), and ub().

Referenced by operator!=(), and operator==().

Member Function Documentation

◆ capped()

template<typename RealType = double>
bool bi_kappa_distribution< RealType >::param_type::capped ( ) const
inline

True when a finite component-wise cap is in force, that is, when the sampled distribution is the bi-Kappa distribution conditioned on the cap box rather than the bi-Kappa distribution itself.

Definition at line 393 of file bi_kappa_distribution.H.

◆ kappa()

template<typename RealType = double>
RealType bi_kappa_distribution< RealType >::param_type::kappa ( ) const
inline

Spectral index.

Definition at line 383 of file bi_kappa_distribution.H.

Referenced by param_type().

◆ max_normalized_velocity()

template<typename RealType = double>
RealType bi_kappa_distribution< RealType >::param_type::max_normalized_velocity ( ) const
inline

Velocity cap in thermal speeds; +infinity for no_cap().

Definition at line 388 of file bi_kappa_distribution.H.

◆ operator!=()

template<typename RealType = double>
bool bi_kappa_distribution< RealType >::param_type::operator!= ( const param_type & other) const
inline

Negation of operator==.

Definition at line 404 of file bi_kappa_distribution.H.

References param_type().

◆ operator==()

template<typename RealType = double>
bool bi_kappa_distribution< RealType >::param_type::operator== ( const param_type & other) const
inline

True if every parameter compares equal.

Definition at line 396 of file bi_kappa_distribution.H.

References param_type().

◆ theta_par()

template<typename RealType = double>
RealType bi_kappa_distribution< RealType >::param_type::theta_par ( ) const
inline

Parallel thermal speed.

Definition at line 385 of file bi_kappa_distribution.H.

Referenced by param_type().

◆ theta_perp()

template<typename RealType = double>
RealType bi_kappa_distribution< RealType >::param_type::theta_perp ( ) const
inline

Perpendicular thermal speed.

Definition at line 384 of file bi_kappa_distribution.H.

Referenced by param_type().

◆ ub()

template<typename RealType = double>
point_type bi_kappa_distribution< RealType >::param_type::ub ( ) const
inline

Field direction, as given.

Definition at line 386 of file bi_kappa_distribution.H.

Referenced by param_type().


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