From 897c20c8b854b3feb522a46bb337867eed685e4a Mon Sep 17 00:00:00 2001 From: Henry <henry.korb@geo.uu.se> Date: Tue, 20 Dec 2022 11:42:19 +0100 Subject: [PATCH] minor reformatting --- .../VirtualFluids_GPU/PreCollisionInteractor/Probes/Probe.cu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gpu/VirtualFluids_GPU/PreCollisionInteractor/Probes/Probe.cu b/src/gpu/VirtualFluids_GPU/PreCollisionInteractor/Probes/Probe.cu index 2edfbf0ab..62a0da42f 100644 --- a/src/gpu/VirtualFluids_GPU/PreCollisionInteractor/Probes/Probe.cu +++ b/src/gpu/VirtualFluids_GPU/PreCollisionInteractor/Probes/Probe.cu @@ -120,7 +120,7 @@ __global__ void calcQuantitiesKernel( uint* pointIndices, bool* quantities, uint* quantityArrayOffsets, real* quantityArray, bool timeseries - ) + ) { const uint x = threadIdx.x; const uint y = blockIdx.x; @@ -297,7 +297,7 @@ void Probe::interact(Parameter* para, CudaMemoryManager* cudaMemoryManager, int //! if tAvg==1 the probe will be evaluated in every sub-timestep of each respective level //! else, the probe will only be evaluated in each synchronous time step tAvg - uint tAvg_level = this->tAvg==1? this->tAvg: this->tAvg*exp2(level); + uint tAvg_level = this->tAvg==1 ? this->tAvg: this->tAvg*exp2(level); if(max(int(t_level) - int(this->tStartAvg*exp2(level)), -1) % tAvg_level==0) { -- GitLab