From 0d3080a343f6f0a990faf3d7af664060084bb248 Mon Sep 17 00:00:00 2001 From: HenrikAsmuth <henrik.asmuth@geo.uu.se> Date: Fri, 16 Dec 2022 13:44:40 +0100 Subject: [PATCH] More renaming of E,W,N, etc. --- .../GridGenerator/grid/GridBuilder/LevelGridBuilder.cpp | 8 ++++---- src/gpu/GridGenerator/grid/GridBuilder/LevelGridBuilder.h | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/gpu/GridGenerator/grid/GridBuilder/LevelGridBuilder.cpp b/src/gpu/GridGenerator/grid/GridBuilder/LevelGridBuilder.cpp index ec0db541b..3733f539e 100644 --- a/src/gpu/GridGenerator/grid/GridBuilder/LevelGridBuilder.cpp +++ b/src/gpu/GridGenerator/grid/GridBuilder/LevelGridBuilder.cpp @@ -644,8 +644,8 @@ uint LevelGridBuilder::getPrecursorSize(int level) const return size; } -void LevelGridBuilder::getPrecursorValues( uint* neighborNT, uint* neighborNB, uint* neighborST, uint* neighborSB, - real* weightsNT, real* weightsNB, real* weightsST, real* weightsSB, +void LevelGridBuilder::getPrecursorValues( uint* neighbor0PP, uint* neighbor0PM, uint* neighbor0MP, uint* neighbor0MM, + real* weights0PP, real* weights0PM, real* weights0MP, real* weights0MM, int* indices, std::vector<SPtr<TransientBCInputFileReader>>& reader, int& numberOfPrecursorNodes, size_t& numberOfQuantities, uint& timeStepsBetweenReads, real& velocityX, real& velocityY, real& velocityZ, int level) const @@ -676,8 +676,8 @@ void LevelGridBuilder::getPrecursorValues( uint* neighborNT, uint* neighborNB, allIndicesCounter++; } BCreader->fillArrays(y, z); - BCreader->getNeighbors(neighborNT, neighborNB, neighborST, neighborSB); - BCreader->getWeights(weightsNT, weightsNB, weightsST, weightsSB); + BCreader->getNeighbors(neighbor0PP, neighbor0PM, neighbor0MP, neighbor0MM); + BCreader->getWeights(weights0PP, weights0PM, weights0MP, weights0MM); if(tmpNQuantities == 0) tmpNQuantities = BCreader->getNumberOfQuantities(); if(tmpNQuantities != BCreader->getNumberOfQuantities()) diff --git a/src/gpu/GridGenerator/grid/GridBuilder/LevelGridBuilder.h b/src/gpu/GridGenerator/grid/GridBuilder/LevelGridBuilder.h index 5c2115f6f..56ae1e4fc 100644 --- a/src/gpu/GridGenerator/grid/GridBuilder/LevelGridBuilder.h +++ b/src/gpu/GridGenerator/grid/GridBuilder/LevelGridBuilder.h @@ -131,8 +131,8 @@ public: GRIDGENERATOR_EXPORT virtual void getPressureQs(real* qs[27], int level) const override; GRIDGENERATOR_EXPORT uint getPrecursorSize(int level) const override; - GRIDGENERATOR_EXPORT void getPrecursorValues( uint* neighborNT, uint* neighborNB, uint* neighborST, uint* neighborSB, - real* weightsNT, real* weightsNB, real* weightsST, real* weightsSB, + GRIDGENERATOR_EXPORT void getPrecursorValues( uint* neighbor0PP, uint* neighbor0PM, uint* neighbor0MP, uint* neighbor0MM, + real* weights0PP, real* weights0PM, real* weights0MP, real* weights0MM, int* indices, std::vector<SPtr<TransientBCInputFileReader>>& reader, int& numberOfPrecursorNodes, size_t& numberOfQuantities, uint& timeStepsBetweenReads, real& velocityX, real& velocityY, real& velocityZ, int level) const override; -- GitLab