ESTER
Evolution STEllaire en Rotation
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | Protected Attributes | List of all members
star_evol Class Reference

#include <star.h>

Inheritance diagram for star_evol:
Inheritance graph
[legend]
Collaboration diagram for star_evol:
Collaboration graph
[legend]

Public Member Functions

 star_evol ()
 
 star_evol (const star2d &)
 
virtual void fill ()
 Initialize star's chemical composition, equation of state, opacity, nuclear reaction, mass definition, pi_c, Lambda, velocity, units, atmosphere, flatness, scaled keplerian angular velocity. More...
 
virtual int read (const char *input_file, int dim=2)
 
virtual solverinit_solver (int nvar_add=0)
 
virtual void register_variables (solver *op)
 
virtual void solve_Omega (solver *)
 Equation setting the equatorial angular velocity. More...
 
- Public Member Functions inherited from star2d
void calc_units ()
 
 star2d ()
 
virtual ~star2d ()
 
 star2d (const star2d &)
 
star2doperator= (const star2d &)
 
virtual void opacity ()
 
virtual void nuclear ()
 
virtual void eq_state ()
 
virtual void atmosphere ()
 
virtual int init (const char *input_file, const char *param_file, int argc, char *argv[])
 
virtual int check_arg (char *arg, char *val, int *change_grid)
 
virtual int read_old (const char *input_file)
 
virtual void write (const char *output_file, char output_mode='b') const
 
virtual void interp (remapper *red)
 
virtual void dump_info ()
 
virtual void init_comp ()
 
virtual double solve (solver *)
 Performs one step of the Newton algorithm to compute the star's internal structure. More...
 
virtual void solve_poisson (solver *)
 Writes Poisson equation and interface conditions into the solver. More...
 
virtual void solve_mov (solver *)
 Writes movement and vorticity equations into the solver. More...
 
virtual void solve_temp (solver *)
 Writes temperature and luminosity equations and interface conditions into the solver. More...
 
virtual void solve_dim (solver *)
 Writes the equations for the dimensional quantities (T_c, rho_c, R, etc.) More...
 
virtual void solve_map (solver *)
 Part of the Jacobian associated with the mapping There are geometrical relations and physical relations placing the physical interfaces on surfaces zeta=cst. Option also to define the stellar surface as a tau=cst or P=cst. More...
 
virtual void solve_gsup (solver *)
 Equation giving the effective surface gravity gsup gsup=(- P)/rho. More...
 
virtual void solve_Teff (solver *)
 Equation setting the surface effective temperature Derived from sigma T_e^4 = -xi. More...
 
virtual void solve_definitions (solver *)
 insert the definitions depending on opacity and eos tables into the solver, and the definitions used by the mapping (eta,deta,Ri,dRi,...), and the entropy More...
 
virtual void solve_atm (solver *)
 Equation setting the 'simple' atmosphere model equations To be checked. More...
 
virtual void update_map (matrix dR)
 
virtual void calc_veloc ()
 
virtual matrix entropy () const
 
virtual double luminosity () const
 
virtual matrix Teff () const
 
virtual matrix N2 () const
 
virtual matrix gsup () const
 
virtual double virial_3P () const
 
virtual double virial_L () const
 
virtual double virial_W () const
 
virtual double virial_ps () const
 
virtual double virial () const
 
virtual double energy_test () const
 
virtual matrix stream () const
 
virtual double apparent_luminosity (double i) const
 
virtual double Lz () const
 
virtual double Mcore () const
 
virtual double Lzcore () const
 
virtual matrix Rcore () const
 
virtual void remap (int ndomains, int *npts, int nth, int nex)
 
virtual bool remap_domains (int ndom, remapper &red)
 
virtual matrix find_boundaries (const matrix &logTi) const
 
virtual std::vector< int > distribute_domains (int ndom, matrix &zif, bool check_only=false) const
 
virtual matrix distribute_domains (int ndomains, int &conv_new, double p_cc=0) const
 
virtual matrix find_boundaries_old (matrix pif) const
 
virtual void check_map ()
 
virtual int check_convec (double &p_cc, matrix &Rcc)
 
void draw (figure *, const matrix &, int parity=0) const
 
void drawi (figure *, const matrix &, int sr, int st, int parity=0) const
 
void drawc (figure *, const matrix &, int ncontours, int parity=0) const
 
void drawci (figure *, const matrix &, int sr, int st, int ncontours, int parity=0) const
 
void spectrum (figure *, const matrix &, int parity=0) const
 
matrix kconv () const
 
void add_kconv (solver *op, const char *eqn, const matrix &d)
 
void add_dkconv_dz (solver *op, const char *eqn, const matrix &d)
 
void kconv_common (matrix &kc, matrix &Ja, matrix &Jb, symbolic &S, sym &a_, sym &b_) const
 
virtual void check_jacobian (solver *op, const char *eqn)
 Routine to check the Jacobian matrix. More...
 
void hdf5_write (const char *filename) const
 
int hdf5_read (const char *input_file, int dim)
 

Public Attributes

bool converged
 
double Lz_obj
 
- Public Attributes inherited from star2d
mapping map
 
const int & nr
 
const int & nth
 
const int & nex
 
const int & ndomains
 
const matrixr
 
const matrixz
 
const matrixth
 
const matrixDt
 
const matrixDt2
 
const matrixzex
 
const matrixDex
 
const matrixrex
 
const matrix_block_diagD
 
matrix rho
 
matrix phi
 
matrix p
 
matrix T
 
matrix phiex
 
matrix vr
 
matrix vt
 
matrix G
 
matrix w
 
composition_map comp
 
double X0
 
double Y0
 
double Z0
 
double R
 
double M
 
double rhoc
 
double Tc
 
double pc
 
double Omega
 
double Omega_bk
 
double Omegac
 
double Ekman
 
opa_struct opa
 
nuc_struct nuc
 
eos_struct eos
 
atm_struct atm
 
matrix ps
 
matrix Ts
 
double m
 
double pi_c
 
double Lambda
 
double surff
 
int conv
 
double Xc
 
int core_convec
 
int env_convec
 
int stratified_comp
 
double min_core_size
 
std::vector< int > domain_type
 
struct star2d::version_struct version
 
struct star2d::units_struct units
 
struct star2d::config_struct config
 

Protected Attributes

bool comp_inited
 

Additional Inherited Members

- Protected Member Functions inherited from star2d
virtual void copy (const star2d &)
 
void init1d (const star1d &A, int npts_th, int npts_ex)
 
virtual bool check_tag (const char *tag) const
 
virtual void write_tag (OUTFILE *fp) const
 

Constructor & Destructor Documentation

star_evol::star_evol ( )
star_evol::star_evol ( const star2d A)

Here is the call graph for this function:

Member Function Documentation

void star_evol::fill ( )
virtual

Initialize star's chemical composition, equation of state, opacity, nuclear reaction, mass definition, pi_c, Lambda, velocity, units, atmosphere, flatness, scaled keplerian angular velocity.

Reimplemented from star2d.

Here is the call graph for this function:

solver * star_evol::init_solver ( int  nvar_add = 0)
virtual

Reimplemented from star2d.

Here is the call graph for this function:

int star_evol::read ( const char *  input_file,
int  dim = 2 
)
virtual

Reimplemented from star2d.

Here is the call graph for this function:

void star_evol::register_variables ( solver op)
virtual

Reimplemented from star2d.

Here is the call graph for this function:

void star_evol::solve_Omega ( solver op)
virtual

Equation setting the equatorial angular velocity.

Reimplemented from star2d.

Here is the call graph for this function:

Member Data Documentation

bool star_evol::comp_inited
protected
bool star_evol::converged
double star_evol::Lz_obj

The documentation for this class was generated from the following files: