Skip to content
Snippets Groups Projects
Commit d68dc467 authored by Hkorb's avatar Hkorb
Browse files

bug fix in probe: no array names in parallel file

parent 18fc6b3e
No related branches found
No related tags found
1 merge request!170Kernel templetization and efficiency improvements
......@@ -379,9 +379,10 @@ void Probe::writeParallelFile(Parameter* para, int t)
int t_write = this->fileNameLU ? t: t/this->tOut;
std::string filename = this->outputPath + "/" + this->makeParallelFileName(para->getMyProcessID(), t_write);
std::vector<std::string> nodedatanames = this->getVarNames();
std::vector<std::string> cellNames;
getWriter()->writeParallelFile(filename, fileNamesForCollectionFile, varNames, cellNames);
getWriter()->writeParallelFile(filename, fileNamesForCollectionFile, nodedatanames, cellNames);
this->fileNamesForCollectionFile.clear();
}
......
......@@ -208,7 +208,6 @@ protected:
bool hasDeviceQuantityArray; //!> flag initiating memCopy in Point and PlaneProbe. Other probes are only based on thrust reduce functions and therefore dont need explict memCopy in interact()
bool outputTimeSeries; //!> flag initiating overwrite of output vtk files, skipping collection files and limiting the length of the written data to the current time step (currently only used for WallModelProbe)
std::vector<std::string> fileNamesForCollectionFile;
std::vector<std::string> varNames;
bool fileNameLU = true; //!> if true, written file name contains time step in LU, else is the number of the written probe files
......
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