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

#include <histogram.h>

Inheritance diagram for Histogram3D:

Public Member Functions

 Histogram3D (size_t n[3])
 ~Histogram3D ()
void mpi_reduce ()
void save (const char *filename) const
void load (const char *filename)
virtual void addValue (Vec3d value)=0
double operator() (int x, int y, int z)

Protected Attributes

size_t num_bins [3]
float * bins

Detailed Description

Definition at line 381 of file histogram.h.

Constructor & Destructor Documentation

◆ Histogram3D()

Histogram3D::Histogram3D ( size_t n[3])
inline

Definition at line 384 of file histogram.h.

Here is the caller graph for this function:

◆ ~Histogram3D()

Histogram3D::~Histogram3D ( )
inline

Definition at line 392 of file histogram.h.

Member Function Documentation

◆ addValue()

virtual void Histogram3D::addValue ( Vec3d value)
pure virtual

Implemented in LinearHistogram3D.

◆ load()

void Histogram3D::load ( const char * filename)

Definition at line 176 of file histogram.cpp.

Here is the caller graph for this function:

◆ mpi_reduce()

void Histogram3D::mpi_reduce ( )
inline

Definition at line 397 of file histogram.h.

◆ operator()()

double Histogram3D::operator() ( int x,
int y,
int z )
inline

Definition at line 416 of file histogram.h.

◆ save()

void Histogram3D::save ( const char * filename) const

Definition at line 153 of file histogram.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ bins

float* Histogram3D::bins
protected

Definition at line 422 of file histogram.h.

◆ num_bins

size_t Histogram3D::num_bins[3]
protected

Definition at line 421 of file histogram.h.


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