|
LORENE
|
3D grid class in one domain. More...
#include <grilles.h>
Public Member Functions | |
| Grille3d (int n_r, int n_t, int n_p, int typer, int typet, int typep, int baser) | |
| Constructor. More... | |
| Grille3d (const Grille3d &) | |
| Copy constructor. More... | |
| void | operator= (const Grille3d &) |
| Assignement operator. More... | |
| virtual | ~Grille3d () |
| Destructor. More... | |
| int | get_nr () const |
Returns nr. More... | |
| int | get_nt () const |
Returns nt. More... | |
| int | get_np () const |
Returns np. More... | |
| int | get_type_r () const |
Returns type_r. More... | |
| int | get_type_t () const |
Returns type_t. More... | |
| int | get_type_p () const |
Returns type_p. More... | |
| int | get_base_r () const |
Returns base_r. More... | |
Public Attributes | |
| double * | x |
Array of values of at the nr collocation points. More... | |
| double * | tet |
Array of values of at the nt collocation points. More... | |
| double * | phi |
Array of values of at the np collocation points. More... | |
Protected Member Functions | |
| void | compute_radial_grid () |
| Computes the collocation point coordinates in the radial direction. More... | |
Protected Attributes | |
| const int | nr |
Number of points in r ( ) More... | |
| const int | nt |
Number of points in . More... | |
| const int | np |
Number of points in . More... | |
| int | type_r |
Type of sampling in r ( ) (RARE,FIN,UNSURR ) More... | |
| int | type_t |
Type of sampling in (SYM,NONSYM) More... | |
| int | type_p |
Type of sampling in (SYM,NONSYM) More... | |
| int | base_r |
Type of radial spectral basis (BASE_CHEB, BASE_LEG, BASE_JAC02 ) More... | |
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.
| Lorene::Grille3d::Grille3d | ( | int | n_r, |
| int | n_t, | ||
| int | n_p, | ||
| int | typer, | ||
| int | typet, | ||
| int | typep, | ||
| int | baser | ||
| ) |
Constructor.
Definition at line 125 of file grille3d.C.
References compute_radial_grid(), nr, nt, tet, type_t, and x.
| Lorene::Grille3d::Grille3d | ( | const Grille3d & | ) |
Copy constructor.
|
virtual |
|
protected |
Computes the collocation point coordinates in the radial direction.
Definition at line 175 of file grille3d.C.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void Lorene::Grille3d::operator= | ( | const Grille3d & | ) |
Assignement operator.
|
protected |
|
protected |
|
protected |
|
protected |
| double* Lorene::Grille3d::phi |
| double* Lorene::Grille3d::tet |
|
protected |
|
protected |
|
protected |
| double* Lorene::Grille3d::x |