You need to define the right density at the boundaries (defineRho or for bounce back in the constructor), i.e. 1 for attracting and 0 for repelling. Best Mathias
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok