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

#include <histogram.h>

Inheritance diagram for LinearHistogram2D:
Collaboration diagram for LinearHistogram2D:

Public Member Functions

 LinearHistogram2D (size_t n[2], Vec2d _low, Vec2d _high)
 LinearHistogram2D (size_t nx, size_t ny, Vec2d _low, Vec2d _high)
virtual void addValue (Vec2d value, double weight=1.)
void addValueLinearInterpolate (Vec2d value, double weight=1.)
void operator+= (LinearHistogram2D &other)
void operator-= (LinearHistogram2D &other)
void writeBovAscii (const char *filename, int index, const char *datafilename)
Public Member Functions inherited from Histogram2D
 Histogram2D (size_t n[2])
 ~Histogram2D ()
void mpi_reduce ()
void save (const char *filename) const
void load (const char *filename)
double operator() (int x, int y)

Private Attributes

Vec2d low
Vec2d high

Additional Inherited Members

Protected Attributes inherited from Histogram2D
size_t num_bins [2]
double * bins

Detailed Description

Definition at line 177 of file histogram.h.

Constructor & Destructor Documentation

◆ LinearHistogram2D() [1/2]

LinearHistogram2D::LinearHistogram2D ( size_t n[2],
Vec2d _low,
Vec2d _high )
inline

Definition at line 181 of file histogram.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ LinearHistogram2D() [2/2]

LinearHistogram2D::LinearHistogram2D ( size_t nx,
size_t ny,
Vec2d _low,
Vec2d _high )
inline

Definition at line 184 of file histogram.h.

Here is the call graph for this function:

Member Function Documentation

◆ addValue()

virtual void LinearHistogram2D::addValue ( Vec2d value,
double weight = 1. )
inlinevirtual

Implements Histogram2D.

Definition at line 188 of file histogram.h.

◆ addValueLinearInterpolate()

void LinearHistogram2D::addValueLinearInterpolate ( Vec2d value,
double weight = 1. )
inline

Definition at line 206 of file histogram.h.

Here is the call graph for this function:

◆ operator+=()

void LinearHistogram2D::operator+= ( LinearHistogram2D & other)

Definition at line 288 of file histogram.cpp.

Here is the call graph for this function:

◆ operator-=()

void LinearHistogram2D::operator-= ( LinearHistogram2D & other)

Definition at line 305 of file histogram.cpp.

Here is the call graph for this function:

◆ writeBovAscii()

void LinearHistogram2D::writeBovAscii ( const char * filename,
int index,
const char * datafilename )

Definition at line 200 of file histogram.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ high

Vec2d LinearHistogram2D::high
private

Definition at line 259 of file histogram.h.

◆ low

Vec2d LinearHistogram2D::low
private

Definition at line 259 of file histogram.h.


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