20 #include "headcpp.hpp"
21 #include "adapted_polar.hpp"
23 #include "array_math.hpp"
25 #include "tensor_impl.hpp"
50 pos_galerkin = pos_cf ;
51 pos_galerkin.
set(1) = 0 ;
65 pos_galerkin = pos_cf ;
66 pos_galerkin.
set(1) = 0 ;
79 pos_galerkin = pos_cf ;
80 pos_galerkin.
set(1) = 1 ;
93 pos_galerkin = pos_cf ;
94 pos_galerkin.
set(1) = 0 ;
102 cerr <<
"Unknow theta basis in Domain_polar_shell_outer_adapted::export_tau_val_domain_boundary" << endl ;
113 if ((bound!=INNER_BC) && (bound!=OUTER_BC)) {
114 cerr <<
"Unknown boundary in Domain_polar_shell_outer_adapted::export_tau_boundary" << endl ;
127 cerr <<
"Valence " << val <<
" not implemented in Domain_polar_shell_outer_adapted::export_tau_boundary" << endl ;
reference set(const Index &pos)
Read/write of an element.
Bases_container bases_1d
Arrays containing the various basis of decomposition.
virtual void export_tau_boundary(const Tensor &, int, int, Array< double > &, int &, const Array< int > &, int n_cmp=-1, Array< int > **p_cmp=0x0) const
Exports all the residual equations corresponding to a tensorial one on a given boundary It makes use ...
void export_tau_val_domain_boundary(const Val_domain &eq, int mquant, int bound, Array< double > &res, int &pos_res, int ncond) const
Exports all the residual equations corresponding to a tensorial one on a given boundary It makes use ...
virtual double val_boundary(int, const Val_domain &, const Index &) const
Computes the value of a field at a boundary.
Dim_array nbr_coefs
Number of coefficients.
Class that gives the position inside a multi-dimensional Array.
int & set(int i)
Read/write of the position in a given dimension.
int get_m_quant() const
Returns .
const Param_tensor & get_parameters() const
Returns a pointer on the possible additional parameter.
int get_valence() const
Returns the valence.
bool is_m_quant_affected() const
Checks whether the additional parameter is affected (used for boson stars for instance).
Class for storing the basis of decompositions of a field and its values on both the configuration and...
bool check_if_zero() const
Check whether the logical state is zero or not.
void coef() const
Computes the coefficients.
const Base_spectral & get_base() const
Returns the basis of decomposition.