Class for the elementary differential operator (see the base class Diff
).
More...
#include <diff.h>
Public Member Functions | |
Diff_sxdsdx (int base_r, int nr) | |
Standard constructor. | |
Diff_sxdsdx (const Diff_sxdsdx &) | |
Copy constructor. | |
virtual | ~Diff_sxdsdx () |
Destructor. | |
void | operator= (const Diff_sxdsdx &) |
Assignment to another Diff_sxdsdx. | |
virtual const Matrice & | get_matrice () const |
Returns the matrix associated with the operator. | |
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. | |
Static Public Attributes | |
static const int | max_points = 50 |
Maximal number of matrices stored per base. | |
Protected Member Functions | |
virtual ostream & | operator>> (ostream &) const |
Operator >> (virtual function called by the operator <<). | |
Protected Attributes | |
int | base |
Base in radial direction. | |
int | npoints |
Number of coefficients. | |
Private Member Functions | |
void | initialize () |
Initializes arrays. | |
Friends | |
ostream & | operator<< (ostream &, const Diff &) |
Display. |
Class for the elementary differential operator (see the base class Diff
).
In the compactified external domain, it reads . Not defined in the shells. ()
Definition at line 450 of file diff.h.
Lorene::Diff_sxdsdx::Diff_sxdsdx | ( | int | base_r, | |
int | nr | |||
) |
Standard constructor.
Definition at line 70 of file diff_sxdsdx.C.
References Lorene::Diff::base, initialize(), and R_CHEB.
Lorene::Diff_sxdsdx::Diff_sxdsdx | ( | const Diff_sxdsdx & | diff_in | ) |
Copy constructor.
Definition at line 75 of file diff_sxdsdx.C.
References Lorene::Diff::base, and R_CHEB.
Lorene::Diff_sxdsdx::~Diff_sxdsdx | ( | ) | [virtual] |
Destructor.
Definition at line 80 of file diff_sxdsdx.C.
int Lorene::Diff::get_base | ( | ) | const [inline, inherited] |
Returns the base on which the operator is defined.
Definition at line 96 of file diff.h.
References Lorene::Diff::base.
const Matrice & Lorene::Diff_sxdsdx::get_matrice | ( | ) | const [virtual] |
Returns the matrix associated with the operator.
Implements Lorene::Diff.
Definition at line 100 of file diff_sxdsdx.C.
References Lorene::Diff::base, Lorene::Diff::max_points, Lorene::Diff::npoints, R_JACO02, Lorene::Matrice::set(), Lorene::Matrice::set_etat_qcq(), and TRA_R.
int Lorene::Diff::get_npoints | ( | ) | const [inline, inherited] |
Returns the number of coefficients (size of the matrix).
Definition at line 99 of file diff.h.
References Lorene::Diff::npoints.
void Lorene::Diff_sxdsdx::initialize | ( | ) | [private] |
Initializes arrays.
Definition at line 82 of file diff_sxdsdx.C.
References MAX_BASE, and Lorene::Diff::max_points.
Lorene::Diff::operator Matrice | ( | ) | const [inline, inherited] |
Conversion to a matrix.
Definition at line 102 of file diff.h.
References Lorene::Diff::get_matrice().
void Lorene::Diff_sxdsdx::operator= | ( | const Diff_sxdsdx & | diff_in | ) |
Assignment to another Diff_sxdsdx.
Reimplemented from Lorene::Diff.
Definition at line 94 of file diff_sxdsdx.C.
ostream & Lorene::Diff_sxdsdx::operator>> | ( | ostream & | ost | ) | const [protected, virtual] |
Operator >> (virtual function called by the operator <<).
Implements Lorene::Diff.
Definition at line 145 of file diff_sxdsdx.C.
ostream& operator<< | ( | ostream & | , | |
const Diff & | ||||
) | [friend, inherited] |
Display.
int Lorene::Diff::base [protected, inherited] |
const int Lorene::Diff::max_points = 50 [static, inherited] |
int Lorene::Diff::npoints [protected, inherited] |