20 #include "headcpp.hpp"
22 #include "bispheric.hpp"
24 #include "val_domain.hpp"
35 other_bound = CHI_ONE_BC ;
38 cerr <<
"Unknown boundary case in Domain_bispheric_chi_first::find_other_dom" << endl ;
51 Index copie_pos (pos_cf) ;
55 copie_pos.
set(0) = i ;
64 copie_pos.
set(0) = i ;
70 copie_pos.
set(1) = j ;
75 cerr <<
"Unknown boundary type in Domain_bispheric_chi_first::val_boundary" << endl ;
94 cerr <<
"Domain_bispheric_chi_first::nbr_points_boundary not yet implemented for boundary " << bound << endl ;
104 int pos_which = start ;
115 cerr <<
"Unknown boundary in Domain_bispheric_chi_first::do_which_points_inside" << endl ;
121 int mink = (basep==COS) ? 0 : 1 ;
128 which_coef[pos_which] =
new Index(pos) ;
132 for (
int k=mink ; k<maxk ; k++) {
136 which_coef[pos_which] =
new Index(pos) ;
Class for storing the basis of decompositions of a field.
Bases_container bases_1d
Arrays containing the various basis of decomposition.
double eta_lim
Lower bound for .
virtual void find_other_dom(int, int, int &, int &) const
Gives the informations corresponding the a touching neighboring domain.
virtual int nbr_points_boundary(int, const Base_spectral &) const
Computes the number of relevant collocation points on a boundary.
virtual double val_boundary(int, const Val_domain &, const Index &) const
Computes the value of a field at a boundary.
virtual void do_which_points_boundary(int, const Base_spectral &, Index **, int) const
Lists all the indices corresponding to true collocation points on a boundary.
Dim_array nbr_coefs
Number of coefficients.
Dim_array nbr_points
Number of colocation points.
Class that gives the position inside a multi-dimensional Array.
int & set(int i)
Read/write of the position in a given dimension.
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.
Array< double > get_coef() const