I study the code recently, and i think NEIBSLIST and its iterator (neibs_iteration.cuh) are quite important. i wanna find out how they work.
i draw a diagram base on my understanting. As shown below
If my understanding if wrong, even a small one, please point out.
And more question
- d_neibslist_stride equal to m_numAllocatedParticles, is that right?
i found these in simparams.h, if neiblistsize and neiboundpos both equal to 256, where to store vertex and textpoint. Moreover, i found the function resize_neiblist are called in some testcase.cu, not all testcase, but i can not find the default assignment of neiblistsize and neiboundpos, and the marco PVAL, its really hard to understand…
Absolutely i miss something.
- Is there any limite on these value (neiblistsize and neiboundpos)? maximum or something else.