From 2c36d79f1f3ea8f3b34cc64e0455dffe50449434 Mon Sep 17 00:00:00 2001 From: Anna Wellmann <a.wellmann@tu-braunschweig.de> Date: Tue, 21 Sep 2021 10:35:32 +0200 Subject: [PATCH] Fix typos --- src/gpu/GridGenerator/grid/Grid.h | 2 +- src/gpu/GridGenerator/grid/GridImp.cu | 2 +- src/gpu/GridGenerator/grid/GridImp.h | 2 +- .../DataStructureInitializer/GridReaderFiles/GridReader.cpp | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/gpu/GridGenerator/grid/Grid.h b/src/gpu/GridGenerator/grid/Grid.h index 6e0ad277a..6b179de2d 100644 --- a/src/gpu/GridGenerator/grid/Grid.h +++ b/src/gpu/GridGenerator/grid/Grid.h @@ -143,7 +143,7 @@ public: virtual uint getSendIndex(int direction, uint index) = 0; virtual uint getReceiveIndex(int direction, uint index) = 0; - virtual void repairCommunicationInices(int direction) = 0; + virtual void repairCommunicationIndices(int direction) = 0; // needed for CUDA Streams virtual void findFluidNodeIndices(bool onlyBulk) = 0; diff --git a/src/gpu/GridGenerator/grid/GridImp.cu b/src/gpu/GridGenerator/grid/GridImp.cu index 0d589d22f..766b134ef 100644 --- a/src/gpu/GridGenerator/grid/GridImp.cu +++ b/src/gpu/GridGenerator/grid/GridImp.cu @@ -1643,7 +1643,7 @@ uint GridImp::getReceiveIndex(int direction, uint index) return this->communicationIndices[direction].receiveIndices[ index ]; } -void GridImp::repairCommunicationInices(int direction) +void GridImp::repairCommunicationIndices(int direction) { this->communicationIndices[direction].sendIndices.insert( this->communicationIndices[direction].sendIndices.end(), this->communicationIndices[direction+1].sendIndices.begin(), diff --git a/src/gpu/GridGenerator/grid/GridImp.h b/src/gpu/GridGenerator/grid/GridImp.h index e88050ddd..d9daa415c 100644 --- a/src/gpu/GridGenerator/grid/GridImp.h +++ b/src/gpu/GridGenerator/grid/GridImp.h @@ -317,7 +317,7 @@ public: bool isSendNode(int index) const override; bool isReceiveNode(int index) const override; - void repairCommunicationInices(int direction) override; + void repairCommunicationIndices(int direction) override; void findFluidNodeIndices(bool splitDomain) override; void findFluidNodeIndicesBorder() override; diff --git a/src/gpu/VirtualFluids_GPU/DataStructureInitializer/GridReaderFiles/GridReader.cpp b/src/gpu/VirtualFluids_GPU/DataStructureInitializer/GridReaderFiles/GridReader.cpp index d5f7b6b21..c18a0186c 100644 --- a/src/gpu/VirtualFluids_GPU/DataStructureInitializer/GridReaderFiles/GridReader.cpp +++ b/src/gpu/VirtualFluids_GPU/DataStructureInitializer/GridReaderFiles/GridReader.cpp @@ -217,12 +217,12 @@ void GridReader::allocArrays_OffsetScale() } void GridReader::allocArrays_fluidNodeIndices() { - std::cout << "GridReader::allocArrays_fluidNodeIndices not imlemented" << std::endl; + std::cout << "GridReader::allocArrays_fluidNodeIndices not implemented" << std::endl; // TODO } void GridReader::allocArrays_fluidNodeIndicesBorder() { - std::cout << "GridReader::allocArrays_fluidNodeIndicesBorder not imlemented" << std::endl; + std::cout << "GridReader::allocArrays_fluidNodeIndicesBorder not implemented" << std::endl; // TODO } -- GitLab