LORENE
|
Public Member Functions | |
Map_star (const Mg3d &mgrille, const double *r_limits) | |
Standard Constructor. More... | |
Map_star (const Mg3d &mgrille, const Tbl &r_limits) | |
Standard Constructor with Tbl. More... | |
Map_star (const Map_star &) | |
Copy constructor. More... | |
Map_star (const Mg3d &, const string &) | |
Constructor from a formatted file. More... | |
Map_star (const Mg3d &, FILE *) | |
Constructor from a file (see sauve(FILE*) ) More... | |
virtual | ~Map_star () |
Destructor. More... | |
virtual const Map_af & | mp_angu (int) const |
Returns the "angular" mapping for the outside of domain l_zone . More... | |
virtual void | operator= (const Map_af &) |
Assignment to an affine mapping. More... | |
virtual void | operator= (const Map_star &) |
Assignment to another Map_star. More... | |
const Valeur & | get_alpha () const |
Returns the reference on the Tbl alpha . More... | |
const Valeur & | get_beta () const |
void | set_alpha (const Tbl &alpha0, int l) |
Modifies the value of in domain no. l. More... | |
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 in a given domain. More... | |
virtual void | val_lx (double rr, double theta, double pphi, int &l, double &xi) const |
Computes the domain index l and the value of corresponding to a point given by its physical coordinates . More... | |
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 corresponding to a point given by its physical coordinates . More... | |
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 and a given collocation point in in a given domain. More... | |
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 corresponding to a point of arbitrary r but collocation values of . More... | |
virtual bool | operator== (const Map &) const |
Comparison operator (egality) More... | |
virtual void | dsdr (const Scalar &ci, Scalar &resu) const |
Computes of a Scalar . More... | |
virtual void | srstdsdp (const Scalar &, Scalar &) const |
Computes of a Scalar . More... | |
virtual void | srdsdt (const Scalar &, Scalar &) const |
Computes of a Scalar . More... | |
virtual void | dsdt (const Scalar &, Scalar &) const |
Computes of a Scalar . More... | |
virtual void | stdsdp (const Scalar &, Scalar &) const |
Computes of a Scalar . More... | |
Scalar | interpolate_from_map_af (const Scalar &f_a) const |
Interpolates from a Scalar defined on a Map_af and returns the new Scalar defined on *this . More... | |
virtual void | sauve (FILE *) const |
Save in a file. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
virtual void | mult_r (Scalar &uu) const |
Multiplication by r of a Scalar , the dzpuis of uu is not changed. More... | |
virtual void | mult_r (Cmp &ci) const |
Multiplication by r of a Cmp . More... | |
virtual void | mult_r_zec (Scalar &) const |
Multiplication by r (in the compactified external domain only) of a Scalar . More... | |
virtual void | mult_rsint (Scalar &) const |
Multiplication by of a Scalar . More... | |
virtual void | div_rsint (Scalar &) const |
Division by of a Scalar . More... | |
virtual void | div_r (Scalar &) const |
Division by r of a Scalar . More... | |
virtual void | div_r_zec (Scalar &) const |
Division by r (in the compactified external domain only) of a Scalar . More... | |
virtual void | mult_cost (Scalar &) const |
Multiplication by of a Scalar . More... | |
virtual void | div_cost (Scalar &) const |
Division by of a Scalar . More... | |
virtual void | mult_sint (Scalar &) const |
Multiplication by of a Scalar . More... | |
virtual void | div_sint (Scalar &) const |
Division by of a Scalar . More... | |
virtual void | div_tant (Scalar &) const |
Division by of a Scalar . More... | |
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 . More... | |
virtual void | comp_x_from_spherical (const Cmp &v_r, const Cmp &v_theta, const Cmp &v_phi, Cmp &v_x) const |
Cmp version More... | |
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 . More... | |
virtual void | comp_y_from_spherical (const Cmp &v_r, const Cmp &v_theta, const Cmp &v_phi, Cmp &v_y) const |
Cmp version More... | |
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 . More... | |
virtual void | comp_z_from_spherical (const Cmp &v_r, const Cmp &v_theta, Cmp &v_z) const |
Cmp version More... | |
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 . More... | |
virtual void | comp_r_from_cartesian (const Cmp &v_x, const Cmp &v_y, const Cmp &v_z, Cmp &v_r) const |
Cmp version More... | |
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 component (with respect to bvect_spher ) of a vector given by its cartesian components with respect to bvect_cart . More... | |
virtual void | comp_t_from_cartesian (const Cmp &v_x, const Cmp &v_y, const Cmp &v_z, Cmp &v_t) const |
Cmp version More... | |
virtual void | comp_p_from_cartesian (const Scalar &v_x, const Scalar &v_y, Scalar &v_p) const |
Computes the Spherical component (with respect to bvect_spher ) of a vector given by its cartesian components with respect to bvect_cart . More... | |
virtual void | comp_p_from_cartesian (const Cmp &v_x, const Cmp &v_y, Cmp &v_p) const |
Cmp version More... | |
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). More... | |
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). More... | |
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). More... | |
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). More... | |
virtual void | poisson_compact (const Cmp &source, const Cmp &aa, const Tenseur &bb, const Param &par, Cmp &psi) const |
Resolution of the elliptic equation in the case where the stellar interior is covered by a single domain. More... | |
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 in the case of a multidomain stellar interior. More... | |
const Mg3d * | get_mg () const |
Gives the Mg3d on which the mapping is defined. More... | |
double | get_ori_x () const |
Returns the x coordinate of the origin. More... | |
double | get_ori_y () const |
Returns the y coordinate of the origin. More... | |
double | get_ori_z () const |
Returns the z coordinate of the origin. More... | |
double | get_rot_phi () const |
Returns the angle between the x –axis and X –axis. More... | |
const Base_vect_spher & | get_bvect_spher () const |
Returns the orthonormal vectorial basis associated with the coordinates of the mapping. More... | |
const Base_vect_cart & | get_bvect_cart () const |
Returns the Cartesian basis associated with the coordinates (x,y,z) of the mapping, i.e. More... | |
const Metric_flat & | flat_met_spher () const |
Returns the flat metric associated with the spherical coordinates and with components expressed in the triad bvect_spher . More... | |
const Metric_flat & | flat_met_cart () const |
Returns the flat metric associated with the Cartesian coordinates and with components expressed in the triad bvect_cart . More... | |
const Cmp & | cmp_zero () const |
Returns the null Cmp defined on *this . More... | |
void | convert_absolute (double xx, double yy, double zz, double &rr, double &theta, double &pphi) const |
Determines the coordinates corresponding to given absolute Cartesian coordinates (X,Y,Z). More... | |
void | set_ori (double xa0, double ya0, double za0) |
Sets a new origin. More... | |
void | set_rot_phi (double phi0) |
Sets a new rotation angle. More... | |
Public Attributes | |
Coord | xsr |
in the nucleus; \ 1/R in the non-compactified shells; \ in the compactified outer domain. More... | |
Coord | dxdr |
in the nucleus and in the non-compactified shells; \ in the compactified outer domain. More... | |
Coord | drdt |
in the nucleus and in the non-compactified shells; \ in the compactified external domain (CED). More... | |
Coord | stdrdp |
in the nucleus and in the non-compactified shells; \ in the compactified external domain (CED). More... | |
Coord | srdrdt |
in the nucleus and in the non-compactified shells; \ in the compactified outer domain. More... | |
Coord | srstdrdp |
in the nucleus and in the non-compactified shells; \ in the compactified outer domain. More... | |
Coord | sr2drdt |
in the nucleus and in the non-compactified shells; \ in the compactified outer domain. More... | |
Coord | sr2stdrdp |
in the nucleus and in the non-compactified shells; \ in the compactified outer domain. More... | |
Coord | d2rdx2 |
in the nucleus and in the non-compactified shells; \ in the compactified outer domain. More... | |
Coord | lapr_tp |
in the nucleus and in the non-compactified shells; \ in the compactified outer domain. More... | |
Coord | d2rdtdx |
in the nucleus and in the non-compactified shells; \ in the compactified outer domain. More... | |
Coord | sstd2rdpdx |
in the nucleus and in the non-compactified shells; \ in the compactified outer domain. More... | |
Coord | sr2d2rdt2 |
in the nucleus and in the non-compactified shells; \ in the compactified outer domain. More... | |
Coord | r |
r coordinate centered on the grid More... | |
Coord | tet |
coordinate centered on the grid More... | |
Coord | phi |
coordinate centered on the grid More... | |
Coord | sint |
More... | |
Coord | cost |
More... | |
Coord | sinp |
More... | |
Coord | cosp |
More... | |
Coord | x |
x coordinate centered on the grid More... | |
Coord | y |
y coordinate centered on the grid More... | |
Coord | z |
z coordinate centered on the grid More... | |
Coord | xa |
Absolute x coordinate. More... | |
Coord | ya |
Absolute y coordinate. More... | |
Coord | za |
Absolute z coordinate. More... | |
Protected Member Functions | |
virtual void | reset_coord () |
Resets all the member Coords . More... | |
Protected Attributes | |
const Mg3d * | mg |
Pointer on the multi-grid Mgd3 on which this is defined. More... | |
double | ori_x |
Absolute coordinate x of the origin. More... | |
double | ori_y |
Absolute coordinate y of the origin. More... | |
double | ori_z |
Absolute coordinate z of the origin. More... | |
double | rot_phi |
Angle between the x –axis and X –axis. More... | |
Base_vect_spher | bvect_spher |
Orthonormal vectorial basis associated with the coordinates of the mapping. More... | |
Base_vect_cart | bvect_cart |
Cartesian basis associated with the coordinates (x,y,z) of the mapping, i.e. More... | |
Metric_flat * | p_flat_met_spher |
Pointer onto the flat metric associated with the spherical coordinates and with components expressed in the triad bvect_spher . More... | |
Metric_flat * | p_flat_met_cart |
Pointer onto the flat metric associated with the Cartesian coordinates and with components expressed in the triad bvect_cart . More... | |
Cmp * | p_cmp_zero |
The null Cmp. More... | |
Map_af * | p_mp_angu |
Pointer on the "angular" mapping. More... | |
Private Member Functions | |
void | set_coord () |
Assignment of the building functions to the member Coords . More... | |
virtual ostream & | operator>> (ostream &) const |
Operator >> More... | |
virtual void | homothetie (double) |
Sets a new radial scale. More... | |
virtual void | resize (int, double) |
< Not implemented More... | |
virtual void | adapt (const Cmp &, const Param &, int) |
< Not implemented More... | |
virtual void | dsdr (const Cmp &, Cmp &) const |
< Not implemented More... | |
virtual void | dsdxi (const Cmp &, Cmp &) const |
< Not implemented More... | |
virtual void | dsdxi (const Scalar &, Scalar &) const |
< Not implemented More... | |
virtual void | dsdradial (const Scalar &uu, Scalar &resu) const |
< Not implemented More... | |
virtual void | srdsdt (const Cmp &, Cmp &) const |
< Not implemented More... | |
virtual void | srstdsdp (const Cmp &, Cmp &) const |
< Not implemented More... | |
virtual void | laplacien (const Scalar &, int, Scalar &) const |
< Not implemented More... | |
virtual void | laplacien (const Cmp &, int, Cmp &) const |
< Not implemented More... | |
virtual void | lapang (const Scalar &, Scalar &) const |
< Not implemented More... | |
virtual void | primr (const Scalar &, Scalar &, bool) const |
< Not implemented More... | |
virtual Tbl * | integrale (const Cmp &) const |
< Not implemented More... | |
virtual void | poisson (const Cmp &, Param &, Cmp &) const |
< Not implemented More... | |
virtual void | poisson_tau (const Cmp &, Param &, Cmp &) const |
< Not implemented More... | |
virtual void | poisson_falloff (const Cmp &, Param &, Cmp &, int) const |
< Not implemented More... | |
virtual void | poisson_ylm (const Cmp &, Param &, Cmp &, int, double *) const |
< Not implemented More... | |
virtual void | poisson_regular (const Cmp &, int, int, double, Param &, Cmp &, Cmp &, Cmp &, Tenseur &, Cmp &, Cmp &) const |
< Not implemented More... | |
virtual void | poisson_angu (const Scalar &, Param &, Scalar &, double=0) const |
< Not implemented More... | |
virtual void | poisson_angu (const Cmp &, Param &, Cmp &, double=0) const |
< Not implemented More... | |
virtual Param * | donne_para_poisson_vect (Param &, int) const |
< Not implemented More... | |
virtual void | poisson_frontiere (const Cmp &, const Valeur &, int, int, Cmp &, double=0., double=0.) const |
< Not implemented More... | |
virtual void | poisson_frontiere_double (const Cmp &, const Valeur &, const Valeur &, int, Cmp &) const |
< Not implemented More... | |
virtual void | poisson_interne (const Cmp &, const Valeur &, Param &, Cmp &) const |
< Not implemented More... | |
virtual void | poisson2d (const Cmp &, const Cmp &, Param &, Cmp &) const |
< Not implemented More... | |
virtual void | dalembert (Param &, Scalar &, const Scalar &, const Scalar &, const Scalar &) const |
< Not implemented More... | |
Private Attributes | |
Valeur | alpha |
Array (size: mg->nzone*Nt*Np ) of the values of in each domain. More... | |
Valeur | beta |
Friends | |
Mtbl * | map_star_fait_r (const Map *) |
< Not implemented More... | |
Mtbl * | map_star_fait_tet (const Map *) |
Mtbl * | map_star_fait_phi (const Map *) |
Mtbl * | map_star_fait_sint (const Map *) |
Mtbl * | map_star_fait_cost (const Map *) |
Mtbl * | map_star_fait_sinp (const Map *) |
Mtbl * | map_star_fait_cosp (const Map *) |
Mtbl * | map_star_fait_x (const Map *) |
Mtbl * | map_star_fait_y (const Map *) |
Mtbl * | map_star_fait_z (const Map *) |
Mtbl * | map_star_fait_xa (const Map *) |
Mtbl * | map_star_fait_ya (const Map *) |
Mtbl * | map_star_fait_za (const Map *) |
Mtbl * | map_star_fait_xsr (const Map *) |
Mtbl * | map_star_fait_dxdr (const Map *) |
Mtbl * | map_star_fait_drdt (const Map *) |
Mtbl * | map_star_fait_stdrdp (const Map *) |
Mtbl * | map_star_fait_srdrdt (const Map *) |
Mtbl * | map_star_fait_srstdrdp (const Map *) |
Mtbl * | map_star_fait_sr2drdt (const Map *) |
Mtbl * | map_star_fait_sr2stdrdp (const Map *) |
Mtbl * | map_star_fait_d2rdx2 (const Map *) |
Mtbl * | map_star_fait_lapr_tp (const Map *) |
Mtbl * | map_star_fait_d2rdtdx (const Map *) |
Mtbl * | map_star_fait_sstd2rdpdx (const Map *) |
Mtbl * | map_star_fait_sr2d2rdt2 (const Map *) |
Definition at line 23 of file map_star.h.
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 Lorene::c_est_pas_fait().
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::Valeur::annule_hard(), Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_nzone(), Lorene::Mg3d::get_type_r(), Lorene::Map::mg, and set_coord().
Lorene::Map_star::Map_star | ( | const Map_star & | mp | ) |
Lorene::Map_star::Map_star | ( | const Mg3d & | , |
const string & | |||
) |
Constructor from a formatted file.
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 set_coord().
|
virtual |
Destructor.
Definition at line 128 of file map_star.C.
|
inlineinherited |
|
virtualinherited |
Computes the Spherical 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_p | [output] -component of the vector |
Implements Lorene::Map.
Definition at line 186 of file map_radial_comp_rtp.C.
References Lorene::Scalar::get_etat().
|
virtualinherited |
Cmp
version
Implements Lorene::Map.
Definition at line 179 of file map_radial_comp_rtp.C.
References Lorene::Map_radial::comp_p_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 |
Implements Lorene::Map.
Definition at line 75 of file map_radial_comp_rtp.C.
References Lorene::Scalar::get_etat().
|
virtualinherited |
Cmp
version
Implements Lorene::Map.
Definition at line 68 of file map_radial_comp_rtp.C.
References Lorene::Map_radial::comp_r_from_cartesian().
|
virtualinherited |
Computes the Spherical 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_t | [output] -component of the vector |
Implements Lorene::Map.
Definition at line 131 of file map_radial_comp_rtp.C.
References Lorene::Scalar::get_etat().
|
virtualinherited |
Cmp
version
Implements Lorene::Map.
Definition at line 124 of file map_radial_comp_rtp.C.
References Lorene::Map_radial::comp_t_from_cartesian().
|
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] -component of the vector |
v_phi | [input] -component of the vector |
v_x | [output] x-component of the vector |
Implements Lorene::Map.
Definition at line 79 of file map_radial_comp_xyz.C.
References Lorene::Scalar::get_etat().
|
virtualinherited |
Cmp
version
Implements Lorene::Map.
Definition at line 71 of file map_radial_comp_xyz.C.
References Lorene::Map_radial::comp_x_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] -component of the vector |
v_phi | [input] -component of the vector |
v_y | [output] y-component of the vector |
Implements Lorene::Map.
Definition at line 138 of file map_radial_comp_xyz.C.
References Lorene::Scalar::get_etat().
|
virtualinherited |
Cmp
version
Implements Lorene::Map.
Definition at line 129 of file map_radial_comp_xyz.C.
References Lorene::Map_radial::comp_y_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] -component of the vector |
v_z | [output] z-component of the vector |
Implements Lorene::Map.
Definition at line 195 of file map_radial_comp_xyz.C.
References Lorene::Scalar::get_etat().
|
virtualinherited |
Cmp
version
Implements Lorene::Map.
Definition at line 187 of file map_radial_comp_xyz.C.
References Lorene::Map_radial::comp_z_from_spherical().
|
inherited |
Determines the coordinates corresponding to given absolute Cartesian coordinates (X,Y,Z).
xx | [input] value of the coordinate x (absolute frame) |
yy | [input] value of the coordinate y (absolute frame) |
zz | [input] value of the coordinate z (absolute frame) |
rr | [output] value of r |
theta | [output] value of |
pphi | [output] value of |
Definition at line 305 of file map.C.
References Lorene::Map::ori_x, Lorene::Map::ori_y, Lorene::Map::ori_z, Lorene::Map::rot_phi, and Lorene::sqrt().
|
virtualinherited |
Decreases by 2 the value of dzpuis
of a Scalar
and changes accordingly its values in the
compactified external domain (CED).
Implements Lorene::Map.
Definition at line 751 of file map_radial_r_manip.C.
References Lorene::Scalar::get_etat().
|
virtualinherited |
Decreases by 1 the value of dzpuis
of a Scalar
and changes accordingly its values in the compactified external domain (CED).
Implements Lorene::Map.
Definition at line 646 of file map_radial_r_manip.C.
References Lorene::Scalar::get_etat().
|
virtualinherited |
Division by of a Scalar
.
Implements Lorene::Map.
Definition at line 88 of file map_radial_th_manip.C.
References Lorene::Scalar::get_etat().
|
virtualinherited |
Division by r of a Scalar
.
Implements Lorene::Map.
Definition at line 517 of file map_radial_r_manip.C.
References Lorene::Scalar::get_etat().
|
virtualinherited |
Division by r (in the compactified external domain only) of a Scalar
.
Implements Lorene::Map.
Definition at line 588 of file map_radial_r_manip.C.
References Lorene::Scalar::get_etat().
|
virtualinherited |
Division by of a Scalar
.
Implements Lorene::Map.
Definition at line 437 of file map_radial_r_manip.C.
References Lorene::Scalar::get_etat().
|
virtualinherited |
Division by of a Scalar
.
Implements Lorene::Map.
Definition at line 136 of file map_radial_th_manip.C.
References Lorene::Scalar::get_etat().
|
virtualinherited |
Division by of a Scalar
.
Implements Lorene::Map.
Definition at line 161 of file map_radial_th_manip.C.
References Lorene::Scalar::get_etat().
Computes of a Scalar
.
Note that in the compactified external domain (CED), it computes .
ci | [input] field to consider |
resu | [output] derivative of ci |
Implements Lorene::Map.
Definition at line 39 of file map_star_deriv.C.
References Lorene::Scalar::get_etat().
Computes of a Scalar
.
uu | [input] scalar field |
resu | [output] derivative of uu |
Implements Lorene::Map.
Definition at line 231 of file map_star_deriv.C.
References Lorene::Scalar::get_etat().
|
inherited |
Returns the flat metric associated with the Cartesian coordinates and with components expressed in the triad bvect_cart
.
Definition at line 334 of file map.C.
References Lorene::Map::bvect_cart, and Lorene::Map::p_flat_met_cart.
|
inherited |
Returns the flat metric associated with the spherical coordinates and with components expressed in the triad bvect_spher
.
Definition at line 324 of file map.C.
References Lorene::Map::bvect_spher, and Lorene::Map::p_flat_met_spher.
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.
|
inlineinherited |
Returns the Cartesian basis associated with the coordinates (x,y,z) of the mapping, i.e.
the Cartesian coordinates related to by means of usual formulae.
Definition at line 809 of file map.h.
References Lorene::Map::bvect_cart.
|
inlineinherited |
Returns the orthonormal vectorial basis associated with the coordinates of the mapping.
Definition at line 801 of file map.h.
References Lorene::Map::bvect_spher.
|
inlineinherited |
Gives the Mg3d
on which the mapping is defined.
Definition at line 783 of file map.h.
References Lorene::Map::mg.
|
inlineinherited |
Returns the x coordinate of the origin.
Definition at line 786 of file map.h.
References Lorene::Map::ori_x.
|
inlineinherited |
Returns the y coordinate of the origin.
Definition at line 788 of file map.h.
References Lorene::Map::ori_y.
|
inlineinherited |
Returns the z coordinate of the origin.
Definition at line 790 of file map.h.
References Lorene::Map::ori_z.
|
inlineinherited |
Returns the angle between the x –axis and X –axis.
Definition at line 793 of file map.h.
References Lorene::Map::rot_phi.
|
privatevirtual |
Sets a new radial scale.
lambda | [input] factor by which the value of r is to be multiplied |
Implements Lorene::Map.
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).
Implements Lorene::Map.
Definition at line 802 of file map_radial_r_manip.C.
References Lorene::Scalar::get_etat().
|
virtualinherited |
Increases by 1 the value of dzpuis
of a Scalar
and changes accordingly its values in the
compactified external domain (CED).
Implements Lorene::Map.
Definition at line 699 of file map_radial_r_manip.C.
References Lorene::Scalar::get_etat().
Interpolates from a Scalar
defined on a Map_af
and returns the new Scalar
defined on *this
.
f_a | [input] the field to be interpolated (must be defined on a Map_af ) |
Scalar
defined on *this
) Definition at line 52 of file map_interp_af_and_star.C.
References Lorene::Mg3d::get_type_t(), and Lorene::Map::mg.
|
virtual |
Returns the "angular" mapping for the outside of domain l_zone
.
Valid only for the class Map_af
.
Implements Lorene::Map.
Definition at line 138 of file map_star_pas_fait.C.
|
virtualinherited |
Multiplication by of a Scalar
.
Implements Lorene::Map.
Definition at line 64 of file map_radial_th_manip.C.
References Lorene::Scalar::get_etat().
|
virtualinherited |
Multiplication by r of a Scalar
, the dzpuis
of uu
is not changed.
Implements Lorene::Map.
Definition at line 147 of file map_radial_r_manip.C.
References Lorene::Scalar::get_etat().
|
virtualinherited |
Multiplication by r of a Cmp
.
In the CED, there is only a decrement of dzpuis
Implements Lorene::Map.
Definition at line 222 of file map_radial_r_manip.C.
References Lorene::Cmp::get_etat().
|
virtualinherited |
Multiplication by r (in the compactified external domain only) of a Scalar
.
Implements Lorene::Map.
Definition at line 299 of file map_radial_r_manip.C.
References Lorene::Scalar::get_etat().
|
virtualinherited |
Multiplication by of a Scalar
.
Implements Lorene::Map.
Definition at line 358 of file map_radial_r_manip.C.
References Lorene::Scalar::get_etat().
|
virtualinherited |
Multiplication by of a Scalar
.
Implements Lorene::Map.
Definition at line 112 of file map_radial_th_manip.C.
References Lorene::Scalar::get_etat().
|
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, Lorene::Map::mg, Lorene::Map::ori_x, Lorene::Map::ori_y, Lorene::Map::ori_z, Lorene::Map_radial::reset_coord(), Lorene::Map::rot_phi, Lorene::Map::set_ori(), and Lorene::Map::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::Map::bvect_cart, Lorene::Map::bvect_spher, Lorene::Map::get_bvect_cart(), Lorene::Map::get_bvect_spher(), Lorene::Map::get_mg(), Lorene::Mg3d::get_nzone(), Lorene::Map::get_ori_x(), Lorene::Map::get_ori_y(), Lorene::Map::get_ori_z(), Lorene::max(), Lorene::Map::mg, Lorene::Map::ori_x, Lorene::Map::ori_y, and Lorene::Map::ori_z.
|
privatevirtual |
Operator >>
Implements Lorene::Map.
Definition at line 261 of file map_star.C.
References alpha, Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nr(), Lorene::Mg3d::get_nt(), Lorene::Mg3d::get_nzone(), Lorene::Map::mg, Lorene::Map::phi, Lorene::Map::r, Lorene::Map::tet, and val_r().
|
virtualinherited |
Resolution of the elliptic equation in the case where the stellar interior is covered by a single domain.
source | [input] source of the above equation |
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 and is greater than 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 to start the iteration (if nothing is known a priori, psi must be set to zero); output: solution which satisfies . |
Implements Lorene::Map.
Definition at line 158 of file map_radial_poisson_cpt.C.
References Lorene::Cmp::get_etat().
|
virtualinherited |
Resolution of the elliptic equation in the case of a multidomain stellar interior.
nzet | [input] number of domains covering the stellar interior |
source | [input] source of the above equation |
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 which satisfies . |
Implements Lorene::Map.
Definition at line 456 of file map_radial_poisson_cpt.C.
References Lorene::Cmp::get_etat(), and Lorene::Map_radial::poisson_compact().
|
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 . |
Implements Lorene::Map.
Definition at line 64 of file map_radial_reevaluate.C.
References Lorene::Cmp::get_dzpuis(), Lorene::Cmp::get_etat(), Lorene::Cmp::get_mp(), Lorene::Mg3d::get_nzone(), and Lorene::Map::mg.
|
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 . |
Implements Lorene::Map.
Definition at line 179 of file map_radial_reevaluate.C.
References Lorene::Scalar::get_dzpuis(), Lorene::Scalar::get_etat(), Lorene::Tensor::get_mp(), Lorene::Mg3d::get_nzone(), and Lorene::Map::mg.
|
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 . |
Implements Lorene::Map.
Definition at line 65 of file map_radial_reeval_symy.C.
References Lorene::Cmp::get_dzpuis(), Lorene::Cmp::get_etat(), Lorene::Cmp::get_mp(), Lorene::Mg3d::get_nzone(), and Lorene::Map::mg.
|
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 . |
Implements Lorene::Map.
Definition at line 199 of file map_radial_reeval_symy.C.
References Lorene::Scalar::get_dzpuis(), Lorene::Scalar::get_etat(), Lorene::Tensor::get_mp(), Lorene::Mg3d::get_nzone(), and Lorene::Map::mg.
|
protectedvirtualinherited |
Resets all the member Coords
.
Reimplemented from Lorene::Map.
Reimplemented in Lorene::Map_et.
Definition at line 129 of file map_radial.C.
References Lorene::Map_radial::d2rdtdx, Lorene::Map_radial::d2rdx2, Lorene::Coord::del_t(), Lorene::Map_radial::drdt, Lorene::Map_radial::dxdr, Lorene::Map_radial::lapr_tp, Lorene::Map::reset_coord(), 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, and Lorene::Map_radial::xsr.
|
privatevirtual |
|
virtual |
Save in a file.
Reimplemented from Lorene::Map_radial.
Definition at line 248 of file map_star.C.
References alpha, Lorene::Valeur::sauve(), and Lorene::Map_radial::sauve().
void Lorene::Map_star::set_alpha | ( | const Tbl & | alpha0, |
int | l | ||
) |
Modifies the value of in domain no. l.
Definition at line 307 of file map_star.C.
References alpha, Lorene::Mg3d::get_np(), Lorene::Mg3d::get_nt(), Lorene::Map::mg, Lorene::Map_radial::reset_coord(), and Lorene::Valeur::set().
|
private |
Assignment of the building functions to the member Coords
.
Definition at line 165 of file map_star.C.
References Lorene::Map::cosp, Lorene::Map::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::Map::phi, Lorene::Map::r, Lorene::Coord::set(), Lorene::Map::sinp, Lorene::Map::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::Map::tet, Lorene::Map::x, Lorene::Map::xa, Lorene::Map_radial::xsr, Lorene::Map::y, Lorene::Map::ya, Lorene::Map::z, and Lorene::Map::za.
|
inherited |
Sets a new origin.
Definition at line 256 of file map.C.
References Lorene::Map::bvect_spher, Lorene::Map::ori_x, Lorene::Map::ori_y, Lorene::Map::ori_z, Lorene::Map::reset_coord(), and Lorene::Base_vect_spher::set_ori().
|
inherited |
Sets a new rotation angle.
Definition at line 266 of file map.C.
References Lorene::Map::bvect_cart, Lorene::Map::bvect_spher, Lorene::Map::reset_coord(), Lorene::Map::rot_phi, Lorene::Base_vect_cart::set_rot_phi(), and Lorene::Base_vect_spher::set_rot_phi().
Computes of a 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 |
Implements Lorene::Map.
Definition at line 271 of file map_star_deriv.C.
References Lorene::Scalar::get_etat().
Computes of a 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 |
Implements Lorene::Map.
Definition at line 140 of file map_star_deriv.C.
References Lorene::Scalar::get_etat().
Computes of a Scalar
.
uu | [input] scalar field |
resu | [output] derivative of uu |
Implements Lorene::Map.
Definition at line 95 of file map_star_deriv.C.
References Lorene::Scalar::get_etat().
|
virtual |
Computes the domain index l and the value of corresponding to a point given by its physical coordinates .
rr | [input] value of r |
theta | [input] value of |
pphi | [input] value of |
l | [output] value of the domain index |
xi | [output] value of |
Implements Lorene::Map.
Definition at line 82 of file map_star_radius.C.
References Lorene::Mg3d::get_nzone(), Lorene::Mg3d::get_type_r(), and Lorene::Map::mg.
|
virtual |
Computes the domain index l and the value of corresponding to a point given by its physical coordinates .
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 |
Implements Lorene::Map.
Definition at line 160 of file map_star_radius.C.
References val_lx().
|
virtual |
Computes the domain index l and the value of corresponding to a point of arbitrary r but collocation values 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::Map::phi, Lorene::Map::tet, and val_lx().
|
virtual |
Returns the value of the radial coordinate r for a given in a given domain.
l | [input] index of the domain |
xi | [input] value of |
theta | [input] value of |
pphi | [input] value of |
Implements Lorene::Map.
Definition at line 43 of file map_star_radius.C.
References Lorene::Mg3d::get_type_r(), and Lorene::Map::mg.
|
virtual |
Returns the value of the radial coordinate r for a given and a given collocation point in in a given domain.
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::Map::phi, Lorene::Map::tet, and val_r().
< Not implemented
Definition at line 43 of file map_star_fait.C.
|
private |
Array (size: mg->nzone*Nt*Np
) of the values of in each domain.
Definition at line 30 of file map_star.h.
|
protectedinherited |
|
protectedinherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
mutableprotectedinherited |
|
inherited |
|
inherited |
|
protectedinherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |