Main Page | Alphabetical List | Data Structures | File List | Data Fields | Globals | Related Pages

io_header Struct Reference

#include <allvars.h>


Data Fields

int npart [6]
double mass [6]
double time
double redshift
int flag_sfr
int flag_feedback
unsigned int npartTotal [6]
int flag_cooling
int num_files
double BoxSize
double Omega0
double OmegaLambda
double HubbleParam
int flag_stellarage
int flag_metals
unsigned int npartTotalHighWord [6]
int flag_entropy_instead_u
char fill [60]


Detailed Description

Header for the standard file format.

Definition at line 602 of file allvars.h.


Field Documentation

double io_header::BoxSize
 

box-size of simulation in case periodic boundaries were used

Definition at line 615 of file allvars.h.

Referenced by write_file().

char io_header::fill[60]
 

fills to 256 Bytes

Definition at line 623 of file allvars.h.

int io_header::flag_cooling
 

flags whether cooling was included

Definition at line 613 of file allvars.h.

Referenced by write_file().

int io_header::flag_entropy_instead_u
 

flags that IC-file contains entropy instead of u

Definition at line 622 of file allvars.h.

Referenced by init(), and read_header_attributes_in_hdf5().

int io_header::flag_feedback
 

flags whether feedback was included (obsolete)

Definition at line 610 of file allvars.h.

Referenced by write_file().

int io_header::flag_metals
 

flags whether the file contains metallicity values for gas and star particles

Definition at line 620 of file allvars.h.

Referenced by write_file().

int io_header::flag_sfr
 

flags whether the simulation was including star formation

Definition at line 609 of file allvars.h.

Referenced by write_file().

int io_header::flag_stellarage
 

flags whether the file contains formation times of star particles

Definition at line 619 of file allvars.h.

Referenced by write_file().

double io_header::HubbleParam
 

Hubble parameter in units of 100 km/sec/Mpc

Definition at line 618 of file allvars.h.

Referenced by write_file().

double io_header::mass[6]
 

mass of particles of each type. If 0, then the masses are explicitly stored in the mass-block of the snapshot file, otherwise they are omitted

Definition at line 605 of file allvars.h.

Referenced by read_file(), read_header_attributes_in_hdf5(), and write_file().

int io_header::npart[6]
 

number of particles of each type in this file

Definition at line 604 of file allvars.h.

Referenced by get_particles_in_block(), read_file(), read_header_attributes_in_hdf5(), and write_file().

unsigned int io_header::npartTotal[6]
 

total number of particles of each type in this snapshot. This can be different from npart if one is dealing with a multi-file snapshot.

Definition at line 611 of file allvars.h.

Referenced by read_file(), read_header_attributes_in_hdf5(), and write_file().

unsigned int io_header::npartTotalHighWord[6]
 

High word of the total number of particles of each type

Definition at line 621 of file allvars.h.

Referenced by read_file(), read_header_attributes_in_hdf5(), and write_file().

int io_header::num_files
 

number of files in multi-file snapshot

Definition at line 614 of file allvars.h.

Referenced by find_files(), read_file(), read_header_attributes_in_hdf5(), and write_file().

double io_header::Omega0
 

matter density in units of critical density

Definition at line 616 of file allvars.h.

Referenced by write_file().

double io_header::OmegaLambda
 

cosmological constant parameter

Definition at line 617 of file allvars.h.

Referenced by write_file().

double io_header::redshift
 

redshift of snapshot file

Definition at line 608 of file allvars.h.

Referenced by write_file().

double io_header::time
 

time of snapshot file

Definition at line 607 of file allvars.h.

Referenced by read_file(), and write_file().


The documentation for this struct was generated from the following file:
Generated on Sun May 22 17:33:30 2005 for GADGET-2 by  doxygen 1.3.9.1