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

#include <datareductionoperator.h>

Inheritance diagram for DRO::VariablePressureSolver:
Collaboration diagram for DRO::VariablePressureSolver:

Public Member Functions

 VariablePressureSolver ()
virtual ~VariablePressureSolver ()
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 Pressure
Protected Attributes inherited from DRO::DataReductionOperator
std::string unit
std::string unitLaTeX
std::string variableLaTeX
std::string unitConversion

Detailed Description

Definition at line 324 of file datareductionoperator.h.

Constructor & Destructor Documentation

◆ VariablePressureSolver()

DRO::VariablePressureSolver::VariablePressureSolver ( )

Definition at line 605 of file datareductionoperator.cpp.

Here is the call graph for this function:

◆ ~VariablePressureSolver()

DRO::VariablePressureSolver::~VariablePressureSolver ( )
virtual

Definition at line 606 of file datareductionoperator.cpp.

Member Function Documentation

◆ getDataVectorInfo()

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

Implements DRO::DataReductionOperator.

Definition at line 610 of file datareductionoperator.cpp.

◆ getName()

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

Implements DRO::DataReductionOperator.

Definition at line 608 of file datareductionoperator.cpp.

◆ reduceData()

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

◆ setSpatialCell()

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

Implements DRO::DataReductionOperator.

Definition at line 623 of file datareductionoperator.cpp.

Member Data Documentation

◆ Pressure

Real DRO::VariablePressureSolver::Pressure
protected

Definition at line 335 of file datareductionoperator.h.


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