GADGET-4
snap_io::io_header Struct Reference

#include <snap_io.h>

Public Attributes

long long npart [NTYPES_HEADER]
 
long long npartTotal [NTYPES_HEADER]
 
double mass [NTYPES_HEADER]
 
double time
 
double redshift
 
double BoxSize
 
int num_files
 
long long Ntrees
 
long long TotNtrees
 

Detailed Description

Header for the standard file format.

Definition at line 107 of file snap_io.h.

Member Data Documentation

◆ BoxSize

double BoxSize

box-size of simulation in case periodic boundaries were used

Definition at line 116 of file snap_io.h.

◆ mass

double mass[NTYPES_HEADER]

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 112 of file snap_io.h.

◆ npart

long long npart[NTYPES_HEADER]

number of particles of each type in this file

Definition at line 109 of file snap_io.h.

◆ npartTotal

long long npartTotal[NTYPES_HEADER]

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 110 of file snap_io.h.

◆ Ntrees

long long Ntrees

Definition at line 119 of file snap_io.h.

◆ num_files

int num_files

number of files in multi-file snapshot

Definition at line 117 of file snap_io.h.

◆ redshift

double redshift

redshift of snapshot file

Definition at line 115 of file snap_io.h.

◆ time

double time

time of snapshot file

Definition at line 114 of file snap_io.h.

◆ TotNtrees

long long TotNtrees

Definition at line 120 of file snap_io.h.


The documentation for this struct was generated from the following file: