diff --git a/src/gpu/VirtualFluids_GPU/PreCollisionInteractor/Probes/Probe.cu b/src/gpu/VirtualFluids_GPU/PreCollisionInteractor/Probes/Probe.cu index 44f76220f77db01d63a153cccec40bad7cca5449..03c18f5a9a2133bec244053113209abc70469a2a 100644 --- a/src/gpu/VirtualFluids_GPU/PreCollisionInteractor/Probes/Probe.cu +++ b/src/gpu/VirtualFluids_GPU/PreCollisionInteractor/Probes/Probe.cu @@ -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(); } diff --git a/src/gpu/VirtualFluids_GPU/PreCollisionInteractor/Probes/Probe.h b/src/gpu/VirtualFluids_GPU/PreCollisionInteractor/Probes/Probe.h index cc67a5535f76bba4be5c32604a684087b96725fb..aaf294e87d23c64707a16692b9337d6e9ff9c896 100644 --- a/src/gpu/VirtualFluids_GPU/PreCollisionInteractor/Probes/Probe.h +++ b/src/gpu/VirtualFluids_GPU/PreCollisionInteractor/Probes/Probe.h @@ -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