Commit 57043eff authored by frey_m's avatar frey_m
Browse files

OpalData: rename function

parent 6d0ba0fe
......@@ -674,7 +674,7 @@ std::string OpalData::getTitle() {
return p->itsTitle_m;
}
std::string OpalData::getOutputDirectory() const {
std::string OpalData::getAuxiliaryOutputDirectory() const {
return "data";
}
......
......@@ -182,8 +182,8 @@ public:
/// get the step where to restart
int getRestartStep();
/// get the name of the data directory
std::string getOutputDirectory() const;
/// get the name of the the additional data directory
std::string getAuxiliaryOutputDirectory() const;
/// get opals input filename
std::string getInputFn();
......
......@@ -54,7 +54,7 @@ void FieldWriter::dumpField(FieldType& field, std::string name,
* 'name': field name (input argument of function)
* '******': step padded with zeros to 6 digits
*/
std::string dirname = OpalData::getInstance()->getOutputDirectory();
std::string dirname = OpalData::getInstance()->getAuxiliaryOutputDirectory();
boost::filesystem::path file(dirname);
boost::format filename("%1%-%2%-%|3$06|.dat");
std::string basename = OpalData::getInstance()->getInputBasename();
......
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