28char diff_C[] =
"$Header: /cvsroot/Lorene/C++/Source/Diff/diff.C,v 1.5 2014/10/13 08:52:50 j_novak Exp $" ;
68 npoints(diff_in.npoints) {
83ostream& operator<<(ostream& ost,
const Diff& ope) {
85 ost <<
"Differential operator : " ;
89 ost <<
"Radial base: " ;
94 ost <<
"Chebyshev polynomials (R_CHEB)" ;
98 ost <<
"Jacobi(0,2) polynomials (R_JACO02)" ;
102 ost <<
"Even Chebyshev polynomials (R_CHEBP)" ;
106 ost <<
"Odd Chebyshev polynomials (R_CHEBI)" ;
110 ost <<
"Chebyshev polynomials / compactified domain (R_CHEBU)" ;
114 ost <<
"unknown!" << endl ;
117 ost <<
" with " << ope.
npoints <<
" coefficients." << endl ;
Base (abstract) class for 1D spectral differential operators in one domain.
int npoints
Number of coefficients.
void operator=(const Diff &)
Assignment to another Diff.
Diff(int base_r, int nr)
Standard constructor.
virtual ~Diff()
Destructor.
int base
Base in radial direction.
#define MAX_BASE
Nombre max. de bases differentes.
#define R_CHEBU
base de Chebychev ordinaire (fin), dev. en 1/r
#define R_JACO02
base de Jacobi(0,2) ordinaire (finjac)
#define R_CHEBI
base de Cheb. impaire (rare) seulement
#define TRA_R
Translation en R, used for a bitwise shift (in hex)
#define R_CHEB
base de Chebychev ordinaire (fin)
#define R_CHEBP
base de Cheb. paire (rare) seulement