Main Page   Class Hierarchy   Data Structures   File List   Data Fields   Globals  

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, int &end_flag, int &coll_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)
void pp (sdyn *b, ostream &s, int level=0)
bool 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 202 of file low_n_evolve.C.

#define N_STEP_CHECK   1000
 

Definition at line 291 of file low_n_evolve.C.


Typedef Documentation

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

Definition at line 46 of file low_n_evolve.C.


Function Documentation

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

Definition at line 146 of file low_n_evolve.C.

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

Definition at line 159 of file low_n_evolve.C.

void clean_up ( sdyn * b,
real n )
 

Definition at line 194 of file low_n_evolve.C.

real constant_timestep ( sdyn * b,
real eta )
 

Definition at line 108 of file low_n_evolve.C.

local sdyn* copy_flat_tree ( sdyn * b )
 

Definition at line 232 of file low_n_evolve.C.

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

Definition at line 223 of file low_n_evolve.C.

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

Definition at line 32 of file low_n_evolve.C.

local void delete_node ( sdyn * b )
 

Definition at line 262 of file low_n_evolve.C.

real dynamic_timestep ( sdyn * b,
real eta )
 

Definition at line 114 of file low_n_evolve.C.

void initialize ( sdyn * b,
real eps )
 

Definition at line 97 of file low_n_evolve.C.

bool 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 293 of file low_n_evolve.C.

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

Definition at line 276 of file low_n_evolve.C.

void predict_step ( sdyn * b,
real dt )
 

Definition at line 22 of file low_n_evolve.C.

void start_up ( sdyn * b,
real & n_steps )
 

Definition at line 176 of file low_n_evolve.C.

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

Definition at line 48 of file low_n_evolve.C.

local bool system_in_cube ( sdyn * b,
real cube_size )
 

Definition at line 204 of file low_n_evolve.C.

tfp timestep_function_ptr ( char * timestep_name )
 

Definition at line 131 of file low_n_evolve.C.


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