Simplify and optimize coordination numbers#909
Simplify and optimize coordination numbers#909giacomofiorin wants to merge 23 commits intomasterfrom
Conversation
103663c to
6cf14f5
Compare
|
Side note: an additional simplification I wanted to add would be to change the |
HanatoK
left a comment
There was a problem hiding this comment.
Looks good to me! Although I need to use inline for compute_pair_coordnum to restore the performance after refactoring.
Thanks! I have been removing |
49c5b6b to
26a372a
Compare
|
In the latest commits, I added partial support for skipping the virtual function (part of which could cause the 22% performance loss in #911). I have not tested yet the code in NAMD: by default, the current PBC function is used. |
2b2b4e2 to
eac9ae0
Compare
I just tested with the CUDAGM interface, and using |
|
Commit df18a13 was cherry-picked from #913, but I also amended its message to reflect that the bug was not being triggered yet (I have just now pushed the same commit to master). I had previously added the same change in the |
df18a13 to
a219c44
Compare
…ith no changes) In the process, also flip the outdated order of public vs. protected members.
…gh for given tolerance
Inlining the functions is required to avoid the performance loss after refactoring.
a219c44 to
e3b3c3c
Compare
This PR contains several improvements:
coordnumwith the exception ofh_bondFixes #908