Bug in InitializeMomentumExchangeFunctional2D

Hi!

I think I found another little Bug:

In InitializeMomentumExchangeFunctional2D in bounceBackModels2D.hh in lines 51,52:

plint nextX = iX + Descriptor::[0];
plint nextY = iY + Descriptor::[1];

must be replaced with

plint nextX = iX + Descriptor::c[iPop][0];
plint nextY = iY + Descriptor::c[iPop][1];

right??

Greetings,

marc

You are completely right. While this bug was fixed in the 3D version, we had overseen it in the 2D case. Thanks a lot for reporting it! It will be fixed in the next release.

Cheers,
Jonas