#include "story.h"
Go to the source code of this file.
Defines | |
#define | BYTE_LENGTH 8 |
#define | SAFE_INT_LENGTH (5 + (BYTE_LENGTH*sizeof(int))/3) |
#define | SAFE_REAL_LENGTH (10 + (BYTE_LENGTH*sizeof(real))/3) |
#define | SAFE_STRING_LENGTH 1 |
#define | SAFE_VECTOR_LENGTH (3 * (SAFE_REAL_LENGTH + 2)) |
#define | EXTRA_LENGTH 5 |
#define | GET_ARR_BUFSIZ 8192 |
Functions | |
int | is_chapter (story *s) |
int | is_chapter_begin_line (char *line) |
int | is_chapter_end_line (char *line) |
int | get_story_line (istream &str, char *line) |
void | add_daughter_story (story *s, story *d) |
void | add_chapter (story *s, story *chap) |
void | rm_daughter_story (story *s, story *d) |
story* | mk_story_line () |
story* | mk_story_line (char *line) |
story* | mk_story_chapter () |
story* | mk_story_chapter (char *title) |
void | add_story_line (story *s, char *line) |
story* | get_chapter (istream &str, char *line) |
story* | get_story (istream &str, char *line) |
story* | get_story (istream &str) |
void | put_headline (ostream &str, story &s) |
void | put_tailline (ostream &str, story &s) |
void | put_line_text (ostream &str, story &s) |
void | put_chapter (ostream &str, story &s) |
void | put_story_contents (ostream &str, story &s) |
void | put_story (ostream &str, story &s) |
local void | write_iq (story *a_story_line, char *name, int value) |
local void | write_ulq (story *a_story_line, char *name, unsigned long value) |
local void | write_rq (story *a_story_line, char *name, real value, int p=6) |
local void | write_sq (story *a_story_line, char *name, char *value) |
local void | write_vq (story *a_story_line, char *name, vector &value) |
local void | write_ra (story *a_story_line, char *name, real *value, int n) |
local void | write_ia (story *a_story_line, char *name, int *value, int n) |
local void | write_ia (story *a_story_line, char *name, unsigned long *value, int n) |
local bool | qmatch (story *a_story_line, char *name) |
story* | find_qmatch (story *a_story, char *name) |
local char* | get_qstring (story *a_story_line) |
int | getiq (story *a_story, char *name, bool verbose) |
unsigned long | getulq (story *a_story, char *name, bool verbose) |
real | getrq (story *a_story, char *name, bool verbose) |
char* | getsq (story *a_story, char *name, bool verbose) |
vector | getvq (story *a_story, char *name, bool verbose) |
local void | get_array (char *sin, real *x, int n) |
local void | get_array (char *sin, int *x, int n) |
local void | get_array (char *sin, unsigned long *x, int n) |
void | getra (story *a_story, char *name, real *x, int n, bool verbose) |
void | getia (story *a_story, char *name, int *x, int n, bool verbose) |
void | getia (story *a_story, char *name, unsigned long *x, int n, bool verbose) |
void | putiq (story *a_story, char *name, int value) |
void | putulq (story *a_story, char *name, unsigned long value) |
void | dump_story (story *s, int indent) |
void | putrq (story *a_story, char *name, real value, int precision) |
void | putra (story *a_story, char *name, real *value, int n) |
void | putia (story *a_story, char *name, int *value, int n) |
void | putia (story *a_story, char *name, unsigned long *value, int n) |
void | putsq (story *a_story, char *name, char *value) |
void | putvq (story *a_story, char *name, vector &value) |
int | rmq (story *a_story, char *name) |
int | is_quantity_name (story *a_story, char *name) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 91 of file story.C. Referenced by get_chapter(). |
|
Definition at line 67 of file story.C. Referenced by add_chapter(), add_story_line(), putia(), putiq(), putra(), putrq(), putsq(), putulq(), and putvq(). |
|
Definition at line 153 of file story.C. Referenced by get_chapter(). |
|
Definition at line 944 of file story.C. Referenced by putrq(). |
|
|
|
|
|
|
|
|
Definition at line 161 of file story.C. Referenced by get_chapter(), and get_story(). |
|
Definition at line 589 of file story.C. Referenced by getia(), getiq(), getra(), getrq(), getsq(), getulq(), getvq(), and putrq(). |
|
Definition at line 196 of file story.C. Referenced by operator>>(). |
|
|
|
Definition at line 51 of file story.C. Referenced by get_chapter(), and get_story(). |
|
Definition at line 876 of file story.C. Referenced by initialize_counters_from_log(). |
|
|
|
Definition at line 609 of file story.C. Referenced by ONE3(), addstar(), check_kira_flag(), check_set_ignore_internal(), count_neighbors_and_adjust_h2(), double_fn(), get_external_acc(), get_sum_of_radii(), getq(), grape_calculate_acc_and_jerk(), initialize_counters_from_log(), main(), print_anisotropy_by_radial_zone(), print_close_encounter(), print_encounter_elements(), print_lagrangian_radii(), print_mass_over_light(), print_numbers_and_masses_by_radial_zone(), print_perioapo_clustron(), print_stellar_content(), scan_root_nodes(), set_tidal_params(), and single_fn(). |
|
Definition at line 824 of file story.C. Referenced by print_anisotropy_by_radial_zone(), print_lagrangian_radii(), print_mass_over_light(), print_numbers_and_masses_by_radial_zone(), and print_stellar_content(). |
|
Definition at line 652 of file story.C. Referenced by check_for_doubling(), check_merge_esc_flags(), check_set_plummer(), check_set_power_law(), choose_param(), compute_core_parameters(), compute_max_cod(), compute_mcom(), compute_mean_cod(), compute_projected_luminosity_radii(), count_neighbors_and_adjust_h2(), get_composition(), get_initial_jacobi_radius(), get_initial_mass(), get_initial_virial_radius(), get_scaled_stripping_radius(), get_std_center(), get_ubvri_star(), getq(), grape_calculate_densities(), main(), print_close_encounter(), print_hertzsprung_Russell_diagram(), print_lagrangian_radii(), print_mass_over_light(), print_node(), print_numbers_and_masses(), print_perioapo_clustron(), print_povray_header(), print_povray_stars(), print_star(), print_timestep_stats(), print_ubvri_star(), put_ubvri(), read_bundle(), refine_cluster_mass2(), scale(), set_tidal_params(), and sys_stats(). |
|
Definition at line 679 of file story.C. Referenced by compute_core_parameters(), get_ubvri_star(), print_close_encounter(), print_hertzsprung_Russell_diagram(), print_lagrangian_radii(), print_star(), print_stellar_content(), and print_ubvri_star(). |
|
Definition at line 630 of file story.C. Referenced by getq(). |
|
Definition at line 700 of file story.C. Referenced by check_set_plummer(), check_set_power_law(), compute_mcom(), compute_projected_luminosity_radii(), get_std_center(), getq(), print_anisotropy_by_radial_zone(), print_lagrangian_radii(), print_mass_over_light(), print_numbers_and_masses_by_radial_zone(), print_povray_stars(), print_stellar_content(), put_ubvri(), scan_root_nodes(), sort_stellar_ubvri(), and sys_stats(). |
|
Definition at line 33 of file story.C. Referenced by put_chapter(), and put_story_contents(). |
|
Definition at line 41 of file story.C. Referenced by get_chapter(), and get_story(). |
|
Definition at line 46 of file story.C. Referenced by get_chapter(). |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 239 of file story.C. Referenced by put_chapter(), put_story(), and put_story_contents(). |
|
Definition at line 212 of file story.C. Referenced by put_chapter(). |
|
Definition at line 230 of file story.C. Referenced by put_chapter(), and put_story_contents(). |
|
Definition at line 279 of file story.C. Referenced by operator<<(), and putrq(). |
|
Definition at line 261 of file story.C. Referenced by put_node_body(). |
|
Definition at line 221 of file story.C. Referenced by put_chapter(). |
|
Definition at line 1062 of file story.C. Referenced by write_counters_to_log(). |
|
|
|
Definition at line 905 of file story.C. Referenced by ONE3(), compute_density(), compute_general_mass_radii(), compute_mcom(), grape_calculate_acc_and_jerk(), kira_initialize(), main(), modify_params(), print_close_encounter(), print_core_parameters(), print_perioapo_clustron(), putq(), refine_cluster_mass(), refine_cluster_mass2(), set_runtime_params(), set_tidal_params(), tmp_string(), and write_counters_to_log(). |
|
Definition at line 1020 of file story.C. Referenced by compute_general_mass_radii(). |
|
Definition at line 971 of file story.C. Referenced by YR(), add_power_law(), check_merge_esc_flags(), choose_param(), compute_com(), compute_density(), compute_general_mass_radii(), compute_max_cod(), compute_mcom(), compute_mean_cod(), get_densities(), get_densities_for_list(), get_initial_jacobi_radius(), get_initial_mass(), get_initial_virial_radius(), get_scaled_stripping_radius(), get_std_center(), grape_calculate_densities(), kira_initialize(), main(), mksphere(), modify_params(), print_close_encounter(), print_core_parameters(), print_perioapo_clustron(), print_recalculated_energies(), print_timestep_stats(), putq(), refine_cluster_mass(), refine_cluster_mass2(), and scale(). |
|
Definition at line 1083 of file story.C. Referenced by compute_general_mass_radii(), compute_max_cod(), compute_mean_cod(), and print_close_encounter(). |
|
Definition at line 926 of file story.C. Referenced by putq(). |
|
Definition at line 1104 of file story.C. Referenced by add_power_law(), compute_com(), compute_general_mass_radii(), compute_max_cod(), compute_mcom(), compute_mean_cod(), get_std_center(), putq(), refine_cluster_mass2(), and sys_stats(). |
|
Definition at line 517 of file story.C. Referenced by find_qmatch(). |
|
Definition at line 98 of file story.C. Referenced by rmq(). |
|
Definition at line 1125 of file story.C. Referenced by check_merge_esc_flags(), grape_calculate_acc_and_jerk(), main(), refine_cluster_mass(), refine_cluster_mass2(), and scale(). |
|
Definition at line 480 of file story.C. Referenced by putia(). |
|
|
|
Definition at line 311 of file story.C. Referenced by putiq(). |
|
Definition at line 419 of file story.C. Referenced by putra(). |
|
Definition at line 351 of file story.C. Referenced by putrq(). |
|
Definition at line 377 of file story.C. Referenced by putsq(). |
|
Definition at line 331 of file story.C. Referenced by putulq(). |
|
Definition at line 398 of file story.C. Referenced by putvq(). |