|
LORENE
|
Public Member Functions | |
| Map_star (const Mg3d &mgrille, const double *r_limits) | |
| Standard Constructor. | |
| Map_star (const Mg3d &mgrille, const Tbl &r_limits) | |
| Standard Constructor with Tbl. | |
| Map_star (const Map_star &) | |
| Copy constructor. | |
| Map_star (const Mg3d &, const string &) | |
| Constructor from a formatted file. | |
| Map_star (const Mg3d &, FILE *) | |
Constructor from a file (see sauve(FILE*) ). | |
| virtual | ~Map_star () |
| Destructor. | |
| virtual const Map_af & | mp_angu (int) const |
Returns the "angular" mapping for the outside of domain l_zone. | |
| virtual void | operator= (const Map_af &) |
| Assignment to an affine mapping. | |
| virtual void | operator= (const Map_star &) |
| Assignment to another Map_star. | |
| const Valeur & | get_alpha () const |
Returns the reference on the Tbl alpha. | |
| const Valeur & | get_beta () const |
| void | set_alpha (const Tbl &alpha0, int l) |
Modifies the value of ![]() | |
| void | set_beta (const Tbl &beta0, int l) |
| void | set_alpha (const Valeur &alpha0) |
| void | set_beta (const Valeur &beta0) |
| virtual double | val_r (int l, double xi, double theta, double pphi) const |
Returns the value of the radial coordinate r for a given ![]() | |
| virtual void | val_lx (double rr, double theta, double pphi, int &l, double &xi) const |
Computes the domain index l and the value of ![]() ![]() | |
| virtual void | val_lx (double rr, double theta, double pphi, const Param &par, int &l, double &xi) const |
Computes the domain index l and the value of ![]() ![]() | |
| virtual double | val_r_jk (int l, double xi, int j, int k) const |
Returns the value of the radial coordinate r for a given ![]() ![]() | |
| virtual void | val_lx_jk (double rr, int j, int k, const Param &par, int &l, double &xi) const |
Computes the domain index l and the value of ![]() ![]() | |
| virtual bool | operator== (const Map &) const |
| Comparison operator (egality). | |
| virtual void | dsdr (const Scalar &ci, Scalar &resu) const |
Computes ![]() Scalar. | |
| virtual void | srstdsdp (const Scalar &, Scalar &) const |
Computes ![]() Scalar. | |
| virtual void | srdsdt (const Scalar &, Scalar &) const |
Computes ![]() Scalar. | |
| virtual void | dsdt (const Scalar &, Scalar &) const |
Computes ![]() Scalar . | |
| virtual void | stdsdp (const Scalar &, Scalar &) const |
Computes ![]() Scalar . | |
| virtual void | sauve (FILE *) const |
| Save in a file. | |
| virtual void | reevaluate (const Map *mp_prev, int nzet, Cmp &uu) const |
Recomputes the values of a Cmp at the collocation points after a change in the mapping. | |
| virtual void | reevaluate (const Map *mp_prev, int nzet, Scalar &uu) const |
Recomputes the values of a Scalar at the collocation points after a change in the mapping. | |
| virtual void | reevaluate_symy (const Map *mp_prev, int nzet, Cmp &uu) const |
Recomputes the values of a Cmp at the collocation points after a change in the mapping. | |
| virtual void | reevaluate_symy (const Map *mp_prev, int nzet, Scalar &uu) const |
Recomputes the values of a Scalar at the collocation points after a change in the mapping. | |
| virtual void | mult_r (Scalar &uu) const |
Multiplication by r of a Scalar, the dzpuis of uu is not changed. | |
| virtual void | mult_r (Cmp &ci) const |
Multiplication by r of a Cmp. | |
| virtual void | mult_r_zec (Scalar &) const |
Multiplication by r (in the compactified external domain only) of a Scalar. | |
| virtual void | mult_rsint (Scalar &) const |
Multiplication by ![]() Scalar. | |
| virtual void | div_rsint (Scalar &) const |
Division by ![]() Scalar. | |
| virtual void | div_r (Scalar &) const |
Division by r of a Scalar. | |
| virtual void | div_r_zec (Scalar &) const |
Division by r (in the compactified external domain only) of a Scalar. | |
| virtual void | mult_cost (Scalar &) const |
Multiplication by ![]() Scalar. | |
| virtual void | div_cost (Scalar &) const |
Division by ![]() Scalar. | |
| virtual void | mult_sint (Scalar &) const |
Multiplication by ![]() Scalar. | |
| virtual void | div_sint (Scalar &) const |
Division by ![]() Scalar. | |
| virtual void | div_tant (Scalar &) const |
Division by ![]() Scalar. | |
| virtual void | comp_x_from_spherical (const Scalar &v_r, const Scalar &v_theta, const Scalar &v_phi, Scalar &v_x) const |
Computes the Cartesian x component (with respect to bvect_cart) of a vector given by its spherical components with respect to bvect_spher. | |
| virtual void | comp_x_from_spherical (const Cmp &v_r, const Cmp &v_theta, const Cmp &v_phi, Cmp &v_x) const |
Cmp version | |
| virtual void | comp_y_from_spherical (const Scalar &v_r, const Scalar &v_theta, const Scalar &v_phi, Scalar &v_y) const |
Computes the Cartesian y component (with respect to bvect_cart ) of a vector given by its spherical components with respect to bvect_spher . | |
| virtual void | comp_y_from_spherical (const Cmp &v_r, const Cmp &v_theta, const Cmp &v_phi, Cmp &v_y) const |
Cmp version | |
| virtual void | comp_z_from_spherical (const Scalar &v_r, const Scalar &v_theta, Scalar &v_z) const |
Computes the Cartesian z component (with respect to bvect_cart ) of a vector given by its spherical components with respect to bvect_spher . | |
| virtual void | comp_z_from_spherical (const Cmp &v_r, const Cmp &v_theta, Cmp &v_z) const |
Cmp version | |
| virtual void | comp_r_from_cartesian (const Scalar &v_x, const Scalar &v_y, const Scalar &v_z, Scalar &v_r) const |
Computes the Spherical r component (with respect to bvect_spher ) of a vector given by its cartesian components with respect to bvect_cart . | |
| virtual void | comp_r_from_cartesian (const Cmp &v_x, const Cmp &v_y, const Cmp &v_z, Cmp &v_r) const |
Cmp version | |
| virtual void | comp_t_from_cartesian (const Scalar &v_x, const Scalar &v_y, const Scalar &v_z, Scalar &v_t) const |
Computes the Spherical ![]() bvect_spher ) of a vector given by its cartesian components with respect to bvect_cart . | |
| virtual void | comp_t_from_cartesian (const Cmp &v_x, const Cmp &v_y, const Cmp &v_z, Cmp &v_t) const |
Cmp version | |
| virtual void | comp_p_from_cartesian (const Scalar &v_x, const Scalar &v_y, Scalar &v_p) const |
Computes the Spherical ![]() bvect_spher ) of a vector given by its cartesian components with respect to bvect_cart . | |
| virtual void | comp_p_from_cartesian (const Cmp &v_x, const Cmp &v_y, Cmp &v_p) const |
Cmp version | |
| virtual void | dec_dzpuis (Scalar &) const |
Decreases by 1 the value of dzpuis of a Scalar and changes accordingly its values in the compactified external domain (CED). | |
| virtual void | dec2_dzpuis (Scalar &) const |
Decreases by 2 the value of dzpuis of a Scalar and changes accordingly its values in the compactified external domain (CED). | |
| virtual void | inc_dzpuis (Scalar &) const |
Increases by 1 the value of dzpuis of a Scalar and changes accordingly its values in the compactified external domain (CED). | |
| virtual void | inc2_dzpuis (Scalar &) const |
Increases by 2 the value of dzpuis of a Scalar and changes accordingly its values in the compactified external domain (CED). | |
| virtual void | poisson_compact (const Cmp &source, const Cmp &aa, const Tenseur &bb, const Param &par, Cmp &psi) const |
Resolution of the elliptic equation ![]() | |
| virtual void | poisson_compact (int nzet, const Cmp &source, const Cmp &aa, const Tenseur &bb, const Param &par, Cmp &psi) const |
Resolution of the elliptic equation ![]() | |
Public Attributes | |
| Coord | xsr |
![]() ![]() | |
| Coord | dxdr |
![]() ![]() | |
| Coord | drdt |
![]() ![]() | |
| Coord | stdrdp |
![]() ![]() | |
| Coord | srdrdt |
![]() ![]() | |
| Coord | srstdrdp |
![]() ![]() | |
| Coord | sr2drdt |
![]() ![]() | |
| Coord | sr2stdrdp |
![]() ![]() | |
| Coord | d2rdx2 |
![]() ![]() | |
| Coord | lapr_tp |
![]() ![]() | |
| Coord | d2rdtdx |
![]() ![]() | |
| Coord | sstd2rdpdx |
![]() ![]() | |
| Coord | sr2d2rdt2 |
![]() ![]() | |
Protected Member Functions | |
| virtual void | reset_coord () |
Resets all the member Coords. | |
Private Member Functions | |
| void | set_coord () |
Assignment of the building functions to the member Coords. | |
| virtual ostream & | operator>> (ostream &) const |
| Operator >>. | |
| virtual void | homothetie (double) |
| virtual void | resize (int, double) |
| < Not implemented | |
| virtual void | adapt (const Cmp &, const Param &, int) |
| < Not implemented | |
| virtual void | dsdr (const Cmp &, Cmp &) const |
| < Not implemented | |
| virtual void | dsdxi (const Cmp &, Cmp &) const |
| < Not implemented | |
| virtual void | dsdxi (const Scalar &, Scalar &) const |
| < Not implemented | |
| virtual void | dsdradial (const Scalar &uu, Scalar &resu) const |
| < Not implemented | |
| virtual void | srdsdt (const Cmp &, Cmp &) const |
| < Not implemented | |
| virtual void | srstdsdp (const Cmp &, Cmp &) const |
| < Not implemented | |
| virtual void | laplacien (const Scalar &, int, Scalar &) const |
| < Not implemented | |
| virtual void | laplacien (const Cmp &, int, Cmp &) const |
| < Not implemented | |
| virtual void | lapang (const Scalar &, Scalar &) const |
| < Not implemented | |
| virtual void | primr (const Scalar &, Scalar &, bool) const |
| < Not implemented | |
| virtual Tbl * | integrale (const Cmp &) const |
| < Not implemented | |
| virtual void | poisson (const Cmp &, Param &, Cmp &) const |
| < Not implemented | |
| virtual void | poisson_tau (const Cmp &, Param &, Cmp &) const |
| < Not implemented | |
| virtual void | poisson_falloff (const Cmp &, Param &, Cmp &, int) const |
| < Not implemented | |
| virtual void | poisson_ylm (const Cmp &, Param &, Cmp &, int, double *) const |
| < Not implemented | |
| virtual void | poisson_regular (const Cmp &, int, int, double, Param &, Cmp &, Cmp &, Cmp &, Tenseur &, Cmp &, Cmp &) const |
| < Not implemented | |
| virtual void | poisson_angu (const Scalar &, Param &, Scalar &, double=0) const |
| < Not implemented | |
| virtual void | poisson_angu (const Cmp &, Param &, Cmp &, double=0) const |
| < Not implemented | |
| virtual Param * | donne_para_poisson_vect (Param &, int) const |
| < Not implemented | |
| virtual void | poisson_frontiere (const Cmp &, const Valeur &, int, int, Cmp &, double=0., double=0.) const |
| < Not implemented | |
| virtual void | poisson_frontiere_double (const Cmp &, const Valeur &, const Valeur &, int, Cmp &) const |
| < Not implemented | |
| virtual void | poisson_interne (const Cmp &, const Valeur &, Param &, Cmp &) const |
| < Not implemented | |
| virtual void | poisson2d (const Cmp &, const Cmp &, Param &, Cmp &) const |
| < Not implemented | |
| virtual void | dalembert (Param &, Scalar &, const Scalar &, const Scalar &, const Scalar &) const |
| < Not implemented | |
Private Attributes | |
| Valeur | alpha |
Array (size: mg->nzone*Nt*Np ) of the values of ![]() | |
| Valeur | beta |
| Lorene::Map_star::Map_star | ( | const Mg3d & | mgrille, |
| const double * | r_limits ) |
Standard Constructor.
| mgrille | [input] Multi-domain grid on which the mapping is defined |
| r_limits | [input] Array (size: Nt*Np ) (only 1 domain at the moment) of the value of r at the boundaries of the various domains :
|
Definition at line 52 of file map_star.C.
References alpha, Lorene::c_est_pas_fait(), and Lorene::Map_radial::Map_radial().
Standard Constructor with Tbl.
| mgrille | [input] Multi-domain grid on which the mapping is defined |
| r_limits | [input] Array (size: Nt*Np ) (only 1 domain at the moment) of the value of r at the boundaries of the various domains :
|
Definition at line 59 of file map_star.C.
References alpha, Lorene::Map_radial::Map_radial(), and set_coord().
| Lorene::Map_star::Map_star | ( | const Map_star & | mp | ) |
Copy constructor.
Definition at line 109 of file map_star.C.
References alpha, Lorene::Map_radial::Map_radial(), Map_star(), and set_coord().
| Lorene::Map_star::Map_star | ( | const Mg3d & | , |
| const string & | ) |
Constructor from a formatted file.
References Lorene::Map(), and Map_star().
| Lorene::Map_star::Map_star | ( | const Mg3d & | mgi, |
| FILE * | fd ) |
Constructor from a file (see sauve(FILE*) ).
Definition at line 118 of file map_star.C.
References alpha, Lorene::Map_radial::Map_radial(), and set_coord().
|
virtual |
Destructor.
Definition at line 128 of file map_star.C.
< Not implemented
Definition at line 51 of file map_star_pas_fait.C.
|
virtualinherited |
Cmp version
Definition at line 179 of file map_radial_comp_rtp.C.
References comp_p_from_cartesian().
|
virtualinherited |
Computes the Spherical 
bvect_spher ) of a vector given by its cartesian components with respect to bvect_cart .
| v_x | [input] x-component of the vector |
| v_y | [input] y-component of the vector |
| v_p | [output] ![]() |
Definition at line 186 of file map_radial_comp_rtp.C.
References Lorene::Scalar::check_dzpuis(), Lorene::Scalar::dz_nonzero(), Lorene::Scalar::get_dzpuis(), Lorene::Scalar::get_etat(), Lorene::Tensor::get_mp(), Lorene::Scalar::get_spectral_va(), Lorene::Valeur::mult_cp(), Lorene::Valeur::mult_sp(), and Lorene::Scalar::set_dzpuis().
|
virtualinherited |
Cmp version
Definition at line 68 of file map_radial_comp_rtp.C.
References comp_r_from_cartesian().
|
virtualinherited |
Computes the Spherical r component (with respect to bvect_spher ) of a vector given by its cartesian components with respect to bvect_cart .
| v_x | [input] x-component of the vector |
| v_y | [input] y-component of the vector |
| v_z | [input] z-component of the vector |
| v_r | [output] r -component of the vector |
Definition at line 75 of file map_radial_comp_rtp.C.
References Lorene::Scalar::check_dzpuis(), Lorene::Scalar::dz_nonzero(), Lorene::Scalar::get_dzpuis(), Lorene::Scalar::get_etat(), Lorene::Tensor::get_mp(), Lorene::Scalar::get_spectral_va(), Lorene::Valeur::mult_cp(), Lorene::Valeur::mult_ct(), Lorene::Valeur::mult_sp(), Lorene::Valeur::mult_st(), and Lorene::Scalar::set_dzpuis().
|
virtualinherited |
Cmp version
Definition at line 124 of file map_radial_comp_rtp.C.
References comp_t_from_cartesian().
|
virtualinherited |
Computes the Spherical 
bvect_spher ) of a vector given by its cartesian components with respect to bvect_cart .
| v_x | [input] x-component of the vector |
| v_y | [input] y-component of the vector |
| v_z | [input] z-component of the vector |
| v_t | [output] ![]() |
Definition at line 131 of file map_radial_comp_rtp.C.
References Lorene::Scalar::check_dzpuis(), Lorene::Scalar::dz_nonzero(), Lorene::Scalar::get_dzpuis(), Lorene::Scalar::get_etat(), Lorene::Tensor::get_mp(), Lorene::Scalar::get_spectral_va(), Lorene::Valeur::mult_cp(), Lorene::Valeur::mult_ct(), Lorene::Valeur::mult_sp(), Lorene::Valeur::mult_st(), and Lorene::Scalar::set_dzpuis().
|
virtualinherited |
Cmp version
Definition at line 71 of file map_radial_comp_xyz.C.
References comp_x_from_spherical().
|
virtualinherited |
Computes the Cartesian x component (with respect to bvect_cart) of a vector given by its spherical components with respect to bvect_spher.
| v_r | [input] r -component of the vector |
| v_theta | [input] ![]() |
| v_phi | [input] ![]() |
| v_x | [output] x-component of the vector |
Definition at line 79 of file map_radial_comp_xyz.C.
References Lorene::Scalar::check_dzpuis(), Lorene::Scalar::dz_nonzero(), Lorene::Scalar::get_dzpuis(), Lorene::Scalar::get_etat(), Lorene::Tensor::get_mp(), Lorene::Scalar::get_spectral_va(), Lorene::Valeur::mult_cp(), Lorene::Valeur::mult_ct(), Lorene::Valeur::mult_sp(), Lorene::Valeur::mult_st(), and Lorene::Scalar::set_dzpuis().
|
virtualinherited |
Cmp version
Definition at line 129 of file map_radial_comp_xyz.C.
References comp_y_from_spherical().
|
virtualinherited |
Computes the Cartesian y component (with respect to bvect_cart ) of a vector given by its spherical components with respect to bvect_spher .
| v_r | [input] r -component of the vector |
| v_theta | [input] ![]() |
| v_phi | [input] ![]() |
| v_y | [output] y-component of the vector |
Definition at line 138 of file map_radial_comp_xyz.C.
References Lorene::Scalar::check_dzpuis(), Lorene::Scalar::dz_nonzero(), Lorene::Scalar::get_dzpuis(), Lorene::Scalar::get_etat(), Lorene::Tensor::get_mp(), Lorene::Scalar::get_spectral_va(), Lorene::Valeur::mult_cp(), Lorene::Valeur::mult_ct(), Lorene::Valeur::mult_sp(), Lorene::Valeur::mult_st(), and Lorene::Scalar::set_dzpuis().
|
virtualinherited |
Cmp version
Definition at line 187 of file map_radial_comp_xyz.C.
References comp_z_from_spherical().
|
virtualinherited |
Computes the Cartesian z component (with respect to bvect_cart ) of a vector given by its spherical components with respect to bvect_spher .
| v_r | [input] r -component of the vector |
| v_theta | [input] ![]() |
| v_z | [output] z-component of the vector |
Definition at line 195 of file map_radial_comp_xyz.C.
References Lorene::Scalar::check_dzpuis(), Lorene::Scalar::dz_nonzero(), Lorene::Scalar::get_dzpuis(), Lorene::Scalar::get_etat(), Lorene::Tensor::get_mp(), Lorene::Scalar::get_spectral_va(), Lorene::Valeur::mult_ct(), Lorene::Valeur::mult_st(), and Lorene::Scalar::set_dzpuis().
|
privatevirtual |
< Not implemented
Definition at line 134 of file map_star_pas_fait.C.
|
virtualinherited |
Decreases by 2 the value of dzpuis of a Scalar and changes accordingly its values in the
compactified external domain (CED).
Definition at line 751 of file map_radial_r_manip.C.
References Lorene::Valeur::annule(), Lorene::Valeur::base, Lorene::Scalar::get_dzpuis(), Lorene::Scalar::get_etat(), Lorene::Valeur::get_mg(), Lorene::Valeur::mult2_xm1_zec(), Lorene::Scalar::set_dzpuis(), Lorene::Scalar::set_etat_qcq(), Lorene::Scalar::set_spectral_va(), and xsr.
|
virtualinherited |
Decreases by 1 the value of dzpuis of a Scalar and changes accordingly its values in the compactified external domain (CED).
Definition at line 646 of file map_radial_r_manip.C.
References Lorene::Valeur::annule(), Lorene::Valeur::base, Lorene::Scalar::get_dzpuis(), Lorene::Scalar::get_etat(), Lorene::Valeur::get_mg(), Lorene::Valeur::mult_xm1_zec(), Lorene::Scalar::set_dzpuis(), Lorene::Scalar::set_etat_qcq(), Lorene::Scalar::set_spectral_va(), and xsr.
|
virtualinherited |
Division by 
Scalar.
Definition at line 88 of file map_radial_th_manip.C.
References Lorene::Scalar::get_etat(), Lorene::Valeur::get_mg(), Lorene::Valeur::scost(), Lorene::Scalar::set_etat_qcq(), and Lorene::Scalar::set_spectral_va().
|
virtualinherited |
Division by r of a Scalar.
Definition at line 517 of file map_radial_r_manip.C.
References Lorene::Scalar::annule(), Lorene::Tensor::annule_domain(), Lorene::Valeur::base, Lorene::Scalar::get_etat(), Lorene::Valeur::get_mg(), Lorene::Valeur::mult_x(), Lorene::Scalar::set_etat_qcq(), Lorene::Scalar::set_spectral_va(), Lorene::Valeur::sx(), and xsr.
|
virtualinherited |
Division by r (in the compactified external domain only) of a Scalar.
Definition at line 588 of file map_radial_r_manip.C.
References Lorene::Valeur::annule(), Lorene::Valeur::base, Lorene::Scalar::get_etat(), Lorene::Valeur::get_mg(), Lorene::Scalar::get_spectral_va(), Lorene::Valeur::mult_xm1_zec(), Lorene::Scalar::set_etat_qcq(), Lorene::Scalar::set_spectral_va(), and xsr.
|
virtualinherited |
Division by 
Scalar.
Definition at line 437 of file map_radial_r_manip.C.
References Lorene::Scalar::annule(), Lorene::Tensor::annule_domain(), Lorene::Valeur::base, Lorene::Scalar::get_etat(), Lorene::Valeur::get_mg(), Lorene::Valeur::mult_x(), Lorene::Scalar::set_etat_qcq(), Lorene::Scalar::set_spectral_va(), Lorene::Valeur::ssint(), Lorene::Valeur::sx(), and xsr.
|
virtualinherited |
Division by 
Scalar.
Definition at line 136 of file map_radial_th_manip.C.
References Lorene::Scalar::get_etat(), Lorene::Valeur::get_mg(), Lorene::Scalar::set_etat_qcq(), Lorene::Scalar::set_spectral_va(), and Lorene::Valeur::ssint().
|
virtualinherited |
Division by 
Scalar.
Definition at line 161 of file map_radial_th_manip.C.
References Lorene::Scalar::get_etat(), Lorene::Valeur::get_mg(), Lorene::Valeur::mult_ct(), Lorene::Scalar::set_etat_qcq(), Lorene::Scalar::set_spectral_va(), and Lorene::Valeur::ssint().
< Not implemented
Definition at line 113 of file map_star_pas_fait.C.
< Not implemented
Definition at line 55 of file map_star_pas_fait.C.
Computes 
Scalar.
Note that in the compactified external domain (CED), it computes 
| ci | [input] field to consider |
| resu | [output] derivative of ci |
Definition at line 39 of file map_star_deriv.C.
References Lorene::Valeur::annule(), Lorene::Tensor::annule_domain(), Lorene::Valeur::coef(), Lorene::Valeur::dsdx(), Lorene::Map_radial::dxdr, Lorene::Valeur::get_base(), Lorene::Scalar::get_dzpuis(), Lorene::Scalar::get_etat(), Lorene::Tensor::get_mp(), Lorene::Scalar::get_spectral_va(), Lorene::Valeur::mult_xm1_zec(), Lorene::Valeur::set(), Lorene::Scalar::set_dzpuis(), Lorene::Scalar::set_etat_zero(), Lorene::Scalar::set_spectral_base(), and Lorene::Scalar::set_spectral_va().
< Not implemented
Definition at line 154 of file map_star_pas_fait.C.
Computes 
Scalar .
| uu | [input] scalar field |
| resu | [output] derivative of uu |
Definition at line 231 of file map_star_deriv.C.
References Lorene::Map_radial::drdt, Lorene::Valeur::dsdt(), Lorene::Valeur::dsdx(), Lorene::Map_radial::dxdr, Lorene::Valeur::get_base(), Lorene::Scalar::get_dzpuis(), Lorene::Scalar::get_etat(), Lorene::Tensor::get_mp(), Lorene::Scalar::get_spectral_va(), Lorene::Valeur::set_base(), Lorene::Scalar::set_dzpuis(), and Lorene::Scalar::set_etat_zero().
< Not implemented
Definition at line 59 of file map_star_pas_fait.C.
< Not implemented
Definition at line 63 of file map_star_pas_fait.C.
| const Valeur & Lorene::Map_star::get_alpha | ( | ) | const |
Returns the reference on the Tbl alpha.
Definition at line 237 of file map_star.C.
References alpha.
| const Valeur & Lorene::Map_star::get_beta | ( | ) | const |
Definition at line 240 of file map_star.C.
|
privatevirtual |
Definition at line 43 of file map_star_pas_fait.C.
|
virtualinherited |
Increases by 2 the value of dzpuis of a Scalar and changes accordingly its values in the
compactified external domain (CED).
Definition at line 802 of file map_radial_r_manip.C.
References Lorene::Valeur::annule(), Lorene::Valeur::base, Lorene::Scalar::get_dzpuis(), Lorene::Scalar::get_etat(), Lorene::Valeur::get_mg(), Lorene::Scalar::set_dzpuis(), Lorene::Scalar::set_etat_qcq(), Lorene::Scalar::set_spectral_va(), Lorene::Valeur::sxm1_zec(), and xsr.
|
virtualinherited |
Increases by 1 the value of dzpuis of a Scalar and changes accordingly its values in the
compactified external domain (CED).
Definition at line 699 of file map_radial_r_manip.C.
References Lorene::Valeur::annule(), Lorene::Valeur::base, Lorene::Scalar::get_dzpuis(), Lorene::Scalar::get_etat(), Lorene::Valeur::get_mg(), Lorene::Scalar::set_dzpuis(), Lorene::Scalar::set_etat_qcq(), Lorene::Scalar::set_spectral_va(), Lorene::Valeur::sxm1_zec(), and xsr.
< Not implemented
Definition at line 87 of file map_star_pas_fait.C.
< Not implemented
Definition at line 83 of file map_star_pas_fait.C.
< Not implemented
Definition at line 75 of file map_star_pas_fait.C.
< Not implemented
Definition at line 79 of file map_star_pas_fait.C.
|
virtual |
Returns the "angular" mapping for the outside of domain l_zone.
Valid only for the class Map_af.
Definition at line 138 of file map_star_pas_fait.C.
|
virtualinherited |
Multiplication by 
Scalar.
Definition at line 64 of file map_radial_th_manip.C.
References Lorene::Scalar::get_etat(), Lorene::Valeur::get_mg(), Lorene::Valeur::mult_ct(), Lorene::Scalar::set_etat_qcq(), and Lorene::Scalar::set_spectral_va().
|
virtualinherited |
Multiplication by r of a Cmp.
In the CED, there is only a decrement of dzpuis
Definition at line 222 of file map_radial_r_manip.C.
References Lorene::Cmp::annule(), Lorene::Valeur::base, Lorene::Cmp::get_dzpuis(), Lorene::Cmp::get_etat(), Lorene::Valeur::get_mg(), Lorene::Valeur::mult_x(), Lorene::Cmp::set_dzpuis(), Lorene::Cmp::va, and xsr.
|
virtualinherited |
Multiplication by r of a Scalar, the dzpuis
of uu is not changed.
Definition at line 147 of file map_radial_r_manip.C.
References Lorene::Scalar::annule(), Lorene::Tensor::annule_domain(), Lorene::Valeur::base, Lorene::Scalar::get_etat(), Lorene::Valeur::get_mg(), Lorene::Valeur::mult_x(), Lorene::Scalar::set_etat_qcq(), Lorene::Scalar::set_spectral_va(), Lorene::Valeur::sxm1_zec(), and xsr.
|
virtualinherited |
Multiplication by r (in the compactified external domain only) of a Scalar.
Definition at line 299 of file map_radial_r_manip.C.
References Lorene::Valeur::annule(), Lorene::Valeur::base, Lorene::Scalar::get_etat(), Lorene::Valeur::get_mg(), Lorene::Scalar::set_etat_qcq(), Lorene::Scalar::set_spectral_va(), Lorene::Valeur::sxm1_zec(), and xsr.
|
virtualinherited |
Multiplication by 
Scalar.
Definition at line 358 of file map_radial_r_manip.C.
References Lorene::Scalar::annule(), Lorene::Tensor::annule_domain(), Lorene::Valeur::base, Lorene::Scalar::get_etat(), Lorene::Valeur::get_mg(), Lorene::Valeur::mult_st(), Lorene::Valeur::mult_x(), Lorene::Scalar::set_etat_qcq(), Lorene::Scalar::set_spectral_va(), Lorene::Valeur::sxm1_zec(), and xsr.
|
virtualinherited |
Multiplication by 
Scalar.
Definition at line 112 of file map_radial_th_manip.C.
References Lorene::Scalar::get_etat(), Lorene::Valeur::get_mg(), Lorene::Valeur::mult_st(), Lorene::Scalar::set_etat_qcq(), and Lorene::Scalar::set_spectral_va().
|
virtual |
Assignment to an affine mapping.
Implements Lorene::Map_radial.
Definition at line 155 of file map_star.C.
References Lorene::c_est_pas_fait().
|
virtual |
Assignment to another Map_star.
Definition at line 139 of file map_star.C.
References alpha, Map_star(), Lorene::Map_radial::reset_coord(), Lorene::set_ori(), and Lorene::set_rot_phi().
|
virtual |
Comparison operator (egality).
Implements Lorene::Map_radial.
Definition at line 201 of file map_star.C.
References Lorene::abs(), alpha, Lorene::bvect_cart, Lorene::bvect_spher, Lorene::Map(), Map_star(), and Lorene::max().
|
privatevirtual |
Operator >>.
Definition at line 261 of file map_star.C.
References alpha, Lorene::phi, Lorene::r, Lorene::tet, and val_r().
< Not implemented
Definition at line 92 of file map_star_pas_fait.C.
|
privatevirtual |
< Not implemented
Definition at line 130 of file map_star_pas_fait.C.
|
privatevirtual |
< Not implemented
Definition at line 109 of file map_star_pas_fait.C.
|
privatevirtual |
< Not implemented
Definition at line 105 of file map_star_pas_fait.C.
|
virtualinherited |
Resolution of the elliptic equation 
| source | [input] source ![]() |
| aa | [input] factor a in the above equation |
| bb | [input] vector b in the above equation |
| par | [input/output] parameters of the iterative method of resolution : \ par.get_int(0) : [input] maximum number of iterations \ par.get_double(0) : [input] required precision: the iterative method is stopped as soon as the relative difference between ![]() ![]() par.get_double(0) \ par.get_double(1) : [input] relaxation parameter ![]() par.get_int_mod(0) : [output] number of iterations actually used to get the solution. |
| psi | [input/output]: input : previously computed value of ![]() psi must be set to zero); output: solution ![]() ![]() |
Definition at line 158 of file map_radial_poisson_cpt.C.
References Lorene::Cmp::annule(), Lorene::bvect_spher, Lorene::Valeur::c_cf, Lorene::Valeur::coef(), Lorene::Valeur::d2sdx2(), Lorene::diffrel(), Lorene::Cmp::dsdr(), Lorene::Valeur::dsdx(), dxdr, Lorene::Param::get_double(), Lorene::Cmp::get_etat(), Lorene::Tenseur::get_etat(), Lorene::Param::get_int(), Lorene::Param::get_int_mod(), Lorene::Cmp::get_mp(), Lorene::Tenseur::get_mp(), Lorene::Tenseur::get_triad(), Lorene::Valeur::lapang(), Lorene::Cmp::laplacien(), Lorene::max(), Lorene::min(), Lorene::Valeur::mult_x(), Lorene::Cmp::set_etat_qcq(), Lorene::Cmp::set_etat_zero(), Lorene::Cmp::srdsdt(), Lorene::Cmp::srstdsdp(), Lorene::Valeur::std_base_scal(), Lorene::Valeur::sx(), Lorene::Cmp::va, Lorene::Valeur::ylm(), and Lorene::Valeur::ylm_i().
|
virtualinherited |
Resolution of the elliptic equation 
| nzet | [input] number of domains covering the stellar interior |
| source | [input] source ![]() |
| aa | [input] factor a in the above equation |
| bb | [input] vector b in the above equation |
| par | [input/output] possible parameters to control the resolution of the equation. See the actual implementation in the derived class of Map for documentation. |
| psi | [input/output] solution ![]() ![]() |
Definition at line 456 of file map_radial_poisson_cpt.C.
References Lorene::Cmp::annule(), Lorene::Mtbl::annule_hard(), Lorene::Tbl::annule_hard(), Lorene::bvect_spher, Lorene::Valeur::c_cf, Lorene::Valeur::coef(), Lorene::diffrel(), Lorene::Cmp::dsdr(), Lorene::Map_af::dsdr(), Lorene::Param::get_double(), Lorene::Cmp::get_etat(), Lorene::Tenseur::get_etat(), Lorene::Param::get_int(), Lorene::Param::get_int_mod(), Lorene::Cmp::get_mp(), Lorene::Tenseur::get_mp(), Lorene::Tenseur::get_triad(), Lorene::Cmp::laplacien(), Lorene::Map_af::laplacien(), Lorene::max(), Lorene::min(), poisson_compact(), Lorene::Mtbl::set(), Lorene::Tbl::set(), Lorene::Cmp::set_etat_qcq(), Lorene::Cmp::set_etat_zero(), Lorene::Cmp::srdsdt(), Lorene::Cmp::srstdsdp(), Lorene::Valeur::std_base_scal(), Lorene::Tbl::t, Lorene::Cmp::va, Lorene::Valeur::ylm(), and Lorene::Valeur::ylm_i().
< Not implemented
Definition at line 146 of file map_star_pas_fait.C.
|
privatevirtual |
< Not implemented
Definition at line 118 of file map_star_pas_fait.C.
|
privatevirtual |
< Not implemented
Definition at line 122 of file map_star_pas_fait.C.
|
privatevirtual |
< Not implemented
Definition at line 126 of file map_star_pas_fait.C.
|
privatevirtual |
< Not implemented
Definition at line 100 of file map_star_pas_fait.C.
< Not implemented
Definition at line 96 of file map_star_pas_fait.C.
|
privatevirtual |
< Not implemented
Definition at line 150 of file map_star_pas_fait.C.
< Not implemented
Definition at line 142 of file map_star_pas_fait.C.
|
virtualinherited |
Recomputes the values of a Cmp at the collocation points after a change in the mapping.
| mp_prev | [input] Previous value of the mapping. |
| nzet | [input] Number of domains where the computation must be done: the computation is performed for the domains of index ![]() uu is set to zero in the other domains. |
| uu | [input/output] input : Cmp previously computed on the mapping *mp_prev ; ouput : values of (logically) the same Cmp at the grid points defined by *this. |
Definition at line 64 of file map_radial_reevaluate.C.
References Lorene::Param::add_double(), Lorene::Param::add_int(), Lorene::Param::add_int_mod(), Lorene::Cmp::annule(), Lorene::Cmp::get_dzpuis(), Lorene::Cmp::get_etat(), Lorene::Cmp::get_mp(), Lorene::Map(), Map_radial(), Lorene::r, Lorene::Mtbl::set_etat_qcq(), Lorene::Tbl::set_etat_qcq(), Lorene::Mtbl::t, Lorene::Cmp::va, val_lx_jk(), and Lorene::Mtbl_cf::val_point_jk().
|
virtualinherited |
Recomputes the values of a Scalar at the collocation points after a change in the mapping.
| mp_prev | [input] Previous value of the mapping. |
| nzet | [input] Number of domains where the computation must be done: the computation is performed for the domains of index ![]() uu is set to zero in the other domains. |
| uu | [input/output] input : Scalar previously computed on the mapping *mp_prev ; ouput : values of (logically) the same Scalar at the grid points defined by *this. |
Definition at line 179 of file map_radial_reevaluate.C.
References Lorene::Param::add_double(), Lorene::Param::add_int(), Lorene::Param::add_int_mod(), Lorene::Scalar::annule(), Lorene::Valeur::coef(), Lorene::Scalar::get_dzpuis(), Lorene::Scalar::get_etat(), Lorene::Tensor::get_mp(), Lorene::Map(), Map_radial(), Lorene::r, Lorene::Valeur::set_etat_c_qcq(), Lorene::Mtbl::set_etat_qcq(), Lorene::Tbl::set_etat_qcq(), Lorene::Scalar::set_spectral_va(), Lorene::Mtbl::t, val_lx_jk(), and Lorene::Mtbl_cf::val_point_jk().
|
virtualinherited |
Recomputes the values of a Cmp at the collocation points after a change in the mapping.
Case where the Cmp is symmetric with respect to the plane y=0.
| mp_prev | [input] Previous value of the mapping. |
| nzet | [input] Number of domains where the computation must be done: the computation is performed for the domains of index ![]() uu is set to zero in the other domains. |
| uu | [input/output] input : Cmp previously computed on the mapping *mp_prev ; ouput : values of (logically) the same Cmp at the grid points defined by *this. |
Definition at line 65 of file map_radial_reeval_symy.C.
References Lorene::Param::add_double(), Lorene::Param::add_int(), Lorene::Param::add_int_mod(), Lorene::Cmp::annule(), Lorene::Cmp::get_dzpuis(), Lorene::Cmp::get_etat(), Lorene::Cmp::get_mp(), Lorene::Map(), Map_radial(), Lorene::r, Lorene::Mtbl::set_etat_qcq(), Lorene::Tbl::set_etat_qcq(), Lorene::Mtbl::t, Lorene::Cmp::va, val_lx_jk(), and Lorene::Mtbl_cf::val_point_jk_symy().
|
virtualinherited |
Recomputes the values of a Scalar at the collocation points after a change in the mapping.
Case where the Scalar is symmetric with respect to the plane y=0.
| mp_prev | [input] Previous value of the mapping. |
| nzet | [input] Number of domains where the computation must be done: the computation is performed for the domains of index ![]() uu is set to zero in the other domains. |
| uu | [input/output] input : Scalar previously computed on the mapping *mp_prev ; ouput : values of (logically) the same Scalar at the grid points defined by *this. |
Definition at line 199 of file map_radial_reeval_symy.C.
References Lorene::Param::add_double(), Lorene::Param::add_int(), Lorene::Param::add_int_mod(), Lorene::Scalar::annule(), Lorene::Valeur::coef(), Lorene::Scalar::get_dzpuis(), Lorene::Scalar::get_etat(), Lorene::Tensor::get_mp(), Lorene::Map(), Map_radial(), Lorene::r, Lorene::Valeur::set_etat_c_qcq(), Lorene::Mtbl::set_etat_qcq(), Lorene::Tbl::set_etat_qcq(), Lorene::Scalar::set_spectral_va(), Lorene::Mtbl::t, val_lx_jk(), and Lorene::Mtbl_cf::val_point_jk_symy().
|
protectedvirtualinherited |
|
privatevirtual |
< Not implemented
Definition at line 47 of file map_star_pas_fait.C.
|
virtual |
Save in a file.
Reimplemented from Lorene::Map_radial.
Definition at line 248 of file map_star.C.
References alpha, and Lorene::Map_radial::sauve().
| void Lorene::Map_star::set_alpha | ( | const Tbl & | alpha0, |
| int | l ) |
Modifies the value of 
Definition at line 307 of file map_star.C.
References alpha, and Lorene::Map_radial::reset_coord().
| void Lorene::Map_star::set_beta | ( | const Tbl & | beta0, |
| int | l ) |
Definition at line 324 of file map_star.C.
|
private |
Assignment of the building functions to the member Coords.
Definition at line 165 of file map_star.C.
References Lorene::cosp, Lorene::cost, Lorene::Map_radial::d2rdtdx, Lorene::Map_radial::d2rdx2, Lorene::Map_radial::drdt, Lorene::Map_radial::dxdr, Lorene::Map_radial::lapr_tp, map_star_fait_r, Lorene::phi, Lorene::r, Lorene::sinp, Lorene::sint, Lorene::Map_radial::sr2d2rdt2, Lorene::Map_radial::sr2drdt, Lorene::Map_radial::sr2stdrdp, Lorene::Map_radial::srdrdt, Lorene::Map_radial::srstdrdp, Lorene::Map_radial::sstd2rdpdx, Lorene::Map_radial::stdrdp, Lorene::tet, Lorene::x, Lorene::xa, Lorene::Map_radial::xsr, Lorene::y, Lorene::ya, Lorene::z, and Lorene::za.
< Not implemented
Definition at line 67 of file map_star_pas_fait.C.
Computes 
Scalar.
Note that in the compactified external domain (CED), the dzpuis flag of the output is 2 if the input has dzpuis = 0, and is increased by 1 in other cases.
| uu | [input] field to consider |
| resu | [output] derivative of uu |
Definition at line 271 of file map_star_deriv.C.
References Lorene::Valeur::annule(), Lorene::Valeur::base, Lorene::Valeur::coef(), Lorene::Valeur::dsdt(), Lorene::Valeur::dsdx(), Lorene::Map_radial::dxdr, Lorene::Scalar::get_dzpuis(), Lorene::Scalar::get_etat(), Lorene::Tensor::get_mp(), Lorene::Scalar::get_spectral_va(), Lorene::Valeur::mult_x(), Lorene::Scalar::set_dzpuis(), Lorene::Scalar::set_etat_zero(), Lorene::Map_radial::srdrdt, Lorene::Valeur::sx(), and Lorene::Map_radial::xsr.
< Not implemented
Definition at line 71 of file map_star_pas_fait.C.
Computes 
Scalar.
Note that in the compactified external domain (CED), the dzpuis flag of the output is 2 if the input has dzpuis = 0, and is increased by 1 in other cases.
| uu | [input] field to consider |
| resu | [output] derivative of uu |
Definition at line 140 of file map_star_deriv.C.
References Lorene::Valeur::annule(), Lorene::Valeur::base, Lorene::Valeur::coef(), Lorene::Valeur::dsdp(), Lorene::Valeur::dsdx(), Lorene::Map_radial::dxdr, Lorene::Scalar::get_dzpuis(), Lorene::Scalar::get_etat(), Lorene::Tensor::get_mp(), Lorene::Scalar::get_spectral_va(), Lorene::Valeur::mult_x(), Lorene::Scalar::set_dzpuis(), Lorene::Scalar::set_etat_zero(), Lorene::Map_radial::srstdrdp, Lorene::Valeur::ssint(), Lorene::Valeur::sx(), and Lorene::Map_radial::xsr.
Computes 
Scalar .
| uu | [input] scalar field |
| resu | [output] derivative of uu |
Definition at line 95 of file map_star_deriv.C.
References Lorene::Valeur::dsdx(), Lorene::Map_radial::dxdr, Lorene::Valeur::get_base(), Lorene::Scalar::get_dzpuis(), Lorene::Scalar::get_etat(), Lorene::Tensor::get_mp(), Lorene::Scalar::get_spectral_va(), Lorene::Valeur::set_base(), Lorene::Scalar::set_dzpuis(), Lorene::Scalar::set_etat_zero(), Lorene::Map_radial::stdrdp, and Lorene::Valeur::stdsdp().
|
virtual |
Computes the domain index l and the value of 

| rr | [input] value of r |
| theta | [input] value of ![]() |
| pphi | [input] value of ![]() |
| par | [] unused by the Map_star version |
| l | [output] value of the domain index |
| xi | [output] value of ![]() |
Definition at line 160 of file map_star_radius.C.
References Lorene::phi, and val_lx().
|
virtual |
Computes the domain index l and the value of 

| rr | [input] value of r |
| theta | [input] value of ![]() |
| pphi | [input] value of ![]() |
| l | [output] value of the domain index |
| xi | [output] value of ![]() |
Definition at line 82 of file map_star_radius.C.
References alpha.
|
virtual |
Computes the domain index l and the value of 

| rr | [input] value of r |
| j | [input] index of the collocation point in ![]() |
| k | [input] index of the collocation point in ![]() |
| par | [] unused by the Map_star version |
| l | [output] value of the domain index |
| xi | [output] value of ![]() |
Implements Lorene::Map_radial.
Definition at line 183 of file map_star_radius.C.
References Lorene::phi, Lorene::tet, and val_lx().
|
virtual |
Returns the value of the radial coordinate r for a given 
| l | [input] index of the domain |
| xi | [input] value of ![]() |
| theta | [input] value of ![]() |
| pphi | [input] value of ![]() |

Definition at line 43 of file map_star_radius.C.
References alpha.
|
virtual |
Returns the value of the radial coordinate r for a given 

| l | [input] index of the domain |
| xi | [input] value of ![]() |
| j | [input] index of the collocation point in ![]() |
| k | [input] index of the collocation point in ![]() |

Implements Lorene::Map_radial.
Definition at line 173 of file map_star_radius.C.
References Lorene::phi, Lorene::tet, and val_r().
Definition at line 425 of file map_star_fait.C.
Definition at line 357 of file map_star_fait.C.
Definition at line 1148 of file map_star_fait.C.
Definition at line 1054 of file map_star_fait.C.
Definition at line 607 of file map_star_fait.C.
Definition at line 543 of file map_star_fait.C.
Definition at line 1072 of file map_star_fait.C.
Definition at line 151 of file map_star_fait.C.
< Not implemented
Definition at line 43 of file map_star_fait.C.
References alpha, get_alpha(), Lorene::Mg3d::get_grille3d(), Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_nzone(), Lorene::Mg3d::get_type_r(), Lorene::Map(), Map_star(), map_star_fait_r, Lorene::Mtbl::set_etat_qcq(), Lorene::Tbl::set_etat_qcq(), Lorene::Mtbl::t, Lorene::Tbl::t, and Lorene::Grille3d::x.
Definition at line 391 of file map_star_fait.C.
Definition at line 323 of file map_star_fait.C.
Definition at line 1290 of file map_star_fait.C.
Definition at line 910 of file map_star_fait.C.
Definition at line 982 of file map_star_fait.C.
Definition at line 752 of file map_star_fait.C.
Definition at line 831 of file map_star_fait.C.
Definition at line 1218 of file map_star_fait.C.
Definition at line 679 of file map_star_fait.C.
Definition at line 113 of file map_star_fait.C.
Definition at line 189 of file map_star_fait.C.
Definition at line 243 of file map_star_fait.C.
Definition at line 465 of file map_star_fait.C.
Definition at line 207 of file map_star_fait.C.
Definition at line 273 of file map_star_fait.C.
Definition at line 225 of file map_star_fait.C.
Definition at line 303 of file map_star_fait.C.
|
private |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |