Skip to content
Snippets Groups Projects
Commit 9659f62a authored by Martin Schönherr's avatar Martin Schönherr :speech_balloon:
Browse files

fix incompressible advection diffusion kernel

parent 5b659071
No related branches found
No related tags found
1 merge request!287delete some kernels and diffmod
......@@ -21,7 +21,8 @@ void F16IncompressibleAdvectionDiffusion::run()
para->getParD(level)->neighborZ,
para->getParD(level)->distributions.f[0],
para->getParD(level)->distributionsAD.f[0],
para->getParD(level)->numberOfNodes,
para->getParD(level)->numberOfNodes,
para->getParD(level)->forcing,
para->getParD(level)->isEvenTimestep);
getLastCudaError("F16IncompressibleAdvectionDiffusion_Device execution failed");
}
......
......@@ -5,13 +5,14 @@
#include <curand.h>
__global__ void F16IncompressibleAdvectionDiffusion_Device(real diffusivity,
unsigned int* bcMatD,
unsigned int* neighborX,
unsigned int* neighborY,
unsigned int* neighborZ,
real* DDStart,
real* DD27,
unsigned long long numberOfLBnodes,
bool EvenOrOdd);
unsigned int* bcMatD,
unsigned int* neighborX,
unsigned int* neighborY,
unsigned int* neighborZ,
real* DDStart,
real* DD27,
unsigned long long numberOfLBnodes,
real* forces,
bool EvenOrOdd);
#endif
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment