Exemplo n.º 1
0
inline void diffuseRGB(const double _diff)
{
	const double a = _dt * _diff * NX * NY;
	linearSolverRGB(a, 1.0 + 4 * a);
}
Exemplo n.º 2
0
void ciMsaFluidSolver::diffuseRGB( int bound, float diff )
{
	float a = _dt * diff * _NX * _NY;
	linearSolverRGB( a, 1.0f + 4 * a );
}
	void FluidSolver::diffuseRGB( int bound, float diff )
	{
		float a = deltaT * diff * _NX * _NY;
		linearSolverRGB( a, 1.0 + 4 * a );
	}