12#ifndef LIGHTCONE_MASSMAP_IO_H
13#define LIGHTCONE_MASSMAP_IO_H
15#include "gadgetconfig.h"
17#if defined(LIGHTCONE) && defined(LIGHTCONE_MASSMAPS)
19#include "../data/intposconvert.h"
20#include "../data/mmparticles.h"
22#include "../lightcone/lightcone.h"
24class lightcone_massmap_io :
public IO_Def
27 lightcone_massmap_io(mmparticles *Mp_ptr, lightcone *LightCone_ptr, MPI_Comm comm,
int format);
29 void lightcone_massmap_save(
int num);
32 void fill_file_header(
int writeTask,
int lastTask,
long long *nloc_part,
long long *npart);
33 void read_file_header(
const char *fname,
int filenr,
int readTask,
int lastTask,
long long *nloc_part,
long long *npart,
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