cuIBM
A GPU-based Immersed Boundary Method code
Main Page
Namespaces
Classes
Files
File List
File Members
src
solvers
kernels
generateE.h
Go to the documentation of this file.
1
7
#pragma once
8
9
#include "
utilities/types.h
"
10
#include "
utilities/helpers.h
"
11
12
17
namespace
kernels
18
{
19
20
// compute elements of the interpolation matrix
21
__global__
22
void
generateE
(
int
*ERows,
int
*ECols,
real
*EVals,
23
int
nx,
int
ny,
real
*x,
real
*y,
real
*dx,
24
int
totalPoints,
real
*xB,
real
*yB,
int
*I,
int
*J);
25
26
}
// End of namespace kernels
types.h
Definition of custom types required by the code.
real
double real
Is a float or a double depending on the machine precision.
Definition:
types.h:116
kernels
Contains all the custom-written CUDA kernels.
helpers.h
Declaration of the discrete delta function.
kernels::generateE
__global__ void generateE(int *ERows, int *ECols, real *EVals, int nx, int ny, real *x, real *y, real *dx, int totalPoints, real *xB, real *yB, int *I, int *J)
Computes elements of the interpolation matrix.
Definition:
generateE.cu:73
Generated on Wed Jul 19 2017 12:27:42 for cuIBM by
1.8.11