upgraded python to support gadget format type 2
This commit is contained in:
parent
f2e015b1fb
commit
450a9a4185
2 changed files with 10 additions and 10 deletions
|
@ -3,11 +3,11 @@
|
|||
#include <string>
|
||||
|
||||
static inline
|
||||
CosmoTool::SimuData *loadGadgetMulti_safe(const std::string& fname, int flags)
|
||||
CosmoTool::SimuData *loadGadgetMulti_safe(const std::string& fname, int flags, int gadgetFormat)
|
||||
{
|
||||
try
|
||||
{
|
||||
return CosmoTool::loadGadgetMulti(fname.c_str(), -1, flags);
|
||||
return CosmoTool::loadGadgetMulti(fname.c_str(), -1, flags, gadgetFormat);
|
||||
}
|
||||
catch (const CosmoTool::Exception& e)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue