Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

rcore.C File Reference

#include "dyn.h"

Go to the source code of this file.

Data Structures

struct  rm_pair

Defines

#define Rsun_pc   2.255e-8
#define ALL_i
#define j_ABOVE_i

Typedefs

typedef * rm_pair_ptr

Functions

local real conv_v_dyn_to_star (real v, real rf, real tf)
local int compare_radii (const void *pi, const void *pj)
local void compute_general_mass_radii (dyn *b, vector dc_pos, int nzones, real r_lagr[], real m_cutoff, real M_cutoff, bool nonlin=false, boolfn bf=NULL)
local void compute_mass_radii_quartiles (dyn *b, vector dc_pos, real m_cutoff, real M_cutoff)
local void compute_mass_radii_percentiles (dyn *b, vector dc_pos, real m_cutoff, real M_cutoff)
local bool single_fn (dyn *b)
local bool double_fn (dyn *b)
local void print_lagrangian_radii (dyn *b, vector dc_pos, int which_lagr, real m_cutoff, real M_cutoff, int which=0)
local void compute_density (dyn *b, int k, int n, real local_density[], real m_cutoff, real M_cutoff)
local void compute_mean_cod (dyn *b, real local_density[], vector &pos, vector &vel, real m_cutoff, real M_cutoff)
local void compute_core_parameters (dyn *b, int k, vector &center, real &rcore, int &ncore, real &mcore, real &vcore, int n, real local_density[], real m_cutoff, real M_cutoff)
local void print_core_parameters (dyn *b, vector &density_center, real &rcore, int &ncore, real &vcore, int n, real local_density[], real m_cutoff, real M_cutoff, bool verbose)
local real system_energy (dyn *b, real m_cutoff, real M_cutoff)
local void get_energies (dyn *n, real eps2, real &kinetic_energy, real &potential_energy, real m_cutoff, real M_cutoff)
local void print_energies (dyn *b, real &kT, real m_cutoff, real M_cutoff, bool verbose)
local void print_relaxation_time (dyn *b, real m_cutoff, real M_cutoff, bool verbose)
local void get_composition (dyn *b, real m_cutoff, real M_cutoff, int &n, real &mmean, real &rmean, real &vdisp)
 main (int argc, char **argv)


Define Documentation

#define ALL_i
 

Value:

                                             ni = n->get_oldest_daughter(); ni != NULL; \
                                             ni = ni->get_younger_sister()

Definition at line 8 of file rcore.C.

#define Rsun_pc   2.255e-8
 

Definition at line 6 of file rcore.C.

#define j_ABOVE_i
 

Value:

                                             nj = ni->get_younger_sister(); nj != NULL; \
                                             nj = nj->get_younger_sister()

Definition at line 10 of file rcore.C.


Typedef Documentation

typedef * rm_pair_ptr
 


Function Documentation

local int compare_radii ( const void * pi,
const void * pj )
 

Definition at line 43 of file rcore.C.

local void compute_core_parameters ( dyn * b,
int k,
vector & center,
real & rcore,
int & ncore,
real & mcore,
real & vcore,
int n,
real local_density[],
real m_cutoff,
real M_cutoff )
 

Definition at line 409 of file rcore.C.

local void compute_density ( dyn * b,
int k,
int n,
real local_density[],
real m_cutoff,
real M_cutoff )
 

Definition at line 311 of file rcore.C.

local void compute_general_mass_radii ( dyn * b,
vector dc_pos,
int nzones,
real r_lagr[],
real m_cutoff,
real M_cutoff,
bool nonlin = false,
boolfn bf = NULL )
 

Definition at line 60 of file rcore.C.

local void compute_mass_radii_percentiles ( dyn * b,
vector dc_pos,
real m_cutoff,
real M_cutoff )
 

Definition at line 193 of file rcore.C.

local void compute_mass_radii_quartiles ( dyn * b,
vector dc_pos,
real m_cutoff,
real M_cutoff )
 

Definition at line 182 of file rcore.C.

local void compute_mean_cod ( dyn * b,
real local_density[],
vector & pos,
vector & vel,
real m_cutoff,
real M_cutoff )
 

Definition at line 381 of file rcore.C.

local real conv_v_dyn_to_star ( real v,
real rf,
real tf )
 

Definition at line 14 of file rcore.C.

local bool double_fn ( dyn * b )
 

Definition at line 215 of file rcore.C.

local void get_composition ( dyn * b,
real m_cutoff,
real M_cutoff,
int & n,
real & mmean,
real & rmean,
real & vdisp )
 

Definition at line 626 of file rcore.C.

local void get_energies ( dyn * n,
real eps2,
real & kinetic_energy,
real & potential_energy,
real m_cutoff,
real M_cutoff )
 

Definition at line 538 of file rcore.C.

main ( int argc,
char ** argv )
 

Definition at line 664 of file rcore.C.

local void print_core_parameters ( dyn * b,
vector & density_center,
real & rcore,
int & ncore,
real & vcore,
int n,
real local_density[],
real m_cutoff,
real M_cutoff,
bool verbose )
 

Definition at line 457 of file rcore.C.

local void print_energies ( dyn * b,
real & kT,
real m_cutoff,
real M_cutoff,
bool verbose )
 

Definition at line 568 of file rcore.C.

local void print_lagrangian_radii ( dyn * b,
vector dc_pos,
int which_lagr,
real m_cutoff,
real M_cutoff,
int which = 0 )
 

Definition at line 223 of file rcore.C.

local void print_relaxation_time ( dyn * b,
real m_cutoff,
real M_cutoff,
bool verbose )
 

Definition at line 593 of file rcore.C.

local bool single_fn ( dyn * b )
 

Definition at line 204 of file rcore.C.

local real system_energy ( dyn * b,
real m_cutoff,
real M_cutoff )
 

Definition at line 512 of file rcore.C.


Generated at Sun Feb 24 09:57:29 2002 for STARLAB by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001