Commit a0b392c4 authored by jclamber's avatar jclamber

gadget2 can save gadget1 format

git-svn-id: http://svn.oamp.fr/repos/unsio/trunk@224 ce2cc22f-6084-46ce-a062-084b172ee5dc
parent e0879a28
......@@ -275,7 +275,7 @@ CunsOut::CunsOut(const std::string _name, const std::string _type, const bool _v
}
initializeStringMap(verbose);
simtype = tools::Ctools::tolower(simtype);
if (simtype == "gadget2") {
if (simtype == "gadget2" || simtype == "gadget1") {
snapshot = new CSnapshotGadgetOut(simname,simtype,verbose);
} else {
if (simtype == "nemo") {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment