From 09ec0b6617b31ea9d44855e6ffda5883722f9e61 Mon Sep 17 00:00:00 2001 From: Henry <henry.korb@geo.uu.se> Date: Mon, 23 Jan 2023 14:51:07 +0100 Subject: [PATCH] remove new line in transientBCSetter log --- src/gpu/GridGenerator/TransientBCSetter/TransientBCSetter.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/gpu/GridGenerator/TransientBCSetter/TransientBCSetter.cpp b/src/gpu/GridGenerator/TransientBCSetter/TransientBCSetter.cpp index 9557dbee8..bd12567fe 100644 --- a/src/gpu/GridGenerator/TransientBCSetter/TransientBCSetter.cpp +++ b/src/gpu/GridGenerator/TransientBCSetter/TransientBCSetter.cpp @@ -412,12 +412,11 @@ void VTKReader::getNextData(real* data, uint numberOfNodes, real time) { size_t numberOfFiles = this->nFile[level][id]; - if(!this->fileCollection->files[level][id][numberOfFiles].inZBounds(time)) { numberOfFiles++; - VF_LOG_INFO("PrecursorBC on level {}: switching to file no. {}\n", level, numberOfFiles); + VF_LOG_INFO("PrecursorBC on level {}: switching to file no. {}", level, numberOfFiles); if(numberOfFiles == this->fileCollection->files[level][id].size()) throw std::runtime_error("Not enough Precursor Files to read"); @@ -433,7 +432,6 @@ void VTKReader::getNextData(real* data, uint numberOfNodes, real time) } } - VTKFile* file = &this->fileCollection->files[level][id][numberOfFiles]; int off = file->getClosestIdxZ(time)*file->getNumberOfPointsInXYPlane(); -- GitLab