Gyoto
Public Member Functions | Private Attributes | List of all members
Gyoto::GridData2D Class Reference

Class for reading data stored in a 2D grid. More...

#include <GyotoGridData2D.h>

Inheritance diagram for Gyoto::GridData2D:
Gyoto::Astrobj::FlaredDiskSynchrotron

Public Member Functions

 GridData2D ()
 Constructor.
 
 GridData2D (const GridData2D &)
 Copy constructor.
 
virtual GridData2Dclone () const
 
virtual ~GridData2D ()
 Destructor.
 
void rmin (double rmn)
 
double rmin () const
 
void rmax (double rmx)
 
double rmax () const
 
void nr (size_t nn)
 
size_t nr () const
 
void dr (double dd)
 
double dr () const
 
void phimin (double phimn)
 
double phimin () const
 
void phimax (double phimx)
 
double phimax () const
 
void dphi (double dd)
 
double dphi () const
 
void tmin (double tmn)
 
double tmin () const
 
void tmax (double tmx)
 
double tmax () const
 
void nt (size_t nn)
 
size_t nt () const
 
void nphi (size_t nn)
 
size_t nphi () const
 
void getIndices (size_t i[3], double const tt, double const phi, double const rr) const
 
double interpolate (double tt, double phi, double rr, double *const array) const
 

Private Attributes

double phimin_
 Minimum phi in grid.
 
double phimax_
 Maximum phi in grid.
 
double dphi_
 δφ between two grid columns
 
size_t nphi_
 Grid size in the φ direction.
 
double dr_
 Radius step.
 
size_t nr_
 Grid size in the r direction.
 
double rmin_
 Minimum r in grid.
 
double rmax_
 Maximum r in grid.
 
double dt_
 Time step.
 
size_t nt_
 Grid size in the t direction.
 
double tmin_
 Minimum t in grid.
 
double tmax_
 Maximum t in grid.
 

Detailed Description

Class for reading data stored in a 2D grid.

Member Function Documentation

◆ clone()

virtual GridData2D * Gyoto::GridData2D::clone ( ) const
virtual

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