#include <datareductionoperator.h>
|
| | VariableNonMaxwellianity (cuint popID) |
| | Non-Maxwellianity Calculates for a population the dimensionless parameter defined by Graham et al. (2021) as epsilon_M = integral[abs(f-g)]dv3 / 2n where f: measured VDF for a population g: a model bi-Maxwellian with the same number density, bulk speed and temperature as the measured VDF n: population number density.
|
| virtual | ~VariableNonMaxwellianity () |
| virtual bool | getDataVectorInfo (std::string &dataType, unsigned int &dataSize, unsigned int &vectorSize) const |
| virtual std::string | getName () const |
| virtual bool | reduceData (const SpatialCell *cell, char *buffer) |
| virtual bool | setSpatialCell (const SpatialCell *cell) |
| | DataReductionOperator () |
| virtual | ~DataReductionOperator () |
| virtual bool | getUnitMetadata (std::string &_unit, std::string &_unitLaTeX, std::string &_variableLaTeX, std::string &_unitConversion) |
| virtual bool | setUnitMetadata (std::string &_unit, std::string &_unitLaTeX, std::string &_variableLaTeX, std::string &_unitConversion) |
| virtual bool | reduceDiagnostic (const SpatialCell *cell, Real *result) |
Definition at line 654 of file datareductionoperator.h.
◆ VariableNonMaxwellianity()
| DRO::VariableNonMaxwellianity::VariableNonMaxwellianity |
( |
cuint | _popID | ) |
|
Non-Maxwellianity Calculates for a population the dimensionless parameter defined by Graham et al. (2021) as epsilon_M = integral[abs(f-g)]dv3 / 2n where f: measured VDF for a population g: a model bi-Maxwellian with the same number density, bulk speed and temperature as the measured VDF n: population number density.
No extra parameters need to be set in cfg file. Note that the definition is different from the original parameter introduced by Greco et al. (2012). The following formulation of epsilon_M is used here to calculate the value with only velocity cells where the VDF is saved:
Assuming regions of velocity space A and B, where f>0 in A, and f=0 in B: epsilon_M = (integral_A[abs(f-g)]dv3 + integral_B[g]dv3) / 2n = (integral_A[abs(f-g)]dv3 + n - integral_A[g]dv3) / 2n = integral_A[abs(f-g) - g]dv3 / 2n + 1/2
Definition at line 1914 of file datareductionoperator.cpp.
◆ ~VariableNonMaxwellianity()
| DRO::VariableNonMaxwellianity::~VariableNonMaxwellianity |
( |
| ) |
|
|
virtual |
◆ getDataVectorInfo()
| bool DRO::VariableNonMaxwellianity::getDataVectorInfo |
( |
std::string & | dataType, |
|
|
unsigned int & | dataSize, |
|
|
unsigned int & | vectorSize ) const |
|
virtual |
◆ getName()
| std::string DRO::VariableNonMaxwellianity::getName |
( |
| ) |
const |
|
virtual |
◆ reduceData()
| bool DRO::VariableNonMaxwellianity::reduceData |
( |
const SpatialCell * | cell, |
|
|
char * | buffer ) |
|
virtual |
◆ setSpatialCell()
| bool DRO::VariableNonMaxwellianity::setSpatialCell |
( |
const SpatialCell * | cell | ) |
|
|
virtual |
◆ b_par
| Real DRO::VariableNonMaxwellianity::b_par[3] |
|
protected |
◆ b_perp1
| Real DRO::VariableNonMaxwellianity::b_perp1[3] |
|
protected |
◆ b_perp2
| Real DRO::VariableNonMaxwellianity::b_perp2[3] |
|
protected |
◆ epsilon
| Real DRO::VariableNonMaxwellianity::epsilon |
|
protected |
◆ popID
| uint DRO::VariableNonMaxwellianity::popID |
|
protected |
◆ popName
| std::string DRO::VariableNonMaxwellianity::popName |
|
protected |
◆ rho
| Real DRO::VariableNonMaxwellianity::rho |
|
protected |
◆ T_par
| Real DRO::VariableNonMaxwellianity::T_par |
|
protected |
◆ T_perp
| Real DRO::VariableNonMaxwellianity::T_perp |
|
protected |
◆ V0
| Real DRO::VariableNonMaxwellianity::V0[3] |
|
protected |
The documentation for this class was generated from the following files: