Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

test_low_n_evolve.C File Reference

#include "sdyn.h"

Go to the source code of this file.

Defines

#define MOST   0.75
#define N_STEP_CHECK   1000

Typedefs

typedef real (* tfp )(sdyn *, real)

Functions

void predict_step (sdyn *b, real dt)
void correct_step (sdyn *b, real new_dt, real prev_new_dt)
void step (sdyn *b, real &t, real eps, real eta, real &dt, real max_dt, real dt_old, int &end_flag, tfp the_tfp, int n_iter, int x_flag, int s_flag)
void initialize (sdyn *b, real eps)
real constant_timestep (sdyn *b, real eta)
real dynamic_timestep (sdyn *b, real eta)
tfp timestep_function_ptr (char *timestep_name)
real calculate_energy (sdyn *b, real &ekin, real &epot)
real calculate_energy_from_scratch (sdyn *b, real &ekin, real &epot)
void start_up (sdyn *b, real &n_steps)
void clean_up (sdyn *b, real n)
local bool system_in_cube (sdyn *b, real cube_size)
local void copy_node_partial (sdyn *b, sdyn *c)
local sdyn* copy_flat_tree (sdyn *b)
local void delete_node (sdyn *b)
local void pp (sdyn *b, ostream &s, int level=0)
void low_n_evolve (sdyn *b, real delta_t, real dt_out, real dt_snap, real snap_cube_size, real eps, real eta, int x_flag, char *timestep_name, int s_flag, int n_iter, real n_max, real cpu_time_check, real dt_print, sdyn_print_fp print)


Define Documentation

#define MOST   0.75
 

Definition at line 197 of file test_low_n_evolve.C.

#define N_STEP_CHECK   1000
 

Definition at line 287 of file test_low_n_evolve.C.


Typedef Documentation

typedef real (* tfp)(sdyn *, real)
 

Definition at line 31 of file test_low_n_evolve.C.


Function Documentation

real calculate_energy ( sdyn * b,
real & ekin,
real & epot )
 

Definition at line 141 of file test_low_n_evolve.C.

real calculate_energy_from_scratch ( sdyn * b,
real & ekin,
real & epot )
 

Definition at line 154 of file test_low_n_evolve.C.

Referenced by merge_collisions(), scatter(), and slave_part_of_experiment().

void clean_up ( sdyn * b,
real n )
 

Definition at line 189 of file test_low_n_evolve.C.

real constant_timestep ( sdyn * b,
real eta )
 

Definition at line 103 of file test_low_n_evolve.C.

local sdyn* copy_flat_tree ( sdyn * b )
 

Definition at line 227 of file test_low_n_evolve.C.

local void copy_node_partial ( sdyn * b,
sdyn * c )
 

Definition at line 218 of file test_low_n_evolve.C.

Referenced by copy_flat_tree().

void correct_step ( sdyn * b,
real new_dt,
real prev_new_dt )
 

Definition at line 17 of file test_low_n_evolve.C.

Referenced by correct_step(), and step().

local void delete_node ( sdyn * b )
 

Definition at line 257 of file test_low_n_evolve.C.

Referenced by delete_node().

real dynamic_timestep ( sdyn * b,
real eta )
 

Definition at line 109 of file test_low_n_evolve.C.

void initialize ( sdyn * b,
real eps )
 

Definition at line 92 of file test_low_n_evolve.C.

void low_n_evolve ( sdyn * b,
real delta_t,
real dt_out,
real dt_snap,
real snap_cube_size,
real eps,
real eta,
int x_flag,
char * timestep_name,
int s_flag,
int n_iter,
real n_max,
real cpu_time_check,
real dt_print,
sdyn_print_fp print )
 

Definition at line 289 of file test_low_n_evolve.C.

Referenced by tree_evolve().

local void pp ( sdyn * b,
ostream & s,
int level = 0 )
 

Definition at line 271 of file test_low_n_evolve.C.

void predict_step ( sdyn * b,
real dt )
 

Definition at line 7 of file test_low_n_evolve.C.

Referenced by initialize(), predict_step(), and step().

void start_up ( sdyn * b,
real & n_steps )
 

Definition at line 171 of file test_low_n_evolve.C.

void step ( sdyn * b,
real & t,
real eps,
real eta,
real & dt,
real max_dt,
real dt_old,
int & end_flag,
tfp the_tfp,
int n_iter,
int x_flag,
int s_flag )
 

Definition at line 33 of file test_low_n_evolve.C.

local bool system_in_cube ( sdyn * b,
real cube_size )
 

Definition at line 199 of file test_low_n_evolve.C.

tfp timestep_function_ptr ( char * timestep_name )
 

Definition at line 126 of file test_low_n_evolve.C.

Referenced by low_n_evolve().


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