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

#include <datareductionoperator.h>

Inheritance diagram for DRO::VariableBVol:
Collaboration diagram for DRO::VariableBVol:

Public Member Functions

 VariableBVol ()
virtual ~VariableBVol ()
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 B [3]
Protected Attributes inherited from DRO::DataReductionOperator
std::string unit
std::string unitLaTeX
std::string variableLaTeX
std::string unitConversion

Detailed Description

Definition at line 309 of file datareductionoperator.h.

Constructor & Destructor Documentation

◆ VariableBVol()

DRO::VariableBVol::VariableBVol ( )

Definition at line 406 of file datareductionoperator.cpp.

Here is the call graph for this function:

◆ ~VariableBVol()

DRO::VariableBVol::~VariableBVol ( )
virtual

Definition at line 407 of file datareductionoperator.cpp.

Member Function Documentation

◆ getDataVectorInfo()

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

Implements DRO::DataReductionOperator.

Definition at line 409 of file datareductionoperator.cpp.

◆ getName()

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

Implements DRO::DataReductionOperator.

Definition at line 416 of file datareductionoperator.cpp.

Here is the caller graph for this function:

◆ reduceData()

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

◆ setSpatialCell()

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

Implements DRO::DataReductionOperator.

Definition at line 424 of file datareductionoperator.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ B

Real DRO::VariableBVol::B[3]
protected

Definition at line 320 of file datareductionoperator.h.


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