Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

rcore2_bk.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, int nzones, vector dc_pos, real m_cutoff, real M_cutoff, bool nonlin=false, boolfn bf=NULL)
local void compute_mass_radii_quartiles (dyn *b, dc_pos, real m_cutoff, real M_cutoff)
local void compute_mass_radii_percentiles (dyn *b, 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, int which_lagr, vector dc_pos, real m_cutoff, real M_cutoff, int which=0)
local void compute_density (dyn *b, int k, int n, real m_cutoff, real M_cutoff)
local void compute_mean_cod (dyn *b, 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 m_cutoff, real M_cutoff)
local void print_core_parameters (dyn *b, vector &density_center, real &rcore, int &ncore, real &vcore, int n, 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 rcore2_bk.C.

#define Rsun_pc   2.255e-8
 

Definition at line 6 of file rcore2_bk.C.

#define j_ABOVE_i
 

Value:

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

Definition at line 10 of file rcore2_bk.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 rcore2_bk.C.

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

Definition at line 368 of file rcore2_bk.C.

Referenced by print_core_parameters().

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

Definition at line 277 of file rcore2_bk.C.

Referenced by compute_core_parameters(), count_neighbors_and_adjust_h2(), and get_densities_for_list().

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

Definition at line 60 of file rcore2_bk.C.

Referenced by compute_mass_radii_percentiles(), compute_mass_radii_quartiles(), and print_lagrangian_radii().

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

Definition at line 181 of file rcore2_bk.C.

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

Definition at line 175 of file rcore2_bk.C.

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

Definition at line 344 of file rcore2_bk.C.

Referenced by compute_core_parameters(), compute_mean_cod(), and kira_compute_densities().

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

Definition at line 14 of file rcore2_bk.C.

Referenced by get_composition(), and print_core_parameters().

local bool double_fn ( dyn * b )
 

Definition at line 198 of file rcore2_bk.C.

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

Definition at line 580 of file rcore2_bk.C.

Referenced by main().

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

Definition at line 491 of file rcore2_bk.C.

Referenced by print_energies(), and print_relaxation_time().

main ( int argc,
char ** argv )
 

Definition at line 618 of file rcore2_bk.C.

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

Definition at line 412 of file rcore2_bk.C.

Referenced by main(), and sys_stats().

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

Definition at line 521 of file rcore2_bk.C.

Referenced by evolve_system(), main(), and sys_stats().

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

Definition at line 206 of file rcore2_bk.C.

Referenced by main(), and sys_stats().

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

Definition at line 547 of file rcore2_bk.C.

Referenced by main(), and sys_stats().

local bool single_fn ( dyn * b )
 

Definition at line 187 of file rcore2_bk.C.

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

Definition at line 465 of file rcore2_bk.C.

Referenced by print_energies().


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