50 #include "type_parite.h" 80 Diff(
int base_r,
int nr) ;
118 virtual ostream&
operator>>(ostream&)
const = 0 ;
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
virtual const Matrice & get_matrice() const
Returns the matrix associated with the operator.
virtual ostream & operator>>(ostream &) const =0
Operator >> (virtual function called by the operator <<).
int get_npoints() const
Returns the number of coefficients (size of the matrix)
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
virtual ~Diff_dsdx()
Destructor.
virtual const Matrice & get_matrice() const
Returns the matrix associated with the operator.
Class for the elementary differential operator (see the base class Diff ).
Diff(int base_r, int nr)
Standard constructor.
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
Base (abstract) class for 1D spectral differential operators in one domain.
void initialize()
Initializes arrays.
virtual const Matrice & get_matrice() const
Returns the matrix associated with the operator.
static const int max_points
Maximal number of matrices stored per base.
virtual const Matrice & get_matrice() const
Returns the matrix associated with the operator.
void initialize()
Initializes arrays.
Class for the elementary differential operator multiplication by (see the base class Diff )...
Class for the elementary differential operator (see the base class Diff ).
Diff_x2dsdx(int base_r, int nr)
Standard constructor.
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
void operator=(const Diff_dsdx2 &)
Assignment to another Diff_dsdx2.
virtual ~Diff_id()
Destructor.
void initialize()
Initializes arrays.
Class for the elementary differential operator (see the base class Diff ).
void operator=(const Diff_x2dsdx &)
Assignment to another Diff_x2dsdx.
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
virtual const Matrice & get_matrice() const
Returns the matrix associated with the operator.
void operator=(const Diff_mx2 &)
Assignment to another Diff_mx2.
void initialize()
Initializes arrays.
void operator=(const Diff_dsdx &)
Assignment to another Diff_dsdx.
Diff_mx2(int base_r, int nr)
Standard constructor.
Diff_sx(int base_r, int nr)
Standard constructor.
virtual ~Diff_xdsdx2()
Destructor.
void operator=(const Diff_x3dsdx &)
Assignment to another Diff_x3dsdx.
Diff_xdsdx2(int base_r, int nr)
Standard constructor.
Class for the elementary differential operator Identity (see the base class Diff ).
int npoints
Number of coefficients.
virtual ~Diff_sxdsdx()
Destructor.
virtual const Matrice & get_matrice() const
Returns the matrix associated with the operator.
Class for the elementary differential operator (see the base class Diff ).
int get_base() const
Returns the base on which the operator is defined.
Class for the elementary differential operator division by (see the base class Diff )...
void operator=(const Diff_xdsdx &)
Assignment to another Diff_xdsdx.
void initialize()
Initializes arrays.
int base
Base in radial direction.
virtual ~Diff_dsdx2()
Destructor.
Class for the elementary differential operator multiplication by (see the base class Diff )...
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
virtual ~Diff_sx()
Destructor.
virtual ~Diff_sx2()
Destructor.
virtual ~Diff_x2dsdx2()
Destructor.
virtual ~Diff_x4dsdx2()
Destructor.
void initialize()
Initializes arrays.
virtual const Matrice & get_matrice() const
Returns the matrix associated with the operator.
virtual const Matrice & get_matrice() const
Returns the matrix associated with the operator.
virtual const Matrice & get_matrice() const
Returns the matrix associated with the operator.
Class for the elementary differential operator (see the base class Diff ).
virtual ~Diff_x2dsdx()
Destructor.
void initialize()
Initializes arrays.
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
void operator=(const Diff_sxdsdx &)
Assignment to another Diff_sxdsdx.
void operator=(const Diff_xdsdx2 &)
Assignment to another Diff_xdsdx2.
Diff_sxdsdx(int base_r, int nr)
Standard constructor.
virtual ~Diff_xdsdx()
Destructor.
virtual ~Diff_x3dsdx()
Destructor.
void operator=(const Diff &)
Assignment to another Diff.
virtual const Matrice & get_matrice() const
Returns the matrix associated with the operator.
friend ostream & operator<<(ostream &, const Diff &)
Display.
Class for the elementary differential operator (see the base class Diff ).
void initialize()
Initializes arrays.
virtual const Matrice & get_matrice() const
Returns the matrix associated with the operator.
virtual ~Diff_mx()
Destructor.
virtual ~Diff_x3dsdx2()
Destructor.
void operator=(const Diff_sx2 &)
Assignment to another Diff_sx2.
void initialize()
Initializes arrays.
Diff_x4dsdx2(int base_r, int nr)
Standard constructor.
Diff_sx2(int base_r, int nr)
Standard constructor.
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
void operator=(const Diff_x2dsdx2 &)
Assignment to another Diff_x2dsdx2.
virtual const Matrice & get_matrice() const =0
Returns the matrix associated with the operator.
void initialize()
Initializes arrays.
Diff_dsdx2(int base_r, int nr)
Standard constructor.
void initialize()
Initializes arrays.
virtual ~Diff()
Destructor.
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
void initialize()
Initializes arrays.
void operator=(const Diff_x3dsdx2 &)
Assignment to another Diff_x3dsdx2.
Diff_x3dsdx(int base_r, int nr)
Standard constructor.
Class for the elementary differential operator (see the base class Diff ).
Diff_x2dsdx2(int base_r, int nr)
Standard constructor.
virtual const Matrice & get_matrice() const
Returns the matrix associated with the operator.
void operator=(const Diff_sx &)
Assignment to another Diff_sx.
Class for the elementary differential operator (see the base class Diff ).
Diff_id(int base_r, int nr)
Standard constructor.
void initialize()
Initializes arrays.
Class for the elementary differential operator (see the base class Diff ).
virtual const Matrice & get_matrice() const
Returns the matrix associated with the operator.
Class for the elementary differential operator (see the base class Diff ).
virtual const Matrice & get_matrice() const
Returns the matrix associated with the operator.
Diff_x3dsdx2(int base_r, int nr)
Standard constructor.
Class for the elementary differential operator division by (see the base class Diff )...
void operator=(const Diff_mx &)
Assignment to another Diff_mx.
Diff_dsdx(int base_r, int nr)
Standard constructor, the base is that of the functions the operator is acting on (starting base)...
void initialize()
Initializes arrays.
void initialize()
Initializes arrays.
virtual ~Diff_mx2()
Destructor.
void operator=(const Diff_id &)
Assignment to another Diff_id.
Diff_xdsdx(int base_r, int nr)
Standard constructor.
virtual const Matrice & get_matrice() const
Returns the matrix associated with the operator.
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
void operator=(const Diff_x4dsdx2 &)
Assignment to another Diff_x4dsdx2.
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
Diff_mx(int base_r, int nr)
Standard constructor.
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).