mirror of
https://bitbucket.org/cosmicvoids/vide_public.git
synced 2025-07-06 00:01:11 +00:00
Upgraded CosmoToolbox
This commit is contained in:
parent
5ad0bed91c
commit
aa9fe698b2
4 changed files with 30 additions and 11 deletions
4
external/cosmotool/src/loadGadget.hpp
vendored
4
external/cosmotool/src/loadGadget.hpp
vendored
|
@ -36,6 +36,8 @@ knowledge of the CeCILL license and that you accept its terms.
|
|||
#ifndef __COSMO_LOAD_GADGET_HPP
|
||||
#define __COSMO_LOAD_GADGET_HPP
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "load_data.hpp"
|
||||
#include "loadSimu.hpp"
|
||||
|
||||
|
@ -45,7 +47,7 @@ namespace CosmoTool {
|
|||
int GadgetFormat = 1, SimuFilter filter = 0);
|
||||
|
||||
// Only single snapshot supported
|
||||
void writeGadget(const char *fname, SimuData *data, int GadgetFormat = 1);
|
||||
void writeGadget(const std::string& fname, SimuData *data, int GadgetFormat = 1);
|
||||
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue