|
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. | |
| 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 ![]() nr collocation points. | |
| double * | tet |
Array of values of ![]() nt collocation points. | |
| double * | phi |
Array of values of ![]() 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 ). | |
3D grid class in one domain.
()
Basic 3D spherical grid class in spherical coordinates 

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 ) |
| Lorene::Grille3d::Grille3d | ( | const Grille3d & | ) |
Copy constructor.
References Grille3d().
|
virtual |
|
protected |
Computes the collocation point coordinates in the radial direction.
Definition at line 172 of file grille3d.C.
References base_r, Lorene::cos(), nr, Lorene::Tbl::set_etat_qcq(), Lorene::sin(), Lorene::Tbl::t, type_r, and x.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void Lorene::Grille3d::operator= | ( | const Grille3d & | ) |
Assignement operator.
References Grille3d().
|
protected |
|
protected |
|
protected |
|
protected |
| double* Lorene::Grille3d::phi |
| double* Lorene::Grille3d::tet |
|
protected |
|
protected |
|
protected |
| double* Lorene::Grille3d::x |