From d1e3560698f5688732d30ea28be92480f4cccd56 Mon Sep 17 00:00:00 2001
From: Anna Wellmann <a.wellmann@tu-bs.de>
Date: Tue, 17 Jan 2023 08:41:49 +0000
Subject: [PATCH] Readd some Doxygen comments

---
 src/gpu/VirtualFluids_GPU/GPU/PressBCs27.cu | 22 +++++----------------
 src/gpu/VirtualFluids_GPU/GPU/SlipBCs27.cu  | 11 +++++++++++
 2 files changed, 16 insertions(+), 17 deletions(-)

diff --git a/src/gpu/VirtualFluids_GPU/GPU/PressBCs27.cu b/src/gpu/VirtualFluids_GPU/GPU/PressBCs27.cu
index c32dd9117..02cfd2bce 100644
--- a/src/gpu/VirtualFluids_GPU/GPU/PressBCs27.cu
+++ b/src/gpu/VirtualFluids_GPU/GPU/PressBCs27.cu
@@ -852,28 +852,16 @@ __global__ void QPressDeviceNEQ27(
     unsigned long long numberOfLBnodes,
     bool isEvenTimestep)
 {
+   ////////////////////////////////////////////////////////////////////////////////
+   //! The pressure boundary condition is executed in the following steps
+   //!
+
    ////////////////////////////////////////////////////////////////////////////////
    //! - Get node index coordinates from threadIdx, blockIdx, blockDim and gridDim.
    //!
    const unsigned nodeIndex = getNodeIndex();
 
-    
-   // //////////////////////////////////////////////////////////////////////////
-   ////! The pressure boundary condition is executed in the following steps
-   ////!
-   //////////////////////////////////////////////////////////////////////////////////
-   ////! - Get node index coordinates from threadIdx, blockIdx, blockDim and gridDim.
-   ////!
-   //const unsigned x = threadIdx.x;    // global x-index
-   //const unsigned y = blockIdx.x;     // global y-index
-   //const unsigned z = blockIdx.y;     // global z-index
-
-   //const unsigned nx = blockDim.x;
-   //const unsigned ny = gridDim.x;
-
-   //const unsigned kThread = nx*(ny*z + y) + x;
-
-   //////////////////////////////////////////////////////////////////////////
+   ////////////////////////////////////////////////////////////////////////////////
    //! - Run for all indices in size of boundary condition (numberOfBCnodes)
    //!
    if(nodeIndex < numberOfBCnodes)
diff --git a/src/gpu/VirtualFluids_GPU/GPU/SlipBCs27.cu b/src/gpu/VirtualFluids_GPU/GPU/SlipBCs27.cu
index e189463e0..632712746 100644
--- a/src/gpu/VirtualFluids_GPU/GPU/SlipBCs27.cu
+++ b/src/gpu/VirtualFluids_GPU/GPU/SlipBCs27.cu
@@ -703,6 +703,9 @@ __global__ void QSlipDeviceComp27(
     unsigned long long numberOfLBnodes, 
     bool isEvenTimestep)
 {
+   //! The slip boundary condition is executed in the following steps
+   //!
+
    ////////////////////////////////////////////////////////////////////////////////
    //! - Get node index coordinates from threadIdx, blockIdx, blockDim and gridDim.
    //!
@@ -1232,6 +1235,9 @@ __global__ void BBSlipDeviceComp27(
     unsigned long long numberOfLBnodes, 
     bool isEvenTimestep)
 {
+   //! The slip boundary condition is executed in the following steps
+   //!
+
    ////////////////////////////////////////////////////////////////////////////////
    //! - Get node index coordinates from threadIdx, blockIdx, blockDim and gridDim.
    //!
@@ -1719,6 +1725,9 @@ __global__ void QSlipDeviceComp27TurbViscosity(
     unsigned long long numberOfLBnodes, 
     bool isEvenTimestep)
 {
+   //! The slip boundary condition is executed in the following steps
+   //!
+
    ////////////////////////////////////////////////////////////////////////////////
    //! - Get node index coordinates from threadIdx, blockIdx, blockDim and gridDim.
    //!
@@ -2257,6 +2266,8 @@ __global__ void QSlipPressureDeviceComp27TurbViscosity(
     unsigned long long numberOfLBnodes, 
     bool isEvenTimestep)
 {
+   //! The slip boundary condition is executed in the following steps
+   //!
    ////////////////////////////////////////////////////////////////////////////////
    //! - Get node index coordinates from threadIdx, blockIdx, blockDim and gridDim.
    //!
-- 
GitLab