69 void basename_p_unknown(
int,
string&) ;
70 void basename_p_cossin(
int,
string&) ;
71 void basename_p_cossin_p(
int,
string&) ;
72 void basename_p_cossin_i(
int,
string&) ;
81 static void(*vbasename_p[
MAX_BASE_2])(int,
string&) ;
83 static bool first_call = true ;
92 vbasename_p[i] = basename_p_unknown ;
104 assert( (l>=0) && (l<
nzone) ) ;
108 vbasename_p[base_p](k, name) ;
117 void basename_p_unknown(
int,
string&) {
118 cout <<
"Base_val::name_phi : unknwon basis !" << endl ;
123 void basename_p_cossin(
int k,
string& name) {
144 ostr << m <<
'p' << flush ;
150 void basename_p_cossin_p(
int k,
string& name) {
168 int m = 2 * (k / 2) ;
170 ostr << m <<
'p' << flush ;
175 void basename_p_cossin_i(
int k,
string& name) {
198 int m = 2 * ((k-1) / 2) + 1 ;
199 ostr << m <<
'p' << flush ;
#define MAX_BASE_2
Smaller maximum bases used for phi (and higher dimensions for now)
#define P_COSSIN
dev. standart
#define TRA_P
Translation en Phi, used for a bitwise shift (in hex)
#define MSQ_P
Extraction de l'info sur Phi.
int nzone
Number of domains (zones)
int * b
Array (size: nzone ) of the spectral basis in each domain.
void name_phi(int l, int k, string &basename) const
Name of the basis function in .
#define P_COSSIN_I
dev. sur Phi = 2*phi, freq. impaires
#define P_COSSIN_P
dev. sur Phi = 2*phi, freq. paires