Previous Comment implémenter les accès aux voisins ? |
Parent Bibliothèque de calcul |
Outline | Next La source naive_propagation.cpp |
Écrivons le fichier naive_propagation.h :
1 2 |
#ifndef __NAIVE_PROPAGATION_H__ #define __NAIVE_PROPAGATION_H__ |
1 |
#include <iostream>
|
1 2 3 |
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); |
1 |
#endif
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
/*************************************** Auteur : Pierre Aubert Mail : aubertp7@gmail.com Licence : CeCILL-C ****************************************/ #ifndef __NAIVE_PROPAGATION_H__ #define __NAIVE_PROPAGATION_H__ #include <iostream> 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); #endif |
Previous Comment implémenter les accès aux voisins ? |
Parent Bibliothèque de calcul |
Outline | Next La source naive_propagation.cpp |