et_rot_mag.h
/*
* Definition of Lorene class Et_rot_mag
*
*/
/*
* Copyright (c) 2002 Emmanuel Marcq
* Copyright (c) 2002,2013 Jerome Novak
* Copyright (c) 2013 Deberati Chatterjee
*
* This file is part of LORENE.
*
* LORENE is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* LORENE is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with LORENE; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
#ifndef __ET_ROT_MAG_H_
#define __ET_ROT_MAG_H_
/*
* $Id: et_rot_mag.h,v 1.26 2015/06/12 12:38:24 j_novak Exp $
* $Log: et_rot_mag.h,v $
* Revision 1.26 2015/06/12 12:38:24 j_novak
* Implementation of the corrected formula for the quadrupole momentum.
*
* Revision 1.25 2014/10/21 09:23:53 j_novak
* Addition of global functions mass_g(), angu_mom(), grv2/3() and mom_quad().
*
* Revision 1.24 2014/10/13 08:52:34 j_novak
* Lorene classes and functions now belong to the namespace Lorene.
*
* Revision 1.23 2014/05/27 12:32:28 j_novak
* Added possibility to converge to a given magnetic moment.
*
* Revision 1.22 2014/05/13 10:06:12 j_novak
* Change of magnetic units, to make the Lorene unit system coherent. Magnetic field is now expressed in Lorene units. Improvement on the comments on units.
*
* Revision 1.21 2014/04/29 13:46:06 j_novak
* Addition of switches 'use_B_in_eos' and 'include_magnetisation' to control the model.
*
* Revision 1.20 2014/04/28 12:48:12 j_novak
* Minor modifications.
*
* Revision 1.19 2013/12/13 16:36:51 j_novak
* Addition and computation of magnetisation terms in the Einstein equations.
*
* Revision 1.18 2013/11/25 13:52:11 j_novak
* New class Et_magnetisation to include magnetization terms in the stress energy tensor.
*
* Revision 1.17 2012/08/12 17:48:36 p_cerda
* Magnetstar: New classes for magnetstar. Allowing for non-equatorial symmetry in Etoile et al. Adding B_phi in Et_rot_mag.
*
* Revision 1.16 2011/10/06 14:55:36 j_novak
* equation_of_state() is now virtual to be able to call to the magnetized
* Eos_mag.
*
* Revision 1.15 2005/06/02 11:35:27 j_novak
* Added members for sving to a file and reading from it.
*
* Revision 1.14 2004/03/22 13:12:41 j_novak
* Modification of comments to use doxygen instead of doc++
*
* Revision 1.13 2002/10/11 11:47:35 j_novak
* Et_rot_mag::MHD_comput is now virtual.
* Use of standard constructor for Tenseur mtmp in Et_rot_mag::equilibrium_mag
*
* Revision 1.12 2002/10/09 07:54:29 j_novak
* Et_rot_bifluid and Et_rot_mag inheritate virtually from Etoile_rot
*
* Revision 1.11 2002/08/02 15:07:41 j_novak
* Member function determinant has been added to the class Metrique.
* A better handling of spectral bases is now implemented for the class Tenseur.
*
* Revision 1.10 2002/06/05 15:15:59 j_novak
* The case of non-adapted mapping is treated.
* parmag.d and parrot.d have been merged.
*
* Revision 1.9 2002/06/03 13:23:16 j_novak
* The case when the mapping is not adapted is now treated
*
* Revision 1.8 2002/06/03 13:00:45 e_marcq
*
* conduc parameter read in parmag.d
*
* Revision 1.7 2002/05/30 16:06:30 j_novak
* added the right et_rot_mag.h
*
* Revision 1.6 2002/05/20 08:27:59 j_novak
* *** empty log message ***
*
* Revision 1.5 2002/05/17 15:08:01 e_marcq
*
* Rotation progressive plug-in, units corrected, Q and a_j new member data
*
* Revision 1.4 2002/05/15 09:53:59 j_novak
* First operational version
*
* Revision 1.3 2002/05/14 13:38:36 e_marcq
*
*
* Unit update, new outputs
*
* Revision 1.1 2002/05/10 09:26:51 j_novak
* Added new class Et_rot_mag for magnetized rotating neutron stars (under development)
*
*
* $Header: /cvsroot/Lorene/C++/Include/et_rot_mag.h,v 1.26 2015/06/12 12:38:24 j_novak Exp $
*
*/
// Headers Lorene
#include "etoile.h"
#include "tensor.h"
namespace Lorene {
// Local prototype (for determining the surface)
Cmp prolonge_c1(const Cmp& uu, const int nzet) ;
class Et_rot_mag : public Etoile_rot {
// Data :
// -----
protected:
Cmp A_t ;
Cmp A_phi;
Cmp B_phi;
Cmp j_t;
Cmp j_phi;
Tenseur E_em;
Tenseur Jp_em;
Tenseur Srr_em;
Tenseur Spp_em;
double Q ;
double a_j ;
int conduc ;
// Constructors - Destructor
// -------------------------
public:
Et_rot_mag(Map& mp_i, int nzet_i, bool relat, const Eos& eos_i,
const int cond);
Et_rot_mag(const Et_rot_mag& ) ;
Et_rot_mag(Map& mp_i, const Eos& eos_i, FILE* fich, int withbphi=0) ;
virtual ~Et_rot_mag() ;
// Memory management
// -----------------
protected:
virtual void del_deriv() const ;
virtual void set_der_0x0() const ;
virtual void del_hydro_euler() ;
// Mutators / assignment
// ---------------------
public:
void operator=(const Et_rot_mag&) ;
/* /\** Computes the proper baryon and energy density, as well as */
/* * pressure from the enthalpy. */
/* *\/ */
/* virtual void equation_of_state() ; */
// Accessors
// ---------
public:
bool is_conduct() const {return (conduc==1) ;} ;
const Cmp& get_At() const {return A_t ; } ;
const Cmp& get_Aphi() const {return A_phi ;} ;
const Cmp& get_Bphi() const {return B_phi ;} ;
const Cmp& get_jt() const {return j_t ; } ;
const Cmp& get_jphi() const {return j_phi ;} ;
const Tenseur& get_Eem() const {return E_em ; } ;
const Tenseur& get_Jpem() const {return Jp_em ;} ;
const Tenseur& get_Srrem() const {return Srr_em ; } ;
const Tenseur& get_Sppem() const {return Spp_em ;} ;
double get_Q() const {return Q ;} ;
double get_a_j() const {return a_j ;} ;
// Outputs
// -------
public:
virtual void sauve(FILE* ) const ;
virtual ostream& operator>>(ostream& ) const ;
// Global quantities
// -----------------
public:
Tenseur Elec() const ;
Tenseur Magn() const ;
virtual void MHD_comput() ;
virtual double mass_g() const ;
virtual double angu_mom() const ;
virtual double grv2() const ;
virtual double tsw() const ;
double MagMom() const ;
double Q_comput() const;
double Q_int() const;
double GyroMag() const ;
virtual double grv3(ostream* ost = 0x0) const ;
virtual double mom_quad_old() const ;
// Computational routines
// ----------------------
public:
void magnet_comput(const int adapt_flag,
Cmp (*f_j)(const Cmp& x, const double),
Param& par_poisson_At, Param& par_poisson_Avect) ;
virtual void magnet_comput_plus(const int adapt_flag, const int initial_j,
const Tbl an_j,
Cmp (*f_j)(const Cmp& x, const Tbl),
const Tbl bn_j,
Cmp (*g_j)(const Cmp& x, const Tbl),
Cmp (*N_j)(const Cmp& x, const Tbl),
Param& par_poisson_At, Param& par_poisson_Avect) ;
void equilibrium_mag(double ent_c, double omega0, double fact_omega,
int nzadapt, const Tbl& ent_limit, const Itbl& icontrol,
const Tbl& control, double mbar_wanted, double aexp_mass,
Tbl& diff, const double Q0, const double a_j0,
Cmp (*f_j)(const Cmp& x, const double),
Cmp (*M_j)(const Cmp& x,const double));
void equilibrium_mag_plus( const Itbl& icontrol, const Tbl& control,
Tbl& diff,
const int initial_j,
const Tbl an_j,
Cmp (*f_j)(const Cmp& x, const Tbl),
Cmp (*M_j)(const Cmp& x,const Tbl),
const Tbl bn_j,
Cmp (*g_j)(const Cmp& x, const Tbl),
Cmp (*N_j)(const Cmp& x,const Tbl),
const double relax_mag);
};
class Et_magnetisation : public Et_rot_mag {
// Data :
// -----
protected:
bool use_B_in_eos ;
bool include_magnetisation ;
Scalar xmag ;
Scalar E_I;
Vector J_I;
Sym_tensor Sij_I;
// Constructors - Destructor
// -------------------------
public:
Et_magnetisation(Map& mp_i, int nzet_i, bool relat, const Eos& eos_i,
bool include_mag=true, bool use_B = true);
Et_magnetisation(const Et_magnetisation& ) ;
Et_magnetisation(Map& mp_i, const Eos& eos_i, FILE* fich) ;
virtual ~Et_magnetisation() ;
// Mutators / assignment
// ---------------------
public:
void operator=(const Et_magnetisation&) ;
virtual void equation_of_state() ;
// Accessors
// ---------
public:
bool B_in_eos() const {return use_B_in_eos;};
bool use_magnetisation() const {return include_magnetisation;} ;
const Scalar& get_magnetisation() const {return xmag;} ;
const Scalar& get_E_I() const {return E_I;} ;
const Vector& get_J_I() const {return J_I;} ;
const Sym_tensor& get_Sij_I() const {return Sij_I;} ;
// Outputs
// -------
public:
virtual void sauve(FILE* ) const ;
virtual ostream& operator>>(ostream& ) const ;
// Global quantities
// -----------------
public:
virtual double mass_g() const ;
virtual double angu_mom() const ;
virtual double grv2() const ;
virtual double grv3(ostream* ost = 0x0) const ;
virtual double mom_quad_old() const ;
virtual double mom_quad_Bo() const ;
// Computational routines
// ----------------------
public:
virtual void magnet_comput(const int adapt_flag,
Cmp (*f_j)(const Cmp& x, const double),
Param& par_poisson_At, Param& par_poisson_Avect) ;
virtual void MHD_comput() ;
void equilibrium_mag(double ent_c, double omega0, double fact_omega,
int nzadapt, const Tbl& ent_limit, const Itbl& icontrol,
const Tbl& control, double mbar_wanted,
double magmom_wanted, double aexp_mass,
Tbl& diff, double Q0, double a_j0,
Cmp (*f_j)(const Cmp& x, const double),
Cmp (*M_j)(const Cmp& x,const double));
};
}
#endif
Lorene::Cmp
Component of a tensorial field *** DEPRECATED : use class Scalar instead ***.
Definition cmp.h:446
Lorene::Eos
Equation of state base class.
Definition eos.h:190
Lorene::Et_magnetisation::magnet_comput
virtual void magnet_comput(const int adapt_flag, Cmp(*f_j)(const Cmp &x, const double), Param &par_poisson_At, Param &par_poisson_Avect)
Computes the electromagnetic quantities solving the Maxwell equations (6) and (7) of [Bocquet,...
Definition et_magnetisation_comp.C:97
Lorene::Et_magnetisation::operator=
void operator=(const Et_magnetisation &)
Assignment to another Et_rot_mag.
Definition et_magnetisation.C:174
Lorene::Et_magnetisation::grv3
virtual double grv3(ostream *ost=0x0) const
Error on the virial identity GRV3.
Definition et_magnetisation_comp.C:642
Lorene::Et_magnetisation::Sij_I
Sym_tensor Sij_I
Interaction stress 3-tensor.
Definition et_rot_mag.h:630
Lorene::Et_magnetisation::B_in_eos
bool B_in_eos() const
Public accessor to the use_B_in_eos flag.
Definition et_rot_mag.h:671
Lorene::Et_magnetisation::xmag
Scalar xmag
The magnetisation scalar.
Definition et_rot_mag.h:622
Lorene::Et_magnetisation::J_I
Vector J_I
Interaction momentum density 3-vector.
Definition et_rot_mag.h:627
Lorene::Et_magnetisation::~Et_magnetisation
virtual ~Et_magnetisation()
Destructor.
Definition et_magnetisation.C:168
Lorene::Et_magnetisation::mom_quad_Bo
virtual double mom_quad_Bo() const
Part of the quadrupole moment.
Definition et_magnetisation_comp.C:828
Lorene::Et_magnetisation::grv2
virtual double grv2() const
Error on the virial identity GRV2.
Definition et_magnetisation_comp.C:613
Lorene::Et_magnetisation::use_B_in_eos
bool use_B_in_eos
Flag : true if the value of the magnetic field is used in the Eos.
Definition et_rot_mag.h:617
Lorene::Et_magnetisation::mom_quad_old
virtual double mom_quad_old() const
Part of the quadrupole moment.
Definition et_magnetisation_comp.C:755
Lorene::Et_magnetisation::get_magnetisation
const Scalar & get_magnetisation() const
Accessor to the magnetisation scalar field.
Definition et_rot_mag.h:677
Lorene::Et_magnetisation::MHD_comput
virtual void MHD_comput()
Computes the electromagnetic part of the stress-energy tensor.
Definition et_magnetisation_comp.C:461
Lorene::Et_magnetisation::use_magnetisation
bool use_magnetisation() const
Public accessor to the include_magnetisation flag.
Definition et_rot_mag.h:674
Lorene::Et_magnetisation::operator>>
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
Definition et_magnetisation.C:341
Lorene::Et_magnetisation::get_E_I
const Scalar & get_E_I() const
Accessor to the interaction energy density.
Definition et_rot_mag.h:680
Lorene::Et_magnetisation::equation_of_state
virtual void equation_of_state()
Computes the proper baryon and energy density, as well as pressure from the enthalpy.
Definition et_magnetisation.C:188
Lorene::Et_magnetisation::Et_magnetisation
Et_magnetisation(Map &mp_i, int nzet_i, bool relat, const Eos &eos_i, bool include_mag=true, bool use_B=true)
Standard constructor.
Definition et_magnetisation.C:87
Lorene::Et_magnetisation::angu_mom
virtual double angu_mom() const
Angular momentum.
Definition et_magnetisation_comp.C:582
Lorene::Et_magnetisation::sauve
virtual void sauve(FILE *) const
Save in a file.
Definition et_magnetisation.C:321
Lorene::Et_magnetisation::include_magnetisation
bool include_magnetisation
Flag : true if magnetisation terms are included in the equations.
Definition et_rot_mag.h:620
Lorene::Et_magnetisation::get_Sij_I
const Sym_tensor & get_Sij_I() const
Accessor to the interaction stress tensor.
Definition et_rot_mag.h:686
Lorene::Et_magnetisation::E_I
Scalar E_I
Interaction (magnetisation) energy density.
Definition et_rot_mag.h:624
Lorene::Et_magnetisation::mass_g
virtual double mass_g() const
Gravitational mass.
Definition et_magnetisation_comp.C:538
Lorene::Et_magnetisation::get_J_I
const Vector & get_J_I() const
Accessor to the interaction momentum vector.
Definition et_rot_mag.h:683
Lorene::Et_magnetisation::equilibrium_mag
void equilibrium_mag(double ent_c, double omega0, double fact_omega, int nzadapt, const Tbl &ent_limit, const Itbl &icontrol, const Tbl &control, double mbar_wanted, double magmom_wanted, double aexp_mass, Tbl &diff, double Q0, double a_j0, Cmp(*f_j)(const Cmp &x, const double), Cmp(*M_j)(const Cmp &x, const double))
Computes an equilibrium configuration.
Definition et_magnetisation.C:367
Lorene::Et_rot_mag::mom_quad_old
virtual double mom_quad_old() const
Part of the quadrupole moment.
Definition et_rot_mag_global.C:509
Lorene::Et_rot_mag::~Et_rot_mag
virtual ~Et_rot_mag()
Destructor.
Definition et_rot_mag.C:249
Lorene::Et_rot_mag::Q_int
double Q_int() const
Computed charge from the integration of charge density over the star (i.e.
Definition et_rot_mag_global.C:238
Lorene::Et_rot_mag::Srr_em
Tenseur Srr_em
rr component of the electromagnetic stress 3-tensor, as measured in the Eulerian frame....
Definition et_rot_mag.h:170
Lorene::Et_rot_mag::conduc
int conduc
Flag: conduc=0->isolator, 1->perfect conductor.
Definition et_rot_mag.h:181
Lorene::Et_rot_mag::get_Eem
const Tenseur & get_Eem() const
Returns the electromagnetic energy density in the Eulerian frame.
Definition et_rot_mag.h:260
Lorene::Et_rot_mag::j_phi
Cmp j_phi
-component of the current 4-vector
Definition et_rot_mag.h:159
Lorene::Et_rot_mag::get_jphi
const Cmp & get_jphi() const
Returns the component of the current 4-vector.
Definition et_rot_mag.h:258
Lorene::Et_rot_mag::equilibrium_mag_plus
void equilibrium_mag_plus(const Itbl &icontrol, const Tbl &control, Tbl &diff, const int initial_j, const Tbl an_j, Cmp(*f_j)(const Cmp &x, const Tbl), Cmp(*M_j)(const Cmp &x, const Tbl), const Tbl bn_j, Cmp(*g_j)(const Cmp &x, const Tbl), Cmp(*N_j)(const Cmp &x, const Tbl), const double relax_mag)
Computes an equilibrium configuration.
Definition et_rot_mag_equil_plus.C:62
Lorene::Et_rot_mag::Q_comput
double Q_comput() const
Computed charge deduced from the asymptotic behaviour of At [SI units].
Definition et_rot_mag_global.C:217
Lorene::Et_rot_mag::operator=
void operator=(const Et_rot_mag &)
Assignment to another Et_rot_mag.
Definition et_rot_mag.C:283
Lorene::Et_rot_mag::get_a_j
double get_a_j() const
Returns the amplitude of the current/charge function.
Definition et_rot_mag.h:284
Lorene::Et_rot_mag::Et_rot_mag
Et_rot_mag(Map &mp_i, int nzet_i, bool relat, const Eos &eos_i, const int cond)
Standard constructor.
Definition et_rot_mag.C:131
Lorene::Et_rot_mag::MHD_comput
virtual void MHD_comput()
Computes the electromagnetic part of the stress-energy tensor.
Definition et_rot_mag_global.C:119
Lorene::Et_rot_mag::A_phi
Cmp A_phi
-component of the electromagnetic potential 1-form divided by .
Definition et_rot_mag.h:155
Lorene::Et_rot_mag::get_Jpem
const Tenseur & get_Jpem() const
Returns the -component of the electromagnetic momentum density 3-vector, as measured in the Eulerian ...
Definition et_rot_mag.h:265
Lorene::Et_rot_mag::get_At
const Cmp & get_At() const
Returns the t component of the electromagnetic potential, divided by .
Definition et_rot_mag.h:246
Lorene::Et_rot_mag::a_j
double a_j
Amplitude of the curent/charge function.
Definition et_rot_mag.h:180
Lorene::Et_rot_mag::Spp_em
Tenseur Spp_em
component of the electromagnetic stress 3-tensor, as measured in the Eulerian frame.
Definition et_rot_mag.h:173
Lorene::Et_rot_mag::MagMom
double MagMom() const
Magnetic Momentum in SI units.
Definition et_rot_mag_global.C:192
Lorene::Et_rot_mag::grv3
virtual double grv3(ostream *ost=0x0) const
Error on the virial identity GRV3.
Definition et_rot_mag_global.C:404
Lorene::Et_rot_mag::tsw
virtual double tsw() const
Ratio T/W.
Definition et_rot_mag_global.C:344
Lorene::Et_rot_mag::magnet_comput
void magnet_comput(const int adapt_flag, Cmp(*f_j)(const Cmp &x, const double), Param &par_poisson_At, Param &par_poisson_Avect)
Computes the electromagnetic quantities solving the Maxwell equations (6) and (7) of [Bocquet,...
Definition et_rot_mag_mag.C:111
Lorene::Et_rot_mag::A_t
Cmp A_t
t-component of the elecctromagnetic potential 1-form, divided by .
Definition et_rot_mag.h:150
Lorene::Et_rot_mag::del_deriv
virtual void del_deriv() const
Deletes all the derived quantities.
Definition et_rot_mag.C:258
Lorene::Et_rot_mag::GyroMag
double GyroMag() const
Gyromagnetic ratio .
Definition et_rot_mag_global.C:268
Lorene::Et_rot_mag::get_Q
double get_Q() const
Returns the requested electric charge in the case of a perfect conductor and the charge/baryon for an...
Definition et_rot_mag.h:282
Lorene::Et_rot_mag::mass_g
virtual double mass_g() const
Gravitational mass.
Definition et_rot_mag_global.C:279
Lorene::Et_rot_mag::is_conduct
bool is_conduct() const
Tells if the star is made of conducting or isolating material.
Definition et_rot_mag.h:241
Lorene::Et_rot_mag::sauve
virtual void sauve(FILE *) const
Save in a file.
Definition et_rot_mag.C:311
Lorene::Et_rot_mag::j_t
Cmp j_t
t-component of the current 4-vector
Definition et_rot_mag.h:158
Lorene::Et_rot_mag::get_Sppem
const Tenseur & get_Sppem() const
Returns the component of the electromagnetic stress 3-tensor, as measured in the Eulerian frame.
Definition et_rot_mag.h:276
Lorene::Et_rot_mag::operator>>
virtual ostream & operator>>(ostream &) const
Operator >> (virtual function called by the operator <<).
Definition et_rot_mag.C:336
Lorene::Et_rot_mag::grv2
virtual double grv2() const
Error on the virial identity GRV2.
Definition et_rot_mag_global.C:378
Lorene::Et_rot_mag::E_em
Tenseur E_em
electromagnetic energy density in the Eulerian frame
Definition et_rot_mag.h:161
Lorene::Et_rot_mag::Jp_em
Tenseur Jp_em
component of the electromagnetic momentum density 3-vector, as measured in the Eulerian frame.
Definition et_rot_mag.h:167
Lorene::Et_rot_mag::get_jt
const Cmp & get_jt() const
Returns the t component of the current 4-vector.
Definition et_rot_mag.h:256
Lorene::Et_rot_mag::get_Bphi
const Cmp & get_Bphi() const
Returns the component of the magnetic field.
Definition et_rot_mag.h:254
Lorene::Et_rot_mag::set_der_0x0
virtual void set_der_0x0() const
Sets to 0x0 all the pointers on derived quantities.
Definition et_rot_mag.C:267
Lorene::Et_rot_mag::magnet_comput_plus
virtual void magnet_comput_plus(const int adapt_flag, const int initial_j, const Tbl an_j, Cmp(*f_j)(const Cmp &x, const Tbl), const Tbl bn_j, Cmp(*g_j)(const Cmp &x, const Tbl), Cmp(*N_j)(const Cmp &x, const Tbl), Param &par_poisson_At, Param &par_poisson_Avect)
Computes the electromagnetic quantities solving the Maxwell equations (6) and (7) of [Bocquet,...
Definition et_rot_mag_mag_plus.C:111
Lorene::Et_rot_mag::Q
double Q
In the case of a perfect conductor, the requated baryonic charge.
Definition et_rot_mag.h:179
Lorene::Et_rot_mag::get_Aphi
const Cmp & get_Aphi() const
Returns the component of the electromagnetic potential divided by .
Definition et_rot_mag.h:251
Lorene::Et_rot_mag::del_hydro_euler
virtual void del_hydro_euler()
Sets to ETATNONDEF (undefined state) the hydrodynamical quantities relative to the Eulerian observer.
Definition et_rot_mag.C:273
Lorene::Et_rot_mag::get_Srrem
const Tenseur & get_Srrem() const
Returns the rr-component of the electromagnetic stress 3-tensor, as measured in the Eulerian frame.
Definition et_rot_mag.h:271
Lorene::Et_rot_mag::Elec
Tenseur Elec() const
Computes the electric field spherical components in Lorene's units.
Definition et_rot_mag_global.C:151
Lorene::Et_rot_mag::B_phi
Cmp B_phi
-component of the magnetic field
Definition et_rot_mag.h:157
Lorene::Et_rot_mag::Magn
Tenseur Magn() const
Computes the magnetic field spherical components in Lorene's units.
Definition et_rot_mag_global.C:170
Lorene::Et_rot_mag::equilibrium_mag
void equilibrium_mag(double ent_c, double omega0, double fact_omega, int nzadapt, const Tbl &ent_limit, const Itbl &icontrol, const Tbl &control, double mbar_wanted, double aexp_mass, Tbl &diff, const double Q0, const double a_j0, Cmp(*f_j)(const Cmp &x, const double), Cmp(*M_j)(const Cmp &x, const double))
Computes an equilibrium configuration.
Definition et_rot_mag_equil.C:114
Lorene::Et_rot_mag::angu_mom
virtual double angu_mom() const
Angular momentum.
Definition et_rot_mag_global.C:310
Lorene::Etoile_rot::Etoile_rot
Etoile_rot(Map &mp_i, int nzet_i, bool relat, const Eos &eos_i)
Standard constructor.
Definition etoile_rot.C:137
Lorene::Itbl
Basic integer array class.
Definition itbl.h:122
Lorene::Param
Parameter storage.
Definition param.h:125
Lorene::Scalar
Tensor field of valence 0 (or component of a tensorial field).
Definition scalar.h:387
Lorene::Sym_tensor
Class intended to describe valence-2 symmetric tensors.
Definition sym_tensor.h:223
Lorene::Tbl
Basic array class.
Definition tbl.h:161
Lorene::Tenseur
Tensor handling *** DEPRECATED : use class Tensor instead ***.
Definition tenseur.h:301
Lorene::Vector
Tensor field of valence 1.
Definition vector.h:188
Lorene
Lorene prototypes.
Definition app_hor.h:64
Lorene::Map
Map(const Mg3d &)
Constructor from a multi-domain 3D grid.
Definition map.C:139
Lorene::x
Coord x
x coordinate centered on the grid
Definition map.h:726