65 void sxpun_1d(
int,
double**,
int) ;
107 for (indice =0; indice<
max_points; indice++) {
108 if (nr_done[indice] ==
npoints) {
112 if (nr_done[indice] == -1)
117 cerr <<
"Diff_sx::get_matrice() : no space left!!" <<
'\n' 118 <<
"The value of Diff.max_points must be increased..." << endl ;
126 double* vect =
new double[
npoints] ;
127 for (
int i=0; i<
npoints; i++) {
134 resu.
set(j,i)=vect[j];
139 resu.
set(j,i) = vect[j] ;
149 ost <<
" Division by x " << endl ;
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.
Base (abstract) class for 1D spectral differential operators in one domain.
void initialize()
Initializes arrays.
static const int max_points
Maximal number of matrices stored per base.
#define R_JACO02
base de Jacobi(0,2) ordinaire (finjac)
Diff_sx(int base_r, int nr)
Standard constructor.
int npoints
Number of coefficients.
#define TRA_R
Translation en R, used for a bitwise shift (in hex)
int base
Base in radial direction.
virtual ~Diff_sx()
Destructor.
void operator=(const Diff &)
Assignment to another Diff.
double & set(int j, int i)
Read/write of a particuliar element.
void operator=(const Diff_sx &)
Assignment to another Diff_sx.
void set_etat_qcq()
Sets the logical state to ETATQCQ (ordinary state).
Class for the elementary differential operator division by (see the base class Diff )...
#define MAX_BASE
Nombre max. de bases differentes.
#define R_CHEB
base de Chebychev ordinaire (fin)