LORENE
|
Base (abstract) class for 1D spectral differential operators in one domain. More...
#include <diff.h>
Public Member Functions | |
int | get_base () const |
Returns the base on which the operator is defined. | |
int | get_npoints () const |
Returns the number of coefficients (size of the matrix) | |
operator Matrice () const | |
Conversion to a matrix. | |
virtual const Matrice & | get_matrice () const =0 |
Returns the matrix associated with the operator. | |
Static Public Attributes | |
static const int | max_points = 50 |
Maximal number of matrices stored per base. | |
Protected Member Functions | |
Diff (int base_r, int nr) | |
Standard constructor. | |
Diff (const Diff &) | |
Copy constructor. | |
virtual | ~Diff () |
Destructor. | |
void | operator= (const Diff &) |
Assignment to another Diff. | |
virtual ostream & | operator>> (ostream &) const =0 |
Operator >> (virtual function called by the operator <<). | |
Protected Attributes | |
int | base |
Base in radial direction. | |
int | npoints |
Number of coefficients. | |
Friends | |
ostream & | operator<< (ostream &, const Diff &) |
Display. | |
Base (abstract) class for 1D spectral differential operators in one domain.
()
This class is intended as a base class for several classes of elementary differential operators in term of
|
inline |
Returns the matrix associated with the operator.
Implemented in Lorene::Diff_dsdx, Lorene::Diff_dsdx2, Lorene::Diff_id, Lorene::Diff_mx, Lorene::Diff_mx2, Lorene::Diff_sx, Lorene::Diff_sx2, Lorene::Diff_xdsdx, Lorene::Diff_sxdsdx, Lorene::Diff_x2dsdx2, Lorene::Diff_xdsdx2, Lorene::Diff_x2dsdx, Lorene::Diff_x3dsdx, Lorene::Diff_x3dsdx2, and Lorene::Diff_x4dsdx2.
|
inline |
|
inline |
Operator >> (virtual function called by the operator <<).
Implemented in Lorene::Diff_dsdx, Lorene::Diff_dsdx2, Lorene::Diff_id, Lorene::Diff_mx, Lorene::Diff_mx2, Lorene::Diff_sx, Lorene::Diff_sx2, Lorene::Diff_xdsdx, Lorene::Diff_sxdsdx, Lorene::Diff_x2dsdx2, Lorene::Diff_xdsdx2, Lorene::Diff_x2dsdx, Lorene::Diff_x3dsdx, Lorene::Diff_x3dsdx2, and Lorene::Diff_x4dsdx2.