62 void sxp12_1d(
int,
double**,
int) ;
105 for (indice =0; indice<
max_points; indice++) {
106 if (nr_done[indice] ==
npoints) {
110 if (nr_done[indice] == -1)
115 cerr <<
"Diff_sx2::get_matrice() : no space left!!" <<
'\n' 116 <<
"The value of Diff.max_points must be increased..." << endl ;
124 double* vect =
new double[
npoints] ;
125 for (
int i=0; i<
npoints; i++) {
132 resu.
set(j,i) = vect[j] ;
137 resu.
set(j,i) = vect[j] ;
148 ost <<
" Division by x^2 " << endl ;
Base (abstract) class for 1D spectral differential operators in one domain.
static const int max_points
Maximal number of matrices stored per base.
#define R_JACO02
base de Jacobi(0,2) ordinaire (finjac)
int npoints
Number of coefficients.
#define TRA_R
Translation en R, used for a bitwise shift (in hex)
Class for the elementary differential operator division by (see the base class Diff )...
int base
Base in radial direction.
virtual ~Diff_sx2()
Destructor.
virtual const Matrice & get_matrice() const
Returns the matrix associated with the operator.
void initialize()
Initializes arrays.
void operator=(const Diff &)
Assignment to another Diff.
void operator=(const Diff_sx2 &)
Assignment to another Diff_sx2.
double & set(int j, int i)
Read/write of a particuliar element.
Diff_sx2(int base_r, int nr)
Standard constructor.
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
void set_etat_qcq()
Sets the logical state to ETATQCQ (ordinary state).
#define MAX_BASE
Nombre max. de bases differentes.
#define R_CHEB
base de Chebychev ordinaire (fin)