| 
    KADATH
    
   | 
 
Class for storing the basis of decompositions of a field and its values on both the configuration and coefficients spaces, in a given Domain.  
 More...
#include <val_domain.hpp>
 Public Member Functions | |
| Val_domain (const Domain *so) | |
Constructor from a Domain.  More... | |
| Val_domain (const Val_domain &so, bool const copy=true) | |
| Copy constructor.  More... | |
| Val_domain (Val_domain &&) noexcept | |
| Move constructor.  More... | |
| Val_domain (const Domain *so, FILE *) | |
| Constructor from a file (generated by save).  More... | |
| ~Val_domain () | |
| Destructor.  More... | |
| void | save (FILE *) const | 
| Saving on a file.  More... | |
| const Domain * | get_domain () const | 
| void | swap (Val_domain &so) noexcept | 
| Swaps the content with the source.  More... | |
| void | operator= (const Val_domain &) | 
Assignement to another Val_domain.  More... | |
| Val_domain & | operator= (Val_domain &&) noexcept | 
| Move assignment operator.  More... | |
| void | operator= (double) | 
Assignement to a double , in the configuration space.  More... | |
| void | annule_hard () | 
| Sets all the arrays to zero (the logical state is NOT set to zero).  More... | |
| void | annule_hard_coef () | 
| Sets all the arrays to zero in the coefficient space (the logical state is NOT set to zero).  More... | |
| const Base_spectral & | get_base () const | 
| Returns the basis of decomposition.  More... | |
| Base_spectral & | set_base () | 
| Sets the basis of decomposition.  More... | |
| Array< double > | get_conf () const | 
| Array< double > | get_coef () const | 
| void | set_zero () | 
Sets the Val_domain to zero (logical state to zero and arrays destroyed).  More... | |
| bool | check_if_zero () const | 
| Check whether the logical state is zero or not.  More... | |
| void | set_in_conf () | 
| Destroys the values in the coefficient space.  More... | |
| void | set_in_coef () | 
| Destroys the values in the configuration space.  More... | |
| void | allocate_conf () | 
| Allocates the values in the configuration space and destroys the values in the coefficients space.  More... | |
| void | allocate_coef () | 
| Allocates the values in the coefficient space and destroys the values in the configuration space.  More... | |
| void | std_base () | 
| Sets the standard basis of decomposition.  More... | |
| void | std_anti_base () | 
| Sets the standard, anti-symetric, basis of decomposition.  More... | |
| void | std_base (int m) | 
| Sets the standard basis of decomposition.  More... | |
| void | std_anti_base (int m) | 
| Sets the standard, anti-symetric, basis of decomposition.  More... | |
| void | std_base_r_spher () | 
| Sets the basis for the radial component of a vector in orthonormal spherical coordinates.  More... | |
| void | std_base_t_spher () | 
Sets the basis for the   component of a vector in orthonormal spherical coordinates.  More... | |
| void | std_base_p_spher () | 
Sets the basis for the   component of a vector in orthonormal spherical coordinates.  More... | |
| void | std_base_x_cart () | 
| Sets the basis for the X-component of a vector in Cartesian coordinates.  More... | |
| void | std_base_y_cart () | 
| Sets the basis for the Y-component of a vector in Cartesian coordinates.  More... | |
| void | std_base_z_cart () | 
| Sets the basis for the Z-component of a vector in Cartesian coordinates.  More... | |
| void | std_r_base () | 
| Sets the basis for the radius.  More... | |
| void | std_base_rt_spher () | 
| Sets the basis for the  | |
| void | std_base_rp_spher () | 
| Sets the basis for the  | |
| void | std_base_tp_spher () | 
| Sets the basis for the  | |
| void | std_base_xy_cart () | 
| Sets the basis for the XY component of a 2-tensor in Cartesian coordinates.  More... | |
| void | std_base_xz_cart () | 
| Sets the basis for the XZ component of a 2-tensor in Cartesian coordinates.  More... | |
| void | std_base_yz_cart () | 
| Sets the basis for the YZ component of a 2-tensor in Cartesian coordinates.  More... | |
| void | std_xodd_base () | 
| Sets the basis for an odd function in  | |
| void | std_todd_base () | 
Sets the basis for an odd function in   (Critic case).  More... | |
| void | std_xodd_todd_base () | 
Sets the basis for an odd function in   (Critic case).  More... | |
| void | std_base_odd () | 
| Sets the basis in odd polynomials.  More... | |
| void | std_base_r_mtz () | 
| Sets the basis for the radial component of a vector in orthonormal coordinates in the MTZ context.  More... | |
| void | std_base_t_mtz () | 
Sets the basis for the   component of a vector in orthonormal coordinates in the MTZ context.  More... | |
| void | std_base_p_mtz () | 
Sets the basis for the   component of a vector in orthonormal coordinates in the MTZ context.  More... | |
| double & | set (const Index &pos) | 
| Read/write the value of the field in the configuration space.  More... | |
| double & | set_coef (const Index &pos) | 
| Read/write the value of the field in the coefficient space.  More... | |
| double | get_coef (const Index &pos) const | 
| Read only value of the field in the coefficient space.  More... | |
| double | operator() (const Index &pos) const | 
| Read only value of the field in the configuration space.  More... | |
| void | coef () const | 
| Computes the coefficients.  More... | |
| void | coef_i () const | 
| Computes the values in the configuration space.  More... | |
| Val_domain | der_var (int i) const | 
| Computes the derivative with respect to a numerical coordinate.  More... | |
| Val_domain | der_abs (int i) const | 
| Computes the derivative with respect to an absolute coordinate (typically Cartesian).  More... | |
| Val_domain | der_spher (int i) const | 
| Computes the derivative with respect to the spherical coordinates (if defined).  More... | |
| Val_domain | der_r () const | 
| Val_domain | der_t () const | 
| Val_domain | der_p () const | 
| Val_domain | mult_sin_theta () const | 
| Multiplication by  | |
| Val_domain | mult_cos_theta () const | 
| Multiplication by  | |
| Val_domain | mult_sin_phi () const | 
| Multiplication by  | |
| Val_domain | mult_cos_phi () const | 
| Multiplication by  | |
| Val_domain | div_sin_theta () const | 
| Division by  | |
| Val_domain | div_cos_theta () const | 
| Division by  | |
| Val_domain | div_x () const | 
| Division by  | |
| Val_domain | div_xm1 () const | 
| Division by  | |
| Val_domain | div_xp1 () const | 
| Division by  | |
| Val_domain | mult_xm1 () const | 
| Multiplication by  | |
| Val_domain | div_1mx2 () const | 
| Division by  | |
| Val_domain | div_1mrsL () const | 
| Division by  | |
| Val_domain | div_sin_chi () const | 
| Division by  | |
| Val_domain | div_chi () const | 
Division by  .  More... | |
| Val_domain | div_r () const | 
| Division by the radius.  More... | |
| Val_domain | mult_r () const | 
| Multiplication by the radius.  More... | |
| Val_domain | der_r_rtwo () const | 
| Val_domain | mult_cos_time () const | 
| Val_domain | mult_sin_time () const | 
| double | integrale () const | 
| double | integ_volume () const | 
| void | operator+= (const Val_domain &) | 
| Operator +=.  More... | |
| void | operator-= (const Val_domain &) | 
| Operator -=.  More... | |
| void | operator*= (const Val_domain &) | 
| Operator *=.  More... | |
| void | operator/= (const Val_domain &) | 
| Operator /=.  More... | |
| void | operator+= (double) | 
| Operator +=.  More... | |
| void | operator-= (double) | 
| Operator -=.  More... | |
| void | operator*= (double) | 
| Operator *=.  More... | |
| void | operator/= (double) | 
| Operator /=.  More... | |
Protected Attributes | |
| const Domain * | zone | 
Pointer to the associated Domain.  More... | |
| Base_spectral | base | 
| Spectral basis of the field.  More... | |
| bool | is_zero | 
| Indicator used for null fields (for speed issues).  More... | |
| Array< double > * | c | 
Pointer on the Array of the values in the configuration space.  More... | |
| Array< double > * | cf | 
Pointer on the Array of the values in the coefficients space.  More... | |
| bool | in_conf | 
| Is the field known in the configuration space ?  More... | |
| bool | in_coef | 
| Is the field known in the coefficient space ?  More... | |
| Memory_mapped_array< Val_domain * > | p_der_var | 
| Pointers on the derivatives of the field with respect to the numerical coordinates.  More... | |
| Memory_mapped_array< Val_domain * > | p_der_abs | 
| Pointers on the derivatives of the field with respect to the absolute Cartesian coordinates.  More... | |
Private Member Functions | |
| void | del_deriv () const | 
| Delete the derived quantities.  More... | |
| void | compute_der_var () const | 
| Computes the derivatives with respect to the numerical coordinates.  More... | |
| void | compute_der_abs () const | 
| Computes the derivatives with respect to the absolute Cartesian coordinates.  More... | |
Friends | |
| class | Space | 
| class | Space_spheric | 
| class | Scalar | 
| class | Domain_nucleus | 
| class | Domain_shell | 
| class | Domain_shell_log | 
| class | Domain_shell_surr | 
| class | Domain_compact | 
| class | Domain_bispheric_rect | 
| class | Domain_bispheric_chi_first | 
| class | Domain_bispheric_eta_first | 
| class | Domain_critic_inner | 
| class | Domain_critic_outer | 
| class | Domain_polar_nucleus | 
| class | Domain_polar_shell | 
| class | Domain_polar_shell_inner_adapted | 
| class | Domain_polar_shell_outer_adapted | 
| class | Domain_polar_compact | 
| class | Domain_oned_ori | 
| class | Domain_oned_qcq | 
| class | Domain_oned_inf | 
| class | Domain_spheric_periodic_nucleus | 
| class | Domain_spheric_periodic_shell | 
| class | Domain_spheric_periodic_compact | 
| class | Domain_spheric_time_nucleus | 
| class | Domain_spheric_time_shell | 
| class | Domain_spheric_time_compact | 
| class | Domain_shell_outer_adapted | 
| class | Domain_shell_inner_adapted | 
| class | Domain_shell_inner_homothetic | 
| class | Domain_shell_outer_homothetic | 
| class | Domain_nucleus_symphi | 
| class | Domain_shell_symphi | 
| class | Domain_compact_symphi | 
| class | Domain_polar_periodic_nucleus | 
| class | Domain_polar_periodic_shell | 
| class | Domain_fourD_periodic_nucleus | 
| class | Domain_fourD_periodic_shell | 
| class | Eq_matching_non_std | 
| ostream & | operator<< (ostream &, const Val_domain &) | 
| Output operator.  More... | |
| Val_domain | sin (const Val_domain &) | 
| Sine operator.  More... | |
| Val_domain | cos (const Val_domain &) | 
| Cosine operator.  More... | |
| Val_domain | sinh (const Val_domain &) | 
| Hyperbolic sine operator.  More... | |
| Val_domain | cosh (const Val_domain &) | 
| Hyperbolic cosine operator.  More... | |
| Val_domain | operator+ (const Val_domain &) | 
| Operator + (unitary version)  More... | |
| Val_domain | operator- (const Val_domain &) | 
| Operator - (unitary version)  More... | |
| Val_domain | operator+ (const Val_domain &, const Val_domain &) | 
| Operator +.  More... | |
| Val_domain | operator+ (const Val_domain &, double) | 
| Operator +.  More... | |
| Val_domain | operator+ (double, const Val_domain &) | 
| Operator +.  More... | |
| Val_domain | operator- (const Val_domain &, const Val_domain &) | 
| Operator -.  More... | |
| Val_domain | operator- (const Val_domain &, double) | 
| Operator -.  More... | |
| Val_domain | operator- (double, const Val_domain &) | 
| Operator -.  More... | |
| Val_domain | operator* (const Val_domain &, const Val_domain &) | 
| Operator *.  More... | |
| Val_domain | operator* (const Val_domain &, double) | 
| Operator *.  More... | |
| Val_domain | operator* (double, const Val_domain &) | 
| Operator *.  More... | |
| Val_domain | operator* (const Val_domain &, int) | 
| Operator *.  More... | |
| Val_domain | operator* (int, const Val_domain &) | 
| Operator *.  More... | |
| Val_domain | operator* (const Val_domain &, long int) | 
| Operator *.  More... | |
| Val_domain | operator* (long int, const Val_domain &) | 
| Operator *.  More... | |
| Val_domain | operator/ (const Val_domain &, const Val_domain &) | 
| Operator /.  More... | |
| Val_domain | operator/ (const Val_domain &, double) | 
| Operator /.  More... | |
| Val_domain | operator/ (double, const Val_domain &) | 
| Operator /.  More... | |
| Val_domain | pow (const Val_domain &, int) | 
| Operator power (integer version)  More... | |
| Val_domain | pow (const Val_domain &, double) | 
| Operator power (double version)  More... | |
| Val_domain | sqrt (const Val_domain &) | 
| Operator square root.  More... | |
| Val_domain | exp (const Val_domain &) | 
| Operator exponential.  More... | |
| Val_domain | log (const Val_domain &) | 
| Operator logarithm.  More... | |
| Val_domain | atanh (const Val_domain &) | 
| Operator atanh.  More... | |
| Val_domain | bessel_jl (const Val_domain &, int) | 
| Operator Bessel function.  More... | |
| Val_domain | bessel_yl (const Val_domain &, int) | 
| Operator Bessel function.  More... | |
| Val_domain | atan (const Val_domain &) | 
| Operator arctangent.  More... | |
| double | diffmax (const Val_domain &, const Val_domain &) | 
| Maximal difference.  More... | |
| double | maxval (const Val_domain &) | 
| Maximal value.  More... | |
Class for storing the basis of decompositions of a field and its values on both the configuration and coefficients spaces, in a given Domain. 
Definition at line 69 of file val_domain.hpp.
| Kadath::Val_domain::Val_domain | ( | const Domain * | so | ) | 
Constructor from a Domain. 
Nothing is initialized otherwise.
| so | [input] : pointer on the Domain.  | 
Definition at line 23 of file val_domain.cpp.
References Kadath::Domain::get_ndim(), p_der_abs, p_der_var, and zone.
| Kadath::Val_domain::Val_domain | ( | const Val_domain & | so, | 
| bool const | copy = true  | 
        ||
| ) | 
Copy constructor.
| so | [input] : Val_domain to be copied.  | 
| copy | [input] : if true then all the so is copied otherwise the arrays are not initialized.  | 
Definition at line 33 of file val_domain.cpp.
References c, cf, Kadath::Domain::get_ndim(), p_der_abs, p_der_var, Val_domain(), and zone.
      
  | 
  noexcept | 
Move constructor.
Definition at line 59 of file val_domain.cpp.
| Kadath::Val_domain::Val_domain | ( | const Domain * | so, | 
| FILE * | fd | ||
| ) | 
| Kadath::Val_domain::~Val_domain | ( | ) | 
| void Kadath::Val_domain::allocate_coef | ( | ) | 
Allocates the values in the coefficient space and destroys the values in the configuration space.
Definition at line 216 of file val_domain.cpp.
References cf, Kadath::Domain::get_nbr_coefs(), is_zero, set_in_coef(), and zone.
| void Kadath::Val_domain::allocate_conf | ( | ) | 
Allocates the values in the configuration space and destroys the values in the coefficients space.
Definition at line 209 of file val_domain.cpp.
References c, Kadath::Domain::get_nbr_points(), is_zero, set_in_conf(), and zone.
| void Kadath::Val_domain::annule_hard | ( | ) | 
Sets all the arrays to zero (the logical state is NOT set to zero).
Definition at line 159 of file val_domain.cpp.
References allocate_conf(), c, and del_deriv().
| void Kadath::Val_domain::annule_hard_coef | ( | ) | 
Sets all the arrays to zero in the coefficient space (the logical state is NOT set to zero).
Definition at line 165 of file val_domain.cpp.
References allocate_coef(), cf, and del_deriv().
      
  | 
  inline | 
Check whether the logical state is zero or not.
Definition at line 142 of file val_domain.hpp.
References is_zero.
| void Kadath::Val_domain::coef | ( | ) | const | 
Computes the coefficients.
Definition at line 622 of file val_domain.cpp.
References base, c, cf, Kadath::Base_spectral::coef(), Kadath::Domain::get_nbr_coefs(), in_coef, in_conf, Kadath::Base_spectral::is_def(), is_zero, and zone.
| void Kadath::Val_domain::coef_i | ( | ) | const | 
Computes the values in the configuration space.
Definition at line 637 of file val_domain.cpp.
References base, c, cf, Kadath::Base_spectral::coef_i(), Kadath::Domain::get_nbr_points(), in_coef, in_conf, Kadath::Base_spectral::is_def(), is_zero, and zone.
      
  | 
  private | 
Computes the derivatives with respect to the absolute Cartesian coordinates.
Definition at line 783 of file val_domain.cpp.
References compute_der_var(), Kadath::Domain::do_der_abs_from_der_var(), Kadath::Domain::get_ndim(), p_der_abs, p_der_var, and zone.
      
  | 
  private | 
Computes the derivatives with respect to the numerical coordinates.
Definition at line 771 of file val_domain.cpp.
References base, cf, coef(), Kadath::Domain::get_ndim(), in_coef, Kadath::Base_spectral::ope_1d(), p_der_var, and zone.
      
  | 
  private | 
Delete the derived quantities.
Definition at line 124 of file val_domain.cpp.
| Val_domain Kadath::Val_domain::der_abs | ( | int | i | ) | const | 
Computes the derivative with respect to an absolute coordinate (typically Cartesian).
| i | [input] : the coordinate index. | 
Definition at line 681 of file val_domain.cpp.
References compute_der_abs(), get_domain(), is_zero, and p_der_abs.
| Val_domain Kadath::Val_domain::der_p | ( | ) | const | 
. Definition at line 734 of file val_domain.cpp.
References Kadath::Domain::der_p(), and zone.
| Val_domain Kadath::Val_domain::der_r | ( | ) | const | 
Definition at line 726 of file val_domain.cpp.
References Kadath::Domain::der_r(), and zone.
| Val_domain Kadath::Val_domain::der_r_rtwo | ( | ) | const | 
Definition at line 739 of file val_domain.cpp.
References Kadath::Domain::der_r_rtwo(), and zone.
| Val_domain Kadath::Val_domain::der_spher | ( | int | i | ) | const | 
| Val_domain Kadath::Val_domain::der_t | ( | ) | const | 
. Definition at line 730 of file val_domain.cpp.
References Kadath::Domain::der_t(), and zone.
| Val_domain Kadath::Val_domain::der_var | ( | int | i | ) | const | 
Computes the derivative with respect to a numerical coordinate.
| i | [input] : the coordinate index. | 
Definition at line 670 of file val_domain.cpp.
References compute_der_var(), is_zero, and p_der_var.
| Val_domain Kadath::Val_domain::div_1mrsL | ( | ) | const | 
Division by 
. 
Definition at line 92 of file val_domain_ope.cpp.
References Kadath::Domain::div_1mrsL(), is_zero, and zone.
| Val_domain Kadath::Val_domain::div_1mx2 | ( | ) | const | 
Division by 
. 
Definition at line 85 of file val_domain_ope.cpp.
References Kadath::Domain::div_1mx2(), is_zero, and zone.
| Val_domain Kadath::Val_domain::div_chi | ( | ) | const | 
Division by 
. 
Definition at line 71 of file val_domain_ope.cpp.
References Kadath::Domain::div_chi(), is_zero, and zone.
| Val_domain Kadath::Val_domain::div_cos_theta | ( | ) | const | 
Division by 
. 
Definition at line 57 of file val_domain_ope.cpp.
References Kadath::Domain::div_cos_theta(), is_zero, and zone.
| Val_domain Kadath::Val_domain::div_r | ( | ) | const | 
Division by the radius.
Definition at line 743 of file val_domain.cpp.
References Kadath::Domain::div_r(), is_zero, and zone.
| Val_domain Kadath::Val_domain::div_sin_chi | ( | ) | const | 
Division by 
. 
Definition at line 113 of file val_domain_ope.cpp.
References Kadath::Domain::div_sin_chi(), is_zero, and zone.
| Val_domain Kadath::Val_domain::div_sin_theta | ( | ) | const | 
Division by 
. 
Definition at line 50 of file val_domain_ope.cpp.
References Kadath::Domain::div_sin_theta(), is_zero, and zone.
| Val_domain Kadath::Val_domain::div_x | ( | ) | const | 
Division by 
. 
Definition at line 64 of file val_domain_ope.cpp.
References Kadath::Domain::div_x(), is_zero, and zone.
| Val_domain Kadath::Val_domain::div_xm1 | ( | ) | const | 
Division by 
. 
Definition at line 78 of file val_domain_ope.cpp.
References Kadath::Domain::div_xm1(), is_zero, and zone.
| Val_domain Kadath::Val_domain::div_xp1 | ( | ) | const | 
Division by 
. 
Definition at line 99 of file val_domain_ope.cpp.
References Kadath::Domain::div_xp1(), is_zero, and zone.
      
  | 
  inline | 
      
  | 
  inline | 
Definition at line 136 of file val_domain.hpp.
References cf.
| double Kadath::Val_domain::get_coef | ( | const Index & | pos | ) | const | 
Read only value of the field in the coefficient space.
| pos | [input] : coefficient concerned. | 
Definition at line 183 of file val_domain.cpp.
References cf, in_coef, is_zero, and Kadath::Array< T >::set().
      
  | 
  inline | 
Definition at line 131 of file val_domain.hpp.
References c.
      
  | 
  inline | 
| double Kadath::Val_domain::integ_volume | ( | ) | const | 
Definition at line 763 of file val_domain.cpp.
References Kadath::Domain::integ_volume(), is_zero, and zone.
| double Kadath::Val_domain::integrale | ( | ) | const | 
Definition at line 756 of file val_domain.cpp.
References Kadath::Domain::integrale(), is_zero, and zone.
| Val_domain Kadath::Val_domain::mult_cos_phi | ( | ) | const | 
Multiplication by 
. 
Definition at line 22 of file val_domain_ope.cpp.
References is_zero, Kadath::Domain::mult_cos_phi(), and zone.
| Val_domain Kadath::Val_domain::mult_cos_theta | ( | ) | const | 
Multiplication by 
. 
Definition at line 36 of file val_domain_ope.cpp.
References is_zero, Kadath::Domain::mult_cos_theta(), and zone.
| Val_domain Kadath::Val_domain::mult_cos_time | ( | ) | const | 
Definition at line 120 of file val_domain_ope.cpp.
References is_zero, Kadath::Domain::mult_cos_time(), and zone.
| Val_domain Kadath::Val_domain::mult_r | ( | ) | const | 
Multiplication by the radius.
Definition at line 750 of file val_domain.cpp.
References is_zero, Kadath::Domain::mult_r(), and zone.
| Val_domain Kadath::Val_domain::mult_sin_phi | ( | ) | const | 
Multiplication by 
. 
Definition at line 29 of file val_domain_ope.cpp.
References is_zero, Kadath::Domain::mult_sin_phi(), and zone.
| Val_domain Kadath::Val_domain::mult_sin_theta | ( | ) | const | 
Multiplication by 
. 
Definition at line 43 of file val_domain_ope.cpp.
References is_zero, Kadath::Domain::mult_sin_theta(), and zone.
| Val_domain Kadath::Val_domain::mult_sin_time | ( | ) | const | 
Definition at line 127 of file val_domain_ope.cpp.
References is_zero, Kadath::Domain::mult_sin_time(), and zone.
| Val_domain Kadath::Val_domain::mult_xm1 | ( | ) | const | 
Multiplication by 
. 
Definition at line 106 of file val_domain_ope.cpp.
References is_zero, Kadath::Domain::mult_xm1(), and zone.
| double Kadath::Val_domain::operator() | ( | const Index & | pos | ) | const | 
Read only value of the field in the configuration space.
| pos | [input] : point concerned. | 
Definition at line 192 of file val_domain.cpp.
| void Kadath::Val_domain::operator*= | ( | const Val_domain & | so | ) | 
Operator *=.
Definition at line 34 of file val_domain_math.cpp.
| void Kadath::Val_domain::operator*= | ( | double | xx | ) | 
Operator *=.
Definition at line 51 of file val_domain_math.cpp.
| void Kadath::Val_domain::operator+= | ( | const Val_domain & | so | ) | 
Operator +=.
Definition at line 26 of file val_domain_math.cpp.
| void Kadath::Val_domain::operator+= | ( | double | xx | ) | 
Operator +=.
Definition at line 42 of file val_domain_math.cpp.
| void Kadath::Val_domain::operator-= | ( | const Val_domain & | so | ) | 
Operator -=.
Definition at line 30 of file val_domain_math.cpp.
| void Kadath::Val_domain::operator-= | ( | double | xx | ) | 
Operator -=.
Definition at line 46 of file val_domain_math.cpp.
| void Kadath::Val_domain::operator/= | ( | const Val_domain & | so | ) | 
Operator /=.
Definition at line 38 of file val_domain_math.cpp.
| void Kadath::Val_domain::operator/= | ( | double | xx | ) | 
Operator /=.
Definition at line 56 of file val_domain_math.cpp.
| void Kadath::Val_domain::operator= | ( | const Val_domain & | so | ) | 
Assignement to another Val_domain. 
Definition at line 130 of file val_domain.cpp.
References base, c, cf, del_deriv(), Kadath::Domain::get_ndim(), in_coef, in_conf, Kadath::Base_spectral::is_def(), is_zero, p_der_abs, p_der_var, Kadath::Base_spectral::set_non_def(), Val_domain(), and zone.
| void Kadath::Val_domain::operator= | ( | double | xx | ) | 
Assignement to a double , in the configuration space. 
Definition at line 148 of file val_domain.cpp.
References allocate_conf(), c, del_deriv(), is_zero, and set_zero().
      
  | 
  noexcept | 
Move assignment operator.
Definition at line 67 of file val_domain.cpp.
| void Kadath::Val_domain::save | ( | FILE * | fd | ) | const | 
Saving on a file.
Definition at line 110 of file val_domain.cpp.
References base, c, cf, in_coef, in_conf, is_zero, Kadath::Base_spectral::save(), and Kadath::Array< T >::save().
| double & Kadath::Val_domain::set | ( | const Index & | pos | ) | 
Read/write the value of the field in the configuration space.
The coefficients are destroyed.
| pos | [input] : point concerned. | 
Definition at line 171 of file val_domain.cpp.
References c, del_deriv(), Kadath::Array< T >::set(), and set_in_conf().
      
  | 
  inline | 
| double & Kadath::Val_domain::set_coef | ( | const Index & | pos | ) | 
Read/write the value of the field in the coefficient space.
The values at collocation points are destroyed.
| pos | [input] : coefficient concerned. | 
Definition at line 177 of file val_domain.cpp.
References cf, del_deriv(), Kadath::Array< T >::set(), and set_in_coef().
| void Kadath::Val_domain::set_in_coef | ( | ) | 
Destroys the values in the configuration space.
Definition at line 203 of file val_domain.cpp.
| void Kadath::Val_domain::set_in_conf | ( | ) | 
Destroys the values in the coefficient space.
Definition at line 197 of file val_domain.cpp.
| void Kadath::Val_domain::set_zero | ( | ) | 
Sets the Val_domain to zero (logical state to zero and arrays destroyed). 
Definition at line 223 of file val_domain.cpp.
References base, c, cf, del_deriv(), in_coef, in_conf, is_zero, and Kadath::Base_spectral::set_non_def().
| void Kadath::Val_domain::std_anti_base | ( | ) | 
Sets the standard, anti-symetric, basis of decomposition.
Definition at line 279 of file val_domain.cpp.
References base, Kadath::Domain::get_type_base(), Kadath::Domain::set_anti_cheb_base(), Kadath::Domain::set_anti_legendre_base(), and zone.
| void Kadath::Val_domain::std_anti_base | ( | int | m | ) | 
Sets the standard, anti-symetric, basis of decomposition.
Definition at line 312 of file val_domain.cpp.
References base, Kadath::Domain::get_type_base(), Kadath::Domain::set_anti_cheb_base_with_m(), Kadath::Domain::set_anti_legendre_base_with_m(), and zone.
| void Kadath::Val_domain::std_base | ( | ) | 
Sets the standard basis of decomposition.
Definition at line 246 of file val_domain.cpp.
References base, Kadath::Domain::get_type_base(), Kadath::Domain::set_cheb_base(), Kadath::Domain::set_legendre_base(), and zone.
| void Kadath::Val_domain::std_base | ( | int | m | ) | 
Sets the standard basis of decomposition.
Definition at line 295 of file val_domain.cpp.
References base, Kadath::Domain::get_type_base(), Kadath::Domain::set_cheb_base_with_m(), Kadath::Domain::set_legendre_base_with_m(), and zone.
| void Kadath::Val_domain::std_base_odd | ( | ) | 
Sets the basis in odd polynomials.
Definition at line 605 of file val_domain.cpp.
References base, Kadath::Domain::get_type_base(), Kadath::Domain::set_cheb_base_odd(), Kadath::Domain::set_legendre_base_odd(), and zone.
| void Kadath::Val_domain::std_base_p_mtz | ( | ) | 
Sets the basis for the 
 component of a vector in orthonormal coordinates in the MTZ context. 
Definition at line 540 of file val_domain.cpp.
References base, Kadath::Domain::get_type_base(), Kadath::Domain::set_cheb_base_p_mtz(), Kadath::Domain::set_legendre_base_p_mtz(), and zone.
| void Kadath::Val_domain::std_base_p_spher | ( | ) | 
Sets the basis for the 
 component of a vector in orthonormal spherical coordinates. 
Definition at line 444 of file val_domain.cpp.
References base, Kadath::Domain::get_type_base(), Kadath::Domain::set_cheb_base_p_spher(), Kadath::Domain::set_legendre_base_p_spher(), and zone.
| void Kadath::Val_domain::std_base_r_mtz | ( | ) | 
Sets the basis for the radial component of a vector in orthonormal coordinates in the MTZ context.
Definition at line 508 of file val_domain.cpp.
References base, Kadath::Domain::get_type_base(), Kadath::Domain::set_cheb_base_r_mtz(), Kadath::Domain::set_legendre_base_r_mtz(), and zone.
| void Kadath::Val_domain::std_base_r_spher | ( | ) | 
Sets the basis for the radial component of a vector in orthonormal spherical coordinates.
Definition at line 412 of file val_domain.cpp.
References base, Kadath::Domain::get_type_base(), Kadath::Domain::set_cheb_base_r_spher(), Kadath::Domain::set_legendre_base_r_spher(), and zone.
| void Kadath::Val_domain::std_base_rp_spher | ( | ) | 
Sets the basis for the 
 component of a 2-tensor in orthonormal spherical coordinates. 
Definition at line 342 of file val_domain.cpp.
References base, Kadath::Domain::get_type_base(), Kadath::Domain::set_cheb_base_rp_spher(), and zone.
| void Kadath::Val_domain::std_base_rt_spher | ( | ) | 
Sets the basis for the 
 component of a 2-tensor in orthonormal spherical coordinates. 
Definition at line 328 of file val_domain.cpp.
References base, Kadath::Domain::get_type_base(), Kadath::Domain::set_cheb_base_rt_spher(), and zone.
| void Kadath::Val_domain::std_base_t_mtz | ( | ) | 
Sets the basis for the 
 component of a vector in orthonormal coordinates in the MTZ context. 
Definition at line 524 of file val_domain.cpp.
References base, Kadath::Domain::get_type_base(), Kadath::Domain::set_cheb_base_t_mtz(), Kadath::Domain::set_legendre_base_t_mtz(), and zone.
| void Kadath::Val_domain::std_base_t_spher | ( | ) | 
Sets the basis for the 
 component of a vector in orthonormal spherical coordinates. 
Definition at line 428 of file val_domain.cpp.
References base, Kadath::Domain::get_type_base(), Kadath::Domain::set_cheb_base_t_spher(), Kadath::Domain::set_legendre_base_t_spher(), and zone.
| void Kadath::Val_domain::std_base_tp_spher | ( | ) | 
Sets the basis for the 
 component of a 2-tensor in orthonormal spherical coordinates. 
Definition at line 356 of file val_domain.cpp.
References base, Kadath::Domain::get_type_base(), Kadath::Domain::set_cheb_base_tp_spher(), and zone.
| void Kadath::Val_domain::std_base_x_cart | ( | ) | 
Sets the basis for the X-component of a vector in Cartesian coordinates.
Definition at line 460 of file val_domain.cpp.
References base, Kadath::Domain::get_type_base(), Kadath::Domain::set_cheb_base_x_cart(), Kadath::Domain::set_legendre_base_x_cart(), and zone.
| void Kadath::Val_domain::std_base_xy_cart | ( | ) | 
Sets the basis for the XY component of a 2-tensor in Cartesian coordinates.
Definition at line 370 of file val_domain.cpp.
References base, Kadath::Domain::get_type_base(), Kadath::Domain::set_cheb_base_xy_cart(), and zone.
| void Kadath::Val_domain::std_base_xz_cart | ( | ) | 
Sets the basis for the XZ component of a 2-tensor in Cartesian coordinates.
Definition at line 384 of file val_domain.cpp.
References base, Kadath::Domain::get_type_base(), Kadath::Domain::set_cheb_base_xz_cart(), and zone.
| void Kadath::Val_domain::std_base_y_cart | ( | ) | 
Sets the basis for the Y-component of a vector in Cartesian coordinates.
Definition at line 476 of file val_domain.cpp.
References base, Kadath::Domain::get_type_base(), Kadath::Domain::set_cheb_base_y_cart(), Kadath::Domain::set_legendre_base_y_cart(), and zone.
| void Kadath::Val_domain::std_base_yz_cart | ( | ) | 
Sets the basis for the YZ component of a 2-tensor in Cartesian coordinates.
Definition at line 398 of file val_domain.cpp.
References base, Kadath::Domain::get_type_base(), Kadath::Domain::set_cheb_base_yz_cart(), and zone.
| void Kadath::Val_domain::std_base_z_cart | ( | ) | 
Sets the basis for the Z-component of a vector in Cartesian coordinates.
Definition at line 492 of file val_domain.cpp.
References base, Kadath::Domain::get_type_base(), Kadath::Domain::set_cheb_base_z_cart(), Kadath::Domain::set_legendre_base_z_cart(), and zone.
| void Kadath::Val_domain::std_r_base | ( | ) | 
Sets the basis for the radius.
Definition at line 262 of file val_domain.cpp.
References base, Kadath::Domain::get_type_base(), Kadath::Domain::set_cheb_r_base(), Kadath::Domain::set_legendre_r_base(), and zone.
| void Kadath::Val_domain::std_todd_base | ( | ) | 
Sets the basis for an odd function in 
 (Critic case). 
Definition at line 573 of file val_domain.cpp.
References base, Kadath::Domain::get_type_base(), Kadath::Domain::set_cheb_todd_base(), Kadath::Domain::set_legendre_todd_base(), and zone.
| void Kadath::Val_domain::std_xodd_base | ( | ) | 
Sets the basis for an odd function in 
 (Critic case). 
Definition at line 557 of file val_domain.cpp.
References base, Kadath::Domain::get_type_base(), Kadath::Domain::set_cheb_xodd_base(), Kadath::Domain::set_legendre_xodd_base(), and zone.
| void Kadath::Val_domain::std_xodd_todd_base | ( | ) | 
Sets the basis for an odd function in 
 and 
 (Critic case). 
Definition at line 589 of file val_domain.cpp.
References base, Kadath::Domain::get_type_base(), Kadath::Domain::set_cheb_xodd_todd_base(), Kadath::Domain::set_legendre_xodd_todd_base(), and zone.
      
  | 
  noexcept | 
Swaps the content with the source.
Definition at line 47 of file val_domain.cpp.
      
  | 
  friend | 
Operator arctangent.
Definition at line 581 of file val_domain_math.cpp.
      
  | 
  friend | 
Operator atanh.
Definition at line 504 of file val_domain_math.cpp.
      
  | 
  friend | 
Operator Bessel function.
Definition at line 521 of file val_domain_math.cpp.
      
  | 
  friend | 
Operator Bessel function.
Definition at line 535 of file val_domain_math.cpp.
      
  | 
  friend | 
Cosine operator.
Definition at line 74 of file val_domain_math.cpp.
      
  | 
  friend | 
Hyperbolic cosine operator.
Definition at line 93 of file val_domain_math.cpp.
      
  | 
  friend | 
Maximal difference.
Definition at line 515 of file val_domain_math.cpp.
      
  | 
  friend | 
Operator exponential.
Definition at line 474 of file val_domain_math.cpp.
      
  | 
  friend | 
Operator logarithm.
Definition at line 493 of file val_domain_math.cpp.
      
  | 
  friend | 
Maximal value.
Definition at line 592 of file val_domain_math.cpp.
      
  | 
  friend | 
Operator *.
Definition at line 300 of file val_domain_math.cpp.
      
  | 
  friend | 
Operator *.
Definition at line 318 of file val_domain_math.cpp.
      
  | 
  friend | 
Operator *.
Definition at line 335 of file val_domain_math.cpp.
      
  | 
  friend | 
Operator *.
Definition at line 358 of file val_domain_math.cpp.
      
  | 
  friend | 
Operator *.
Definition at line 331 of file val_domain_math.cpp.
      
  | 
  friend | 
Operator *.
Definition at line 354 of file val_domain_math.cpp.
      
  | 
  friend | 
Operator *.
Definition at line 377 of file val_domain_math.cpp.
      
  | 
  friend | 
Operator + (unitary version)
Definition at line 133 of file val_domain_math.cpp.
      
  | 
  friend | 
Operator +.
Definition at line 148 of file val_domain_math.cpp.
      
  | 
  friend | 
Operator +.
Definition at line 195 of file val_domain_math.cpp.
      
  | 
  friend | 
Operator +.
Definition at line 214 of file val_domain_math.cpp.
      
  | 
  friend | 
Operator - (unitary version)
Definition at line 138 of file val_domain_math.cpp.
      
  | 
  friend | 
Operator -.
Definition at line 218 of file val_domain_math.cpp.
      
  | 
  friend | 
Operator -.
Definition at line 263 of file val_domain_math.cpp.
      
  | 
  friend | 
Operator -.
Definition at line 282 of file val_domain_math.cpp.
      
  | 
  friend | 
Operator /.
Definition at line 380 of file val_domain_math.cpp.
      
  | 
  friend | 
Operator /.
Definition at line 399 of file val_domain_math.cpp.
      
  | 
  friend | 
Operator /.
Definition at line 412 of file val_domain_math.cpp.
      
  | 
  friend | 
Output operator.
Definition at line 653 of file val_domain.cpp.
      
  | 
  friend | 
Operator power (double version)
Definition at line 448 of file val_domain_math.cpp.
      
  | 
  friend | 
Operator power (integer version)
Definition at line 428 of file val_domain_math.cpp.
      
  | 
  friend | 
Sine operator.
Definition at line 61 of file val_domain_math.cpp.
      
  | 
  friend | 
Hyperbolic sine operator.
Definition at line 113 of file val_domain_math.cpp.
      
  | 
  friend | 
Operator square root.
Definition at line 460 of file val_domain_math.cpp.
      
  | 
  protected | 
Spectral basis of the field.
Definition at line 72 of file val_domain.hpp.
      
  | 
  mutableprotected | 
Pointer on the Array of the values in the configuration space. 
Definition at line 76 of file val_domain.hpp.
      
  | 
  mutableprotected | 
Pointer on the Array of the values in the coefficients space. 
Definition at line 77 of file val_domain.hpp.
      
  | 
  mutableprotected | 
Is the field known in the coefficient space ?
Definition at line 79 of file val_domain.hpp.
      
  | 
  mutableprotected | 
Is the field known in the configuration space ?
Definition at line 78 of file val_domain.hpp.
      
  | 
  protected | 
Indicator used for null fields (for speed issues).
Definition at line 74 of file val_domain.hpp.
      
  | 
  mutableprotected | 
Pointers on the derivatives of the field with respect to the absolute Cartesian coordinates.
Definition at line 82 of file val_domain.hpp.
      
  | 
  mutableprotected | 
Pointers on the derivatives of the field with respect to the numerical coordinates.
Definition at line 81 of file val_domain.hpp.
      
  | 
  protected | 
Pointer to the associated Domain. 
Definition at line 71 of file val_domain.hpp.