20 #include "bispheric.hpp"
21 #include "val_domain.hpp"
22 #include "array_math.hpp"
25 int mult_cos_1d (
int, Array<double>&) ;
26 int mult_sin_1d (
int, Array<double>&) ;
27 int div_x_1d (
int, Array<double>&) ;
54 cout <<
"Unknown case in Domain_bispheric_chi_first::base_mult_sin_phi" << endl ;
94 cout <<
"Unknown case in Domain_bispheric_chi_first::base_mult_cos_phi" << endl ;
133 while (index.
inc()) ;
Bases_container bases_1d
Arrays containing the various basis of decomposition.
void allocate(const Dim_array &nbr_coefs)
Allocates the various arrays, for a given number of coefficients.
bool def
true if the Base_spectral is defined and false otherwise.
Array< double > ope_1d(int(*function)(int, Array< double > &), int var, const Array< double > &so, Base_spectral &base) const
One-dimensional operator acting in the coefficient space.
Val_domain * p_chi
Pointer on a Val_domain containing .
virtual Val_domain mult_cos_phi(const Val_domain &) const
Multiplication by .
virtual Val_domain div_chi(const Val_domain &) const
Division by .
virtual Val_domain div_sin_chi(const Val_domain &) const
Division by .
double chi_max
Upper bound for .
virtual Val_domain mult_r(const Val_domain &) const
Multiplication by .
virtual Val_domain mult_sin_phi(const Val_domain &) const
Multiplication by .
Dim_array nbr_coefs
Number of coefficients.
Val_domain const & get_radius() const
Returns the generalized radius.
Dim_array nbr_points
Number of colocation points.
Class that gives the position inside a multi-dimensional Array.
bool inc(int increm, int var=0)
Increments the position of the Index.
Class for storing the basis of decompositions of a field and its values on both the configuration and...
Base_spectral base
Spectral basis of the field.
Val_domain div_chi() const
Division by .
Array< double > * cf
Pointer on the Array of the values in the coefficients space.
void coef_i() const
Computes the values in the configuration space.
double & set(const Index &pos)
Read/write the value of the field in the configuration space.
bool in_coef
Is the field known in the coefficient space ?
void coef() const
Computes the coefficients.
Base_spectral & set_base()
Sets the basis of decomposition.
const Base_spectral & get_base() const
Returns the basis of decomposition.