From 3c8ec061ed4dc7656c23ccb14ce9e2b102d6602d Mon Sep 17 00:00:00 2001
From: Anna <a.wellmann@tu-bs.de>
Date: Mon, 20 Jun 2022 11:35:44 +0000
Subject: [PATCH] Tabs to spaces

---
 .../KernelManager/LBKernelManager.cpp         | 144 +++++++++---------
 .../KernelManager/LBKernelManager.h           |  30 ++--
 2 files changed, 87 insertions(+), 87 deletions(-)

diff --git a/src/gpu/VirtualFluids_GPU/KernelManager/LBKernelManager.cpp b/src/gpu/VirtualFluids_GPU/KernelManager/LBKernelManager.cpp
index d82f27e20..6d2b06544 100644
--- a/src/gpu/VirtualFluids_GPU/KernelManager/LBKernelManager.cpp
+++ b/src/gpu/VirtualFluids_GPU/KernelManager/LBKernelManager.cpp
@@ -40,53 +40,53 @@
 void LBKernelManager::runLBMKernel(SPtr<Parameter> para)
 {
     if (para->getIsADcalculationOn()) {
-		CumulantK17LBMDeviceKernelAD(
-			para->getParD()->numberofthreads,
-			para->getParD()->omega,
-			para->getParD()->typeOfGridNode,
-			para->getParD()->neighborX,
-			para->getParD()->neighborY,
-			para->getParD()->neighborZ,
-			para->getParD()->distributions.f[0],
-			para->getParD()->distributionsAD.f[0],
-			para->getParD()->numberOfNodes,
-			para->getParD()->forcing,
-			para->getParD()->isEvenTimestep);
+        CumulantK17LBMDeviceKernelAD(
+            para->getParD()->numberofthreads,
+            para->getParD()->omega,
+            para->getParD()->typeOfGridNode,
+            para->getParD()->neighborX,
+            para->getParD()->neighborY,
+            para->getParD()->neighborZ,
+            para->getParD()->distributions.f[0],
+            para->getParD()->distributionsAD.f[0],
+            para->getParD()->numberOfNodes,
+            para->getParD()->forcing,
+            para->getParD()->isEvenTimestep);
     } else {
-		CumulantK17LBMDeviceKernel(
-			para->getParD()->numberofthreads,
-			para->getParD()->omega,
-			para->getParD()->typeOfGridNode,
-			para->getParD()->neighborX,
-			para->getParD()->neighborY,
-			para->getParD()->neighborZ,
-			para->getParD()->distributions.f[0],
-			para->getParD()->numberOfNodes,
-			para->getParD()->forcing,
-			para->getParD()->isEvenTimestep);
-	}
+        CumulantK17LBMDeviceKernel(
+            para->getParD()->numberofthreads,
+            para->getParD()->omega,
+            para->getParD()->typeOfGridNode,
+            para->getParD()->neighborX,
+            para->getParD()->neighborY,
+            para->getParD()->neighborZ,
+            para->getParD()->distributions.f[0],
+            para->getParD()->numberOfNodes,
+            para->getParD()->forcing,
+            para->getParD()->isEvenTimestep);
+    }
 }
 
 void LBKernelManager::runVelocityBCKernel(SPtr<Parameter> para)
 {
-	if (para->getParD()->numberOfVeloBCnodes > 0)
-	{
-		QVelDevicePlainBB27(
-			para->getParD()->numberofthreads,
-			para->getParD()->veloBC.Vx,
-			para->getParD()->veloBC.Vy,
-			para->getParD()->veloBC.Vz,
-			para->getParD()->distributions.f[0],
-			para->getParD()->veloBC.k,
-			para->getParD()->veloBC.q27[0],
-			para->getParD()->numberOfVeloBCnodes,
-			para->getParD()->veloBC.kArray,
-			para->getParD()->neighborX,
-			para->getParD()->neighborY,
-			para->getParD()->neighborZ,
-			para->getParD()->numberOfNodes,
-			para->getParD()->isEvenTimestep);
-	}
+    if (para->getParD()->numberOfVeloBCnodes > 0)
+    {
+        QVelDevicePlainBB27(
+            para->getParD()->numberofthreads,
+            para->getParD()->veloBC.Vx,
+            para->getParD()->veloBC.Vy,
+            para->getParD()->veloBC.Vz,
+            para->getParD()->distributions.f[0],
+            para->getParD()->veloBC.k,
+            para->getParD()->veloBC.q27[0],
+            para->getParD()->numberOfVeloBCnodes,
+            para->getParD()->veloBC.kArray,
+            para->getParD()->neighborX,
+            para->getParD()->neighborY,
+            para->getParD()->neighborZ,
+            para->getParD()->numberOfNodes,
+            para->getParD()->isEvenTimestep);
+    }
 }
 
 void LBKernelManager::runGeoBCKernel(SPtr<Parameter> para)
@@ -100,38 +100,38 @@ void LBKernelManager::runGeoBCKernel(SPtr<Parameter> para)
 void LBKernelManager::calculateMacroscopicValues(SPtr<Parameter> para)
 {
     if (para->getIsADcalculationOn()) {
-		CalcMacADCompSP27(
-			para->getParD()->velocityX,
-			para->getParD()->velocityY,
-			para->getParD()->velocityZ,
-			para->getParD()->rho,
-			para->getParD()->pressure,
-			para->getParD()->typeOfGridNode,
-			para->getParD()->neighborX,
-			para->getParD()->neighborY,
-			para->getParD()->neighborZ,
-			para->getParD()->numberOfNodes,
-			para->getParD()->numberofthreads,
-			para->getParD()->distributions.f[0],
-			para->getParD()->distributionsAD.f[0],
+        CalcMacADCompSP27(
+            para->getParD()->velocityX,
+            para->getParD()->velocityY,
+            para->getParD()->velocityZ,
+            para->getParD()->rho,
+            para->getParD()->pressure,
+            para->getParD()->typeOfGridNode,
+            para->getParD()->neighborX,
+            para->getParD()->neighborY,
+            para->getParD()->neighborZ,
+            para->getParD()->numberOfNodes,
+            para->getParD()->numberofthreads,
+            para->getParD()->distributions.f[0],
+            para->getParD()->distributionsAD.f[0],
             para->getParD()->forcing,
-			para->getParD()->isEvenTimestep);
+            para->getParD()->isEvenTimestep);
     } else {
-		CalcMacCompSP27(
-			para->getParD()->velocityX,
-			para->getParD()->velocityY,
-			para->getParD()->velocityZ,
-			para->getParD()->rho,
-			para->getParD()->pressure,
-			para->getParD()->typeOfGridNode,
-			para->getParD()->neighborX,
-			para->getParD()->neighborY,
-			para->getParD()->neighborZ,
-			para->getParD()->numberOfNodes,
-			para->getParD()->numberofthreads,
-			para->getParD()->distributions.f[0],
-			para->getParD()->isEvenTimestep);
-	}
+        CalcMacCompSP27(
+            para->getParD()->velocityX,
+            para->getParD()->velocityY,
+            para->getParD()->velocityZ,
+            para->getParD()->rho,
+            para->getParD()->pressure,
+            para->getParD()->typeOfGridNode,
+            para->getParD()->neighborX,
+            para->getParD()->neighborY,
+            para->getParD()->neighborZ,
+            para->getParD()->numberOfNodes,
+            para->getParD()->numberofthreads,
+            para->getParD()->distributions.f[0],
+            para->getParD()->isEvenTimestep);
+    }
 }
 
 
diff --git a/src/gpu/VirtualFluids_GPU/KernelManager/LBKernelManager.h b/src/gpu/VirtualFluids_GPU/KernelManager/LBKernelManager.h
index 0067f1c52..35bbd3b2c 100644
--- a/src/gpu/VirtualFluids_GPU/KernelManager/LBKernelManager.h
+++ b/src/gpu/VirtualFluids_GPU/KernelManager/LBKernelManager.h
@@ -45,33 +45,33 @@ class Parameter;
 class VIRTUALFLUIDS_GPU_EXPORT LBKernelManager
 {
 public:
-	//! \brief makes an object of LBKernelManager
-	//! \param para shared pointer to instance of class Parameter
+    //! \brief makes an object of LBKernelManager
+    //! \param para shared pointer to instance of class Parameter
     static SPtr<LBKernelManager> make(std::shared_ptr<Parameter> parameter);
     
-	//! \brief calls the device function of the lattice Boltzmann kernel
-	void runLBMKernel(SPtr<Parameter> para);
+    //! \brief calls the device function of the lattice Boltzmann kernel
+    void runLBMKernel(SPtr<Parameter> para);
 
-	//! \brief calls the device function of the velocity boundary condition
+    //! \brief calls the device function of the velocity boundary condition
     void runVelocityBCKernel(SPtr<Parameter> para);
 
-	//! \brief calls the device function of the geometry boundary condition
-	void runGeoBCKernel(SPtr<Parameter> para);
+    //! \brief calls the device function of the geometry boundary condition
+    void runGeoBCKernel(SPtr<Parameter> para);
 
     //! \brief calls the device function that calculates the macroscopic values
     void calculateMacroscopicValues(SPtr<Parameter> para);
 
 
 private:
-	//! Class constructor
-	//! \param parameter shared pointer to instance of class Parameter
-	LBKernelManager(SPtr<Parameter> parameter);
-	//! Class copy constructor
-	//! \param LBKernelManager is a reference to LBKernelManager object
-	LBKernelManager(const LBKernelManager&);
+    //! Class constructor
+    //! \param parameter shared pointer to instance of class Parameter
+    LBKernelManager(SPtr<Parameter> parameter);
+    //! Class copy constructor
+    //! \param LBKernelManager is a reference to LBKernelManager object
+    LBKernelManager(const LBKernelManager&);
 
-	//! \property para is a shared pointer to an object of Parameter
-	SPtr<Parameter> parameter;
+    //! \property para is a shared pointer to an object of Parameter
+    SPtr<Parameter> parameter;
 
 };
 #endif
-- 
GitLab