#include <datareductionoperator.h>
|
| | Blocks (cuint popID) |
| virtual | ~Blocks () |
| 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 | reduceDiagnostic (const SpatialCell *cell, Real *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) |
Definition at line 292 of file datareductionoperator.h.
◆ Blocks()
| DRO::Blocks::Blocks |
( |
cuint | popID | ) |
|
◆ ~Blocks()
◆ getDataVectorInfo()
| bool DRO::Blocks::getDataVectorInfo |
( |
std::string & | dataType, |
|
|
unsigned int & | dataSize, |
|
|
unsigned int & | vectorSize ) const |
|
virtual |
◆ getName()
| std::string DRO::Blocks::getName |
( |
| ) |
const |
|
virtual |
◆ reduceData()
| bool DRO::Blocks::reduceData |
( |
const SpatialCell * | cell, |
|
|
char * | buffer ) |
|
virtual |
◆ reduceDiagnostic()
| bool DRO::Blocks::reduceDiagnostic |
( |
const SpatialCell * | cell, |
|
|
Real * | result ) |
|
virtual |
Reduce the data and write the data vector to the given variable. If the vector length is larger than one, memory gets corrupted. Note that this function is only used for writing into diagnostic files.
- Parameters
-
| cell | the SpatialCell to reduce data out of |
| buffer | Buffer in which the reduced data is written. |
- Returns
- If true, DataReductionOperator reduced data successfully.
Reimplemented from DRO::DataReductionOperator.
Definition at line 594 of file datareductionoperator.cpp.
◆ setSpatialCell()
| bool DRO::Blocks::setSpatialCell |
( |
const SpatialCell * | cell | ) |
|
|
virtual |
◆ nBlocks
| uint DRO::Blocks::nBlocks |
|
protected |
◆ popID
◆ popName
| std::string DRO::Blocks::popName |
|
protected |
The documentation for this class was generated from the following files: