diff --git a/src/gpu/GridGenerator/grid/GridBuilder/LevelGridBuilder.cpp b/src/gpu/GridGenerator/grid/GridBuilder/LevelGridBuilder.cpp index f84b7bc674135eb1d8f98cb33c38dcf2e270a56e..59b304d5a1623fafccadfb3ebfdd9550b50ed4c2 100644 --- a/src/gpu/GridGenerator/grid/GridBuilder/LevelGridBuilder.cpp +++ b/src/gpu/GridGenerator/grid/GridBuilder/LevelGridBuilder.cpp @@ -270,6 +270,13 @@ GRIDGENERATOR_EXPORT void LevelGridBuilder::reorderSendIndexForCommAfterFtoC(int uint* iCellFCCBorder, uint sizeOfICellFCCBorder, int direction, int level) { + *logging::out << logging::Logger::INFO_INTERMEDIATE << "reorder send indices for communication after fine to coarse " << "\n"; + if (sizeOfICellFCCBorder == 0) + *logging::out << logging::Logger::LOGGER_ERROR + << "reorderSendIndexForCommAfterFtoC(): iCellFCCBorder needs to be inititalized before calling " + "this function " + << "\n"; + uint numberOfIndices = getNumberOfSendIndices(direction, level); int sparseIndexSend; bool isInICellFCCBorder; @@ -309,6 +316,13 @@ GRIDGENERATOR_EXPORT void LevelGridBuilder::reorderRecvIndexForCommAfterFtoC(int uint *iCellFCCBorder, uint sizeOfICellFCCBorder, int direction, int level) { + *logging::out << logging::Logger::INFO_INTERMEDIATE << "reorder receive indices for communication after fine to coarse " << "\n"; + if (sizeOfICellFCCBorder == 0) + *logging::out << logging::Logger::LOGGER_ERROR + << "reorderRecvIndexForCommAfterFtoC(): iCellFCCBorder needs to be inititalized before calling " + "this function " + << "\n"; + uint numberOfIndices = getNumberOfReceiveIndices(direction, level); int sparseIndexRecv; bool isInICellFCCBorder;