15#include "../fof/fof.h"
18template <
typename partset>
24 fof_io(fof<partset> *FoF_ptr, MPI_Comm comm,
int format);
30 void fill_file_header(
int writeTask,
int lastTask,
long long *nloc_part,
long long *npart);
31 void read_file_header(
const char *fname,
int filenr,
int readTask,
int lastTask,
long long *nloc_part,
long long *npart,
74 void fof_subfind_prepare_ID_list(
void);
76 static bool fof_subfind_compare_ID_list(
const id_list &a,
const id_list &b)
78 if(a.GroupNr < b.GroupNr)
80 if(a.GroupNr > b.GroupNr)
84 if(a.SubRankInGr < b.SubRankInGr)
86 if(a.SubRankInGr > b.SubRankInGr)
96 return a.BindingEgy < b.BindingEgy;
int get_filenr_from_header(void)
void read_header_fields(const char *fname)
void * get_base_address_of_structure(enum arrays array, int index)
void fof_subfind_load_groups(int num)
void read_increase_numbers(int type, int n_for_this_task)
void fill_file_header(int writeTask, int lastTask, long long *nloc_part, long long *npart)
void fof_subfind_save_groups(int num, const char *basename, const char *grpcat_dirbasename)
void read_file_header(const char *fname, int filenr, int readTask, int lastTask, long long *nloc_part, long long *npart, int *nstart)
void set_type_of_element(int index, int type)
void write_header_fields(hid_t)
fof_io(fof< partset > *FoF_ptr, MPI_Comm comm, int format)
void get_datagroup_name(int grnr, char *gname)
void set_filenr_in_header(int)
fof_subfind_header catalogue_header
int get_type_of_element(int index)