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

#include <histogram.h>

Inheritance diagram for LinearHistogram3D:
Collaboration diagram for LinearHistogram3D:

Public Member Functions

 LinearHistogram3D (size_t n[3], Vec3d _low, Vec3d _high)
virtual void addValue (Vec3d value)
Vec3d coords_for_cell (Vec3d cell)
void operator+= (LinearHistogram3D &other)
void operator-= (LinearHistogram3D &other)
void writeBovAscii (const char *filename, int index, const char *datafilename)
void readBov (const char *filename)
Public Member Functions inherited from Histogram3D
 Histogram3D (size_t n[3])
 ~Histogram3D ()
void mpi_reduce ()
void save (const char *filename) const
void load (const char *filename)
double operator() (int x, int y, int z)

Private Attributes

Vec3d low
Vec3d high

Additional Inherited Members

Protected Attributes inherited from Histogram3D
size_t num_bins [3]
float * bins

Detailed Description

Definition at line 425 of file histogram.h.

Constructor & Destructor Documentation

◆ LinearHistogram3D()

LinearHistogram3D::LinearHistogram3D ( size_t n[3],
Vec3d _low,
Vec3d _high )
inline

Definition at line 428 of file histogram.h.

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

Member Function Documentation

◆ addValue()

virtual void LinearHistogram3D::addValue ( Vec3d value)
inlinevirtual

Implements Histogram3D.

Definition at line 432 of file histogram.h.

◆ coords_for_cell()

Vec3d LinearHistogram3D::coords_for_cell ( Vec3d cell)
inline

Definition at line 451 of file histogram.h.

◆ operator+=()

void LinearHistogram3D::operator+= ( LinearHistogram3D & other)
Here is the call graph for this function:

◆ operator-=()

void LinearHistogram3D::operator-= ( LinearHistogram3D & other)
Here is the call graph for this function:

◆ readBov()

void LinearHistogram3D::readBov ( const char * filename)

Definition at line 238 of file histogram.cpp.

Here is the call graph for this function:

◆ writeBovAscii()

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

Definition at line 219 of file histogram.cpp.

Here is the call graph for this function:

Member Data Documentation

◆ high

Vec3d LinearHistogram3D::high
private

Definition at line 466 of file histogram.h.

◆ low

Vec3d LinearHistogram3D::low
private

Definition at line 466 of file histogram.h.


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