20 #include "headcpp.hpp"
24 double eta_lim_chi (
double chi,
double rext,
double a,
double eta_c) ;
25 double chi_lim_eta (
double chi,
double rext,
double a,
double chi_c) ;
27 Space::Space () : nbr_domains(0), ndim(0), type_base(0), domains(0x0) {
39 ostream& operator<< (ostream& o,
const Space& so) {
40 o <<
"Space of " << so.
nbr_domains <<
" domains" << endl ;
42 o <<
"Domain " << i+1 << endl ;
44 o <<
"********************" << endl ;
48 o <<
"Chebyshev polynomials are used." << endl ;
51 o <<
"Legendre polynomials are used." << endl ;
54 cerr <<
"Unknown type of base" << endl ;
61 cerr <<
"save not implemented for" << endl ;
62 cerr << *
this << endl ;
67 cerr <<
"get_indices_matching_non_std not implemented for" << endl ;
68 cerr << *
this << endl ;
The Space class is an ensemble of domains describing the whole space of the computation.
virtual ~Space()
Destructor.
virtual Array< int > get_indices_matching_non_std(int dom, int bound) const
Gives the number of the other domains, touching a given boundary.
int type_base
Type of basis used (i.e. using either Chebyshev or Legendre polynomials).
virtual void save(FILE *) const
Saving function.
Space()
Standard constructor.
Domain ** domains
Pointers on the various Domains.
int nbr_domains
Number od Domains.