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

#include <datareductionoperator.h>

Inheritance diagram for DRO::VariableVNonthermal:
Collaboration diagram for DRO::VariableVNonthermal:

Public Member Functions

 VariableVNonthermal (cuint popID)
virtual ~VariableVNonthermal ()
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)
Public Member Functions inherited from DRO::DataReductionOperator
 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)

Protected Attributes

Real VNonthermal [3]
uint popID
std::string popName
bool doSkip
Protected Attributes inherited from DRO::DataReductionOperator
std::string unit
std::string unitLaTeX
std::string variableLaTeX
std::string unitConversion

Detailed Description

Definition at line 451 of file datareductionoperator.h.

Constructor & Destructor Documentation

◆ VariableVNonthermal()

DRO::VariableVNonthermal::VariableVNonthermal ( cuint popID)

Definition at line 1089 of file datareductionoperator.cpp.

Here is the call graph for this function:

◆ ~VariableVNonthermal()

DRO::VariableVNonthermal::~VariableVNonthermal ( )
virtual

Definition at line 1093 of file datareductionoperator.cpp.

Member Function Documentation

◆ getDataVectorInfo()

bool DRO::VariableVNonthermal::getDataVectorInfo ( std::string & dataType,
unsigned int & dataSize,
unsigned int & vectorSize ) const
virtual

Implements DRO::DataReductionOperator.

Definition at line 1097 of file datareductionoperator.cpp.

◆ getName()

std::string DRO::VariableVNonthermal::getName ( ) const
virtual

Implements DRO::DataReductionOperator.

Definition at line 1095 of file datareductionoperator.cpp.

◆ reduceData()

bool DRO::VariableVNonthermal::reduceData ( const SpatialCell * cell,
char * buffer )
virtual

Reduce the data and write the data vector to the given vlsv output buffer.

Parameters
cellthe SpatialCell to reduce data out of
bufferBuffer in which the reduced data is written.
Returns
If true, DataReductionOperator reduced data successfully.

Reimplemented from DRO::DataReductionOperator.

Definition at line 1104 of file datareductionoperator.cpp.

Here is the call graph for this function:

◆ setSpatialCell()

bool DRO::VariableVNonthermal::setSpatialCell ( const SpatialCell * cell)
virtual

Implements DRO::DataReductionOperator.

Definition at line 1114 of file datareductionoperator.cpp.

Member Data Documentation

◆ doSkip

bool DRO::VariableVNonthermal::doSkip
protected

Definition at line 465 of file datareductionoperator.h.

◆ popID

uint DRO::VariableVNonthermal::popID
protected

Definition at line 463 of file datareductionoperator.h.

◆ popName

std::string DRO::VariableVNonthermal::popName
protected

Definition at line 464 of file datareductionoperator.h.

◆ VNonthermal

Real DRO::VariableVNonthermal::VNonthermal[3]
protected

Definition at line 462 of file datareductionoperator.h.


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