20 #include "headcpp.hpp"
21 #include "polar_periodic.hpp"
22 #include "val_domain.hpp"
23 #include "array_math.hpp"
26 int mult_cos_1d (
int, Array<double>&) ;
27 int mult_sin_1d (
int, Array<double>&) ;
28 int div_sin_1d (
int, Array<double>&) ;
29 int div_x_1d (
int, Array<double>&) ;
30 int mult_x_1d (
int, Array<double>&) ;
31 int div_xm1_1d (
int, Array<double>&) ;
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.
virtual Val_domain dt(const Val_domain &) const
Compute the derivative with respect to of a scalar field.
virtual Val_domain div_1mrsL(const Val_domain &) const
Division by .
virtual Val_domain div_r(const Val_domain &) const
Division by .
virtual Val_domain mult_r(const Val_domain &) const
Multiplication by .
virtual Val_domain mult_cos_time(const Val_domain &) const
Multiplication by .
virtual Val_domain mult_sin_theta(const Val_domain &) const
Multiplication by .
virtual Val_domain dtime(const Val_domain &) const
Computes the time derivative of a field.
double alpha
Relates the numerical radius to the physical one.
double beta
Relates the numerical radius to the physical one.
virtual Val_domain mult_cos_theta(const Val_domain &) const
Multiplication by .
virtual Val_domain div_sin_theta(const Val_domain &) const
Division by .
virtual Val_domain mult_sin_time(const Val_domain &) const
Multiplication by .
virtual Val_domain der_r(const Val_domain &) const
Compute the radial derivative of a scalar field.
Val_domain const & get_radius() const
Returns the generalized radius.
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.
bool check_if_zero() const
Check whether the logical state is zero or not.
Array< double > * cf
Pointer on the Array of the values in the coefficients space.
bool in_coef
Is the field known in the coefficient space ?
void coef() const
Computes the coefficients.
Val_domain der_var(int i) const
Computes the derivative with respect to a numerical coordinate.