15#include "gadgetconfig.h"
17#ifdef SUBFIND_ORPHAN_TREATMENT
19#include "../data/allvars.h"
20#include "../data/dtypes.h"
21#include "../data/mymalloc.h"
22#include "../data/particle_data.h"
23#include "../fof/fof.h"
24#include "../io/hdf5_util.h"
26#include "../logs/timer.h"
27#include "../main/simulation.h"
28#include "../mergertree/mergertree.h"
29#include "../mpi_utils/mpi_utils.h"
30#include "../sort/parallel_sort.h"
31#include "../subfind/subfind.h"
32#include "../system/system.h"
34class subreadid_io :
public IO_Def
40 subreadid_io(idstoredata *IdStore_ptr, MPI_Comm comm,
int format);
42 void previously_bound_read_snap_ids(
int num);
45 void fill_file_header(
int writeTask,
int lastTask,
long long *nloc_part,
long long *npart);
46 void read_file_header(
const char *fname,
int filenr,
int readTask,
int lastTask,
long long *nloc_part,
long long *npart,
80 int flag_entropy_instead_u;
81 int flag_doubleprecision;
90 float lpt_scalingfactor;
virtual int get_filenr_from_header(void)=0
virtual void * get_base_address_of_structure(enum arrays array, int index)=0
virtual void set_type_of_element(int index, int type)=0
virtual void read_increase_numbers(int type, int n_for_this_task)=0
virtual void fill_file_header(int writeTask, int lastTask, long long *nloc_part, long long *npart)=0
virtual void read_header_fields(const char *fname)=0
virtual void read_file_header(const char *fname, int filenr, int readTask, int lastTask, long long *nloc_part, long long *npart, int *nstart)=0
virtual void set_filenr_in_header(int)=0
virtual void write_header_fields(hid_t)=0
virtual void get_datagroup_name(int grnr, char *gname)=0
virtual int get_type_of_element(int index)=0