globals.h File Reference

Defines a number of global variables. More...

#include <string>
#include "hydefines.h"

Include dependency graph for globals.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  all_data
struct  program_data
struct  number_info
struct  common_units
struct  datatypes
struct  io_header
struct  particle_data
struct  sph_particle_data
struct  star_particle_data
struct  all_particle_data
struct  parameterfile_data
struct  nbody_general_data
struct  nbody_particle_data
struct  sunmag_data
struct  lumfunc_data
struct  starmap_data

Defines

#define MIN(a, b)   (((a) < (b)) ? (a) : (b))
#define MAX(a, b)   (((a) < (b)) ? (b) : (a))
#define M_PI   3.1415926535897932385
#define IO_TYPE_UNKNOWN   0
#define IO_TYPE_INT   1
#define IO_TYPE_FLOAT   2
#define IO_TYPE_DOUBLE   3
#define IO_TYPE_STRING   4
#define MAX_KEY_LENGTH   100

Variables

struct all_data all_
struct program_data run_
struct number_info np_
struct common_units units_
struct datatypes types_
struct io_header header_
struct particle_data * P
struct sph_particle_data * SphP
struct star_particle_data * StarP
struct all_particle_data part_
struct parameterfile_data param_
int read_first_datafile
int * Id
int NumPart
int Ngas
int Nstar
double Time
double Redshift
struct nbody_general_data * NBG
struct nbody_particle_data * NBD
struct sunmag_data sunmag_
struct lumfunc_data lumfunc
struct starmap_data smd
Cimfimf
CMainWindow * mainWin
QSettings * settings


Detailed Description

Defines a number of global variables.

Sometimes: for more explanation: see runinf.inc


Variable Documentation

struct all_data all_

struct containing misc data about the simulation. Warning: this struct is a mirror of the all common block in the Fortran code! Adjustments here must be reflected there and vice versa

Note: wanted to use All first but upper/lowercase does not work with fortran

struct for the luminosity function calculation

struct all_particle_data part_

struct that stores all the data read from the parameterfile See the parameterfile for more information on adding to this struct, and for information on the individual variables


Generated on Fri Oct 16 18:59:58 2009 for HYPLOT by  doxygen 1.5.8