Commit 0e9e7c3c authored by jclamber's avatar jclamber

road to 1.0.1

git-svn-id: http://svn.oamp.fr/repos/unsio/trunk@207 ce2cc22f-6084-46ce-a062-084b172ee5dc
parent 63cd7e4b
1.0.1 (June, 19th 2014)
----------------------------
- Bugs fix release
- Ramses:reading works with py_unsio
- Ramses:output_XXXXX as input file works
- fix py_unsio for macosx (see wiki)
1.0.0 (April, 2014)
----------------------------
- Major Release
- Python wrapper
- Improved MAC OSX installation
- Nemo : support mulitple snapshots with different numbers of particles
- Sqlite3DB : sqlite3 database improved
......@@ -36,7 +36,7 @@ CPart::CPart(const std::string _indir, const bool _v)
indir.erase(found,indir.length()-found);
}
if (verbose)
std::cerr << "indir =" << indir <<"\n";
std::cerr << "indir =[" << indir <<"]\n";
found=(int) indir.rfind("output_");
if (found!=(int) std::string::npos) {
......@@ -49,7 +49,7 @@ CPart::CPart(const std::string _indir, const bool _v)
std::cerr << "Run index = " << s_run_index << "\n";
infile = indir + "/part_" + s_run_index + ".out00001";
if (verbose)
std::cerr << "infile =" << infile <<"\n";
std::cerr << "infile =[" << infile <<"]\n";
}
}
......
......@@ -1554,6 +1554,15 @@ int CSnapshotGadgetOut::setData(std::string name,std::string array, const int n
case uns::StarsMetal :
status = setMetalStars(n, data, _addr);
break;
case uns::Metal :
if (name=="gas") {
status = setMetalGas(n, data, _addr);
} else {
if (name=="stars") {
status = setMetalStars(n, data, _addr);
}
}
break;
default: ok=false;
}
......
......@@ -92,7 +92,7 @@ void CunsIn::init(const std::string _name ,const std::string _comp ,const std::s
// ! ) { // not a directory
tryGadget(); // try gadget
if (!valid) {
//tryRamses(); // try ramses
tryRamses(); // try ramses
}
if (!valid) { // gadget failed
tryNemo(); // try nemo
......
......@@ -22,7 +22,7 @@
namespace uns {
const std::string VERSION="1.0.1-dev"; // UNSIO version
const std::string VERSION="1.0.1"; // UNSIO version
inline std::string getVersion() { return uns::VERSION; }
......
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