170 #include "type_parite.h" 216 Grille3d(
int n_r,
int n_t,
int n_p,
int typer,
int typet,
217 int typep,
int baser) ;
305 mutable Mg3d* g_angu_1dom ;
346 Mg3d(
int nz,
int nbr[],
int typr[],
int nbt[],
int typt,
int nbp[],
347 int typp,
int*
base_r = 0x0) ;
387 Mg3d(
int nz,
int nbr,
int nbt,
int nbp,
int typt,
int typp,
388 bool compact,
bool legendre=
false) ;
415 Mg3d(
int nz,
int nbr,
int nbt,
int nbp,
int typt,
int typp) ;
422 Mg3d(FILE* fd,
bool read_base=
false) ;
453 assert(l>=0 && l<nzone) ;
458 assert(l>=0 && l<nzone) ;
463 assert(l>=0 && l<nzone) ;
475 assert(l>=0 && l<nzone) ;
501 assert(l>=0 && l<nzone) ;
512 assert(l>=0 && l<nzone) ;
517 const Mg3d* get_angu()
const ;
522 const Mg3d* get_angu_1dom()
const ;
525 const Mg3d* get_radial()
const ;
530 const Mg3d* get_twice()
const ;
535 const Mg3d* plus_half()
const ;
541 const Mg3d* get_non_axi()
const ;
544 bool operator==(
const Mg3d& )
const ;
558 void sauve(FILE* fd,
bool save_base=
false)
const ;
560 friend ostream& operator<<(ostream& ,
const Mg3d & ) ;
568 void del_deriv()
const ;
573 void set_deriv_0x0()
const ;
579 bool operator!=(
const Mg3d & )
const ;
585 Base_val std_base_scal_odd()
const ;
590 Base_val** std_base_vect_cart()
const ;
595 Base_val** std_base_vect_spher()
const ;
600 Base_val** pseudo_base_vect_cart()
const ;
605 Base_val** pseudo_base_vect_spher()
const ;
608 ostream& operator<<(ostream& ,
const Mg3d & ) ;
615 int std_base_scal_odd_1z(
int type_r,
int type_t,
int type_p) ;
616 int leg_base_scal_1z(
int type_r,
int type_t,
int type_p) ;
617 int leg_base_scal_odd_1z(
int type_r,
int type_t,
int type_p) ;
618 int jac02_base_scal_1z(
int type_r,
int type_t,
int type_p) ;
619 int jac02_base_scal_odd_1z(
int type_r,
int type_t,
int type_p) ;
int get_type_p() const
Returns the type of sampling in the direction: SYM : : symmetry with respect to the transformatio...
const Grille3d * get_grille3d(int l) const
Returns a pointer on the 3D mono-grid for domain no. l.
Mg3d * g_non_axi
Pointer on the grid which has at least 4 points in the direction and at least 5 in the direction (f...
int get_np() const
Returns np.
int get_type_r() const
Returns type_r.
int get_np(int l) const
Returns the number of points in the azimuthal direction ( ) in domain no. l.
int type_t
Type of sampling in (SYM,NONSYM)
const int nr
Number of points in r ( )
int type_p
Type of sampling in (SYM, NONSYM)
Mg3d * g_plus_half
Pointer on the grid which has 50% more points in r dimension (for desaliasing).
virtual ~Grille3d()
Destructor.
int * np
Array (size: nzone) of nb. of points in .
double * phi
Array of values of at the np collocation points.
void operator=(const Grille3d &)
Assignement operator.
int get_type_t() const
Returns the type of sampling in the direction: SYM : : symmetry with respect to the equatorial pl...
double * x
Array of values of at the nr collocation points.
int get_type_t() const
Returns type_t.
int type_t
Type of sampling in (SYM, NONSYM)
void compute_radial_grid()
Computes the collocation point coordinates in the radial direction.
int get_colloc_r(int l) const
Returns the type of collocation points used in domain no.
int type_p
Type of sampling in (SYM,NONSYM)
double * tet
Array of values of at the nt collocation points.
int nzone
Number of domains (zones)
Mg3d * g_angu
Pointer on the associated angular grid.
const int np
Number of points in .
int get_nzone() const
Returns the number of domains.
int base_r
Type of radial spectral basis (BASE_CHEB, BASE_LEG, BASE_JAC02 )
int get_base_r() const
Returns base_r.
Mg3d * g_twice
Pointer on the grid which has twice the number of points in each dimension (for desaliasing).
Mg3d * g_radial
Pointer on the associated radial grid.
Grille3d ** g
Array (size: nzone) of pointers on the Grille3d's.
int * type_r
Array (size: nzone) of type of sampling in r ( ) (RARE,FIN, c UNSURR)
int get_nr(int l) const
Returns the number of points in the radial direction ( ) in domain no. l.
int * colloc_r
Array (size: nzone) of type of collocation points in r ( ) and related decompoisition bases (BASE_CHE...
Bases of the spectral expansions.
int get_type_p() const
Returns type_p.
int get_nr() const
Returns nr.
int type_r
Type of sampling in r ( ) (RARE,FIN,UNSURR )
int get_nt() const
Returns nt.
int get_nt(int l) const
Returns the number of points in the co-latitude direction ( ) in domain no. l.
int get_type_r(int l) const
Returns the type of sampling in the radial direction in domain no.
int * nt
Array (size: nzone) of nb. of points in .
Grille3d(int n_r, int n_t, int n_p, int typer, int typet, int typep, int baser)
Constructor.
3D grid class in one domain.
const int nt
Number of points in .
int * nr
Array (size: nzone) of nb. of points in r ( )