3D grid class in one domain.
More...
#include <grilles.h>
List of all members.
Public Member Functions |
| Grille3d (int n_r, int n_t, int n_p, int typer, int typet, int typep, int baser) |
| Constructor.
|
| Grille3d (const Grille3d &) |
| Copy constructor.
|
void | operator= (const Grille3d &) |
| Assignement operator.
|
virtual | ~Grille3d () |
| Destructor.
|
int | get_nr () const |
| Returns nr .
|
int | get_nt () const |
| Returns nt .
|
int | get_np () const |
| Returns np .
|
int | get_type_r () const |
| Returns type_r .
|
int | get_type_t () const |
| Returns type_t .
|
int | get_type_p () const |
| Returns type_p .
|
int | get_base_r () const |
| Returns base_r .
|
Public Attributes |
double * | x |
| Array of values of at the nr collocation points.
|
double * | tet |
| Array of values of at the nt collocation points.
|
double * | phi |
| Array of values of at the np collocation points.
|
Protected Member Functions |
void | compute_radial_grid () |
| Computes the collocation point coordinates in the radial direction.
|
Protected Attributes |
const int | nr |
| Number of points in r ().
|
const int | nt |
| Number of points in .
|
const int | np |
| Number of points in .
|
int | type_r |
| Type of sampling in r () (RARE ,FIN ,UNSURR ).
|
int | type_t |
| Type of sampling in (SYM ,NONSYM ).
|
int | type_p |
| Type of sampling in (SYM ,NONSYM ).
|
int | base_r |
| Type of radial spectral basis (BASE_CHEB , BASE_LEG , BASE_JAC02 ).
|
Detailed Description
3D grid class in one domain.
()
Basic 3D spherical grid class in spherical coordinates . The radial coordinate lies in the range [0, 1] or [-1, 1] depending upon the sampling (RARE
or FIN
). Its relation with the physical radial coordinate r is defined by the mapping (cf. class Map
) and is described in Bonazzola, Gourgoulhon & Marck, Phys. Rev. D 58, 104020 (1998). Note: this monogrid should not be used. Use instead Mg3d
.
- Version:
- $Id: grilles.h,v 1.22 2014/10/06 15:09:39 j_novak Exp $#
Definition at line 190 of file grilles.h.
Constructor & Destructor Documentation
Grille3d::Grille3d |
( |
int |
n_r, |
|
|
int |
n_t, |
|
|
int |
n_p, |
|
|
int |
typer, |
|
|
int |
typet, |
|
|
int |
typep, |
|
|
int |
baser | |
|
) |
| | |
Grille3d::~Grille3d |
( |
|
) |
[virtual] |
Member Function Documentation
void Grille3d::compute_radial_grid |
( |
|
) |
[protected] |
int Grille3d::get_base_r |
( |
|
) |
const [inline] |
int Grille3d::get_np |
( |
|
) |
const [inline] |
int Grille3d::get_nr |
( |
|
) |
const [inline] |
int Grille3d::get_nt |
( |
|
) |
const [inline] |
int Grille3d::get_type_p |
( |
|
) |
const [inline] |
int Grille3d::get_type_r |
( |
|
) |
const [inline] |
int Grille3d::get_type_t |
( |
|
) |
const [inline] |
void Grille3d::operator= |
( |
const Grille3d & |
|
) |
|
Member Data Documentation
Type of radial spectral basis (BASE_CHEB
, BASE_LEG
, BASE_JAC02 ).
Definition at line 201 of file grilles.h.
Number of points in .
Definition at line 194 of file grilles.h.
Number of points in r ().
Definition at line 192 of file grilles.h.
Number of points in .
Definition at line 193 of file grilles.h.
Array of values of at the np
collocation points.
Definition at line 209 of file grilles.h.
Array of values of at the nt
collocation points.
Definition at line 207 of file grilles.h.
Type of sampling in (SYM
,NONSYM
).
Definition at line 199 of file grilles.h.
Type of sampling in r () (RARE
,FIN
,UNSURR
).
Definition at line 197 of file grilles.h.
Type of sampling in (SYM
,NONSYM
).
Definition at line 198 of file grilles.h.
Array of values of at the nr
collocation points.
Definition at line 205 of file grilles.h.
The documentation for this class was generated from the following files: