Moved subsampling to the loaders to be able to do online subsampling (only implemented for gadget and multidark so far, the other coming in...)

This commit is contained in:
Guilhem Lavaux 2013-02-25 12:29:09 -05:00
parent ecb4479178
commit 5cf7a94538
9 changed files with 330 additions and 34 deletions

View file

@ -64,7 +64,7 @@ public:
};
SimulationLoader *flashLoader(const std::string& snapshot, int flags)
SimulationLoader *flashLoader(const std::string& snapshot, int flags, SimulationPreprocessor *p)
{
bool singleFile;
int num_files;