Closed kjs73 closed 10 years ago
This is a gigantic set of if blocks. Can we simplify it somehow?
Thanks for your feedback! It should be better now. Moving the array wrapping out of the constructor calls also made the if statement blocks smaller.
I changed how the comments were written to make things even shorter
Nice, now it almost fits on one page :)
what's the difference between HS_WCA, HS_WCASimple, HS_WCAFrozen, and HS_WCAPeriodicCellLists? It seems like they are all encompased by HS_WCA
In principle we would not need the others any more, this is true. I was not sure in how many places HS_WCAFrozen, and HS_WCAPeriodicCellLists are used, so I kept them for now. They could be removed.
Now there is only the HS_WCA interface left.
OK, I'm happy now. Should we merge it?
Yes, thank you!
This adds one common interface to access many combinations of cartesian / periodic with / without frozen particles with / without cell lists