LORENE

3-indices array to be used with the representation of functions with Cartesian coordinates. More...

#include <tabspec.h>

Public Member Functions

 TabSpec (int dim1, int dim2=1, int dim3=1)
 
 TabSpec (const string &)
 
 TabSpec (const TabSpec &)
 
void operator= (const TabSpec &)
 
void operator= (double)
 
int get_sizex () const
 
int get_sizey () const
 
int get_sizez () const
 
int get_nelt () const
 
int get_dim () const
 
double operator() (int i, int j=0, int k=0) const
 
double & set (int i, int j=0, int k=0)
 
void write_file (const string &) const
 

Protected Member Functions

bool check_sizes (const TabSpec &) const
 
void resize (int, int=1, int=1)
 
virtual void display (ostream &) const
 

Protected Attributes

int sizex
 
int sizey
 
int sizez
 
double * tableau
 

Friends

class FuncSpec
 
ostream & operator<< (ostream &, const TabSpec &)
 
TabSpec apply (const TabSpec &t, double(*p_fonc)(double))
 
TabSpec apply (const TabSpec &t1, const TabSpec &t2, double(*p_fonc)(double, double))
 
TabSpec apply (const TabSpec &t, double r, double(*p_fonc)(double, double))
 
TabSpec apply (double r, const TabSpec &t, double(*p_fonc)(double, double))
 
double max (const TabSpec &t)
 
TabSpec operator- (const TabSpec &)
 
fftw_plan prepare_fft (int, TabSpec *&)
 
fftw_plan back_fft (int, TabSpec *&)
 

Detailed Description

3-indices array to be used with the representation of functions with Cartesian coordinates.

()

Definition at line 41 of file tabspec.h.


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