2010-04-23 09:29:10 +02:00
|
|
|
#ifndef __COSMO_LOAD_GADGET_HPP
|
|
|
|
#define __COSMO_LOAD_GADGET_HPP
|
|
|
|
|
|
|
|
#include "load_data.hpp"
|
2010-04-27 13:38:00 +02:00
|
|
|
#include "loadSimu.hpp"
|
2010-04-23 09:29:10 +02:00
|
|
|
|
|
|
|
namespace CosmoTool {
|
2010-04-27 13:38:00 +02:00
|
|
|
|
2012-11-20 22:58:10 +01:00
|
|
|
SimuData *loadGadgetMulti(const char *fname, int id, int flags,
|
|
|
|
int GadgetFormat = 1, SimuFilter filter = 0);
|
2012-03-30 17:47:48 +02:00
|
|
|
|
|
|
|
// Only single snapshot supported
|
|
|
|
void writeGadget(const char *fname, SimuData *data, int GadgetFormat = 1);
|
|
|
|
|
2010-04-23 09:29:10 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|