Aggregation equation

The aggregation equations writes:

tρ+x(a[ρ]ρ)=0,\partial_t \rho + \partial_x(a[\rho] \rho) = 0,

where a[ρ]=Wρa[\rho] = -W' * \rho for W:RRW: \mathbb{R} \longrightarrow \mathbb{R} sufficiently smooth (W(x)=xW(x) = |x| or W(x)=x2/2W(x) = x^2 / 2 for instance).

The convolution is computed using fast Fourier transforms. The CPU version is using the FFTW library while the CUDA version uses cuFFT.

Additional information