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

#include <datareductionoperator.h>

Inheritance diagram for DRO::VariableMuSpace:
Collaboration diagram for DRO::VariableMuSpace:

Public Member Functions

 VariableMuSpace (cuint popID)
 V-space flatten into 1D mu distribution.
virtual ~VariableMuSpace ()
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)
virtual bool writeParameters (vlsv::Writer &vlsvWriter)
Public Member Functions inherited from DRO::DataReductionOperatorHasParameters
 DataReductionOperatorHasParameters ()
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

uint popID
std::string popName
int nBins
Protected Attributes inherited from DRO::DataReductionOperator
std::string unit
std::string unitLaTeX
std::string variableLaTeX
std::string unitConversion

Detailed Description

Definition at line 599 of file datareductionoperator.h.

Constructor & Destructor Documentation

◆ VariableMuSpace()

DRO::VariableMuSpace::VariableMuSpace ( cuint popID)

V-space flatten into 1D mu distribution.

Definition at line 1506 of file datareductionoperator.cpp.

Here is the call graph for this function:

◆ ~VariableMuSpace()

DRO::VariableMuSpace::~VariableMuSpace ( )
virtual

Definition at line 1510 of file datareductionoperator.cpp.

Member Function Documentation

◆ getDataVectorInfo()

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

Implements DRO::DataReductionOperator.

Definition at line 1514 of file datareductionoperator.cpp.

◆ getName()

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

Implements DRO::DataReductionOperator.

Definition at line 1512 of file datareductionoperator.cpp.

◆ reduceData()

bool DRO::VariableMuSpace::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 1521 of file datareductionoperator.cpp.

Here is the call graph for this function:

◆ setSpatialCell()

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

Implements DRO::DataReductionOperator.

Definition at line 1578 of file datareductionoperator.cpp.

◆ writeParameters()

bool DRO::VariableMuSpace::writeParameters ( vlsv::Writer & vlsvWriter)
virtual

Member Data Documentation

◆ nBins

int DRO::VariableMuSpace::nBins
protected

Definition at line 613 of file datareductionoperator.h.

◆ popID

uint DRO::VariableMuSpace::popID
protected

Definition at line 611 of file datareductionoperator.h.

◆ popName

std::string DRO::VariableMuSpace::popName
protected

Definition at line 612 of file datareductionoperator.h.


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