Code indexing in gitaly is broken and leads to code not being visible to the user. We work on the issue with highest priority.

Skip to content
Snippets Groups Projects
Commit 6ecb9e68 authored by frey_m's avatar frey_m
Browse files

FieldWriter: comment about file name

parent fd1ff856
No related branches found
No related tags found
1 merge request!376Resolve "Output format of electric field with DBG_SCALARFIELD=TRUE"
......@@ -40,6 +40,20 @@ void FieldWriter::dumpField(FieldType& field, std::string name,
INFOMSG("*** START DUMPING " + Util::toUpper(name) + " FIELD ***" << endl);
/* Save the files in the data/ directory of the simulation. The file
* name of vector fields is
*
* 'basename'-'name'_field-'******'.dat
*
* and of scalar fields
*
* 'basename'-'name'_scalar-'******'.dat
*
* with
* 'basename': OPAL input file name (*.in)
* 'name': field name (input argument of function)
* '******': step padded with zeros to 6 digits
*/
boost::filesystem::path file("data");
boost::format filename("%1%-%2%-%|3$06|.dat");
std::string basename = OpalData::getInstance()->getInputBasename();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment