Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

dyn_external.C File Reference

#include "dyn.h"

Go to the source code of this file.

Defines

#define LAMBDA_FAC   1

Functions

local void add_tidal (dyn *b, vector pos, vector vel, real &pot, vector &acc, vector &jerk, bool pot_only)
local real tidal_pot (dyn *b)
local void add_plummer (dyn *b, vector pos, vector vel, real &pot, vector &acc, vector &jerk, bool pot_only)
local real plummer_pot (dyn *b)
local real plummer_virial (dyn *b)
void set_friction_beta (real b)
void set_friction_mass (real m)
void set_friction_vel (vector v)
local real density (dyn *b, real r)
local real mass (dyn *b, real r)
local real logLambda (dyn *b, real r)
local real potential (dyn *b, real r)
void set_friction_acc (dyn *b, real r)
local void set_acx (real A, real c2, real x)
local void add_power_law (dyn *b, vector pos, vector vel, real &pot, vector &acc, vector &jerk, bool pot_only)
local real power_law_pot (dyn *b)
local real power_law_virial (dyn *b)
void get_external_acc (dyn *b, vector pos, vector vel, real &pot, vector &acc, vector &jerk, bool pot_only)
real vcirc (dyn *b, vector r)
real get_tidal_pot (dyn *b)
real get_plummer_pot (dyn *b)
real get_power_law_pot (dyn *b)
real get_external_pot (dyn *b, void(*pot_func)(dyn *, real))
real get_external_virial (dyn *b)
local void print_ext (int n)
void print_external (unsigned int ext, bool shortbits)

Variables

bool acx_set = false


Define Documentation

#define LAMBDA_FAC   1
 

Definition at line 264 of file dyn_external.C.


Function Documentation

local void add_plummer ( dyn * b,
vector pos,
vector vel,
real & pot,
vector & acc,
vector & jerk,
bool pot_only ) [inline]
 

Definition at line 119 of file dyn_external.C.

Referenced by get_external_acc().

local void add_power_law ( dyn * b,
vector pos,
vector vel,
real & pot,
vector & acc,
vector & jerk,
bool pot_only ) [inline]
 

Definition at line 359 of file dyn_external.C.

Referenced by add_plummer(), and get_external_acc().

local void add_tidal ( dyn * b,
vector pos,
vector vel,
real & pot,
vector & acc,
vector & jerk,
bool pot_only ) [inline]
 

Definition at line 50 of file dyn_external.C.

Referenced by get_external_acc().

local real density ( dyn * b,
real r )
 

Definition at line 242 of file dyn_external.C.

Referenced by set_friction_acc().

void get_external_acc ( dyn * b,
vector pos,
vector vel,
real & pot,
vector & acc,
vector & jerk,
bool pot_only )
 

Definition at line 588 of file dyn_external.C.

Referenced by ext_acc(), ext_pot(), kira_synchronize_tree(), and vcirc().

real get_external_pot ( dyn * b,
void(* pot_func)(dyn *, real) )
 

Definition at line 657 of file dyn_external.C.

Referenced by calculate_energies_with_external(), log_output(), print_energies(), and scale().

real get_external_virial ( dyn * b )
 

Definition at line 685 of file dyn_external.C.

Referenced by print_energies(), and scale().

real get_plummer_pot ( dyn * b )
 

Definition at line 654 of file dyn_external.C.

real get_power_law_pot ( dyn * b )
 

Definition at line 655 of file dyn_external.C.

real get_tidal_pot ( dyn * b )
 

Definition at line 653 of file dyn_external.C.

local real logLambda ( dyn * b,
real r )
 

Definition at line 266 of file dyn_external.C.

Referenced by set_friction_acc().

local real mass ( dyn * b,
real r )
 

Definition at line 253 of file dyn_external.C.

Referenced by logLambda().

local real plummer_pot ( dyn * b ) [inline]
 

Definition at line 148 of file dyn_external.C.

Referenced by get_external_pot(), and get_plummer_pot().

local real plummer_virial ( dyn * b ) [inline]
 

Definition at line 168 of file dyn_external.C.

Referenced by get_external_virial().

local real potential ( dyn * b,
real r )
 

Definition at line 287 of file dyn_external.C.

Referenced by energy(), and set_friction_acc().

local real power_law_pot ( dyn * b ) [inline]
 

Definition at line 456 of file dyn_external.C.

Referenced by get_external_pot(), and get_power_law_pot().

local real power_law_virial ( dyn * b ) [inline]
 

Definition at line 507 of file dyn_external.C.

Referenced by get_external_virial().

local void print_ext ( int n )
 

Definition at line 707 of file dyn_external.C.

Referenced by print_external().

void print_external ( unsigned int ext,
bool shortbits )
 

Definition at line 725 of file dyn_external.C.

Referenced by log_output(), and print_energies().

local void set_acx ( real A,
real c2,
real x ) [inline]
 

Definition at line 347 of file dyn_external.C.

Referenced by add_power_law(), and power_law_pot().

void set_friction_acc ( dyn * b,
real r )
 

Definition at line 304 of file dyn_external.C.

Referenced by refine_cluster_mass2().

void set_friction_beta ( real b )
 

Definition at line 234 of file dyn_external.C.

Referenced by kira_initialize().

void set_friction_mass ( real m )
 

Definition at line 237 of file dyn_external.C.

Referenced by refine_cluster_mass2().

void set_friction_vel ( vector v )
 

Definition at line 240 of file dyn_external.C.

Referenced by refine_cluster_mass2().

local real tidal_pot ( dyn * b ) [inline]
 

Definition at line 91 of file dyn_external.C.

Referenced by get_external_pot(), and get_tidal_pot().

real vcirc ( dyn * b,
vector r )
 

Definition at line 633 of file dyn_external.C.


Variable Documentation

bool acx_set = false
 

Definition at line 344 of file dyn_external.C.


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