GADGET-4
io.cc File Reference

main routines for driving I/O in Gadget's three file formats for snapshots, group catalogues etc. More...

#include "gadgetconfig.h"
#include <errno.h>
#include <hdf5.h>
#include <math.h>
#include <mpi.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <algorithm>
#include "../cooling_sfr/cooling.h"
#include "../data/allvars.h"
#include "../data/dtypes.h"
#include "../data/mymalloc.h"
#include "../fof/fof.h"
#include "../io/hdf5_util.h"
#include "../io/io.h"
#include "../io/parameters.h"
#include "../lightcone/lightcone.h"
#include "../logs/timer.h"
#include "../main/main.h"
#include "../main/simulation.h"
#include "../mergertree/mergertree.h"
#include "../mpi_utils/mpi_utils.h"
#include "../subfind/subfind.h"
#include "../system/system.h"
#include "../half/half.hpp"

Go to the source code of this file.

Macros

#define HALF_ROUND_STYLE   1
 
#define SKIP
 
#define FBSKIP
 

Detailed Description

main routines for driving I/O in Gadget's three file formats for snapshots, group catalogues etc.

Definition in file io.cc.

Macro Definition Documentation

◆ FBSKIP

#define FBSKIP
Value:
{ \
my_fread(&blksize, sizeof(int), 1, fd); \
}

◆ HALF_ROUND_STYLE

#define HALF_ROUND_STYLE   1

Definition at line 41 of file io.cc.

◆ SKIP

#define SKIP
Value:
{ \
my_fwrite(&blksize, sizeof(int), 1, fd); \
}