195 #include "type_parite.h" 339 explicit Base_val(
int nb_of_domains) ;
393 assert( (l>=0) && (l<
nzone) ) ;
404 assert( (l>=0) && (l<
nzone) ) ;
415 assert( (l>=0) && (l<
nzone) ) ;
426 assert( (l>=0) && (l<
nzone) ) ;
440 void name_r(
int l,
int k,
int j,
int i,
string& basename)
const ;
450 void name_theta(
int l,
int k,
int j,
string& basename)
const ;
458 void name_phi(
int l,
int k,
string& basename)
const ;
559 int&,
int&,
int&)
const ;
573 void sauve(FILE *)
const ;
578 ostream& operator<<(ostream& ,
const Base_val& ) ;
596 Base_val
operator*(
const Base_val&,
const Base_val&) ;
void operator=(const Base_val &)
Assignment.
void mult_cost()
The basis is transformed as with a multiplication.
int give_lmax(const Mg3d &mgrid, int lz) const
Returns the highest multipole for a given grid.
void sx()
The basis is transformed as with a multiplication.
void set_base_r(int l, int base_r)
Sets the expansion basis for r ( ) functions in a given domain.
void give_quant_numbers(int, int, int, int &, int &, int &) const
Computes the various quantum numbers and 1d radial base.
int get_base_t(int l) const
Returns the expansion basis for functions in the domain of index l (e.g.
Base_val operator*(const Base_val &, const Base_val &)
This operator is used when calling multiplication or division of Valeur .
#define MSQ_P
Extraction de l'info sur Phi.
friend ostream & operator<<(ostream &, const Base_val &)
Display.
void dsdx()
The basis is transformed as with a operation.
friend Base_val operator*(const Base_val &, const Base_val &)
This operator is used when calling multiplication or division of Valeur .
void ylm()
The basis is transformed as with a transformation to basis.
void name_theta(int l, int k, int j, string &basename) const
Name of the basis function in .
void set_base_t(int base_t)
Sets the expansion basis for functions in all domains.
int nzone
Number of domains (zones)
int get_base_r(int l) const
Returns the expansion basis for r ( ) functions in the domain of index l (e.g.
#define MSQ_T
Extraction de l'info sur Theta.
void sauve(FILE *) const
Save in a file.
void set_base_p(int base_p)
Sets the expansion basis for functions in all domains.
int get_nzone() const
Returns the number of domains.
int * b
Array (size: nzone ) of the spectral basis in each domain.
#define MSQ_R
Extraction de l'info sur R.
int get_base_p(int l) const
Returns the expansion basis for functions in the domain of index l (e.g.
bool operator==(const Base_val &) const
Comparison operator.
void name_r(int l, int k, int j, int i, string &basename) const
Name of the basis function in r ( )
void name_phi(int l, int k, string &basename) const
Name of the basis function in .
void ssint()
The basis is transformed as with a multiplication.
const Tbl & theta_functions(int l, int nt) const
Values of the theta basis functions at the theta collocation points.
Base_val(int nb_of_domains)
Standard constructor.
void dsdt()
The basis is transformed as with a operation.
Bases of the spectral expansions.
int get_b(int l) const
Returns the code for the expansion basis in domain no. l.
void mult_x()
The basis is transformed as with a multiplication by .
void set_base_nondef()
Sets the spectral bases to NONDEF.
const Tbl & phi_functions(int l, int np) const
Values of the phi basis functions at the phi collocation points.
void mult_sint()
The basis is transformed as with a multiplication.