![]() |
PhoenixLecture
2.0.0
Set of tools to make lectures
|
#include <iostream>
Go to the source code of this file.
Functions | |
void | grayscott_propagation (float *outMatU, float *outMatV, const float *matU, const float *matV, long nbRow, long nbCol, const float *matDeltaSquare, long nbStencilRow, long nbStencilCol, float diffudionRateU, float diffusionRateV, float feedRate, float killRate, float dt) |
Propagate the U and V species in the matU and matV. More... | |
void grayscott_propagation | ( | float * | outMatU, |
float * | outMatV, | ||
const float * | matU, | ||
const float * | matV, | ||
long | nbRow, | ||
long | nbCol, | ||
const float * | matDeltaSquare, | ||
long | nbStencilRow, | ||
long | nbStencilCol, | ||
float | diffudionRateU, | ||
float | diffusionRateV, | ||
float | feedRate, | ||
float | killRate, | ||
float | dt | ||
) |
Propagate the U and V species in the matU and matV.
[out] | outMatU | : updated matrix U version |
[out] | outMatV | : updated matrix V version |
matU | : input of matrix U | |
matV | : input of matrix V | |
nbRow | : number of rows of the matrices | |
nbCol | : number of columns of the matrices | |
matDeltaSquare | : matrix of the delta square values | |
nbStencilRow | : number of rows of the matrix matDeltaSquare | |
nbStencilCol | : number of columns of the matrix matDeltaSquare | |
diffudionRateU | : diffusion rate of the U specie | |
diffudionRateV | : diffusion rate of the V specie | |
feedRate | : rate of the process which feeds U and drains U, V and P | |
killRate | : rate of the process which converts V into P | |
dt | : time interval between two steps |
Definition at line 35 of file naive_propagation.cpp.