Eulerian Smoke Simulation on the GPU
|
a Poisson solver kernel. More...
Functions | |
__kernel void | poissonSolve (__global float4 *o_pW, __read_only image3d_t _pR, __global float4 *_f, float _h) |
a Poisson solver kernel that uses the Jacobi iteration method. The Poisson equation is assumed to take the form Ax=b. |
a Poisson solver kernel.
__kernel void poissonSolve | ( | __global float4 * | o_pW, |
__read_only image3d_t | _pR, | ||
__global float4 * | _f, | ||
float | _h | ||
) |
a Poisson solver kernel that uses the Jacobi iteration method. The Poisson equation is assumed to take the form Ax=b.
[in,out] | o_pW | p vector (Ap=f) [write buffer] |
[in] | _pR | p vector (Ap=f) [read image] |
[in] | _f | f vector (Ap=f) [read buffer] |
[in] | _h | the simulation cell size |