Simplify and optimize coordination numbers#909
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
a219c44 to
e3b3c3c
Compare
|
@giacomofiorin Do you wish to merge this first, and then #913 into master, or merge #913 into this? |
I thought #913 was just for comments, based on the "[RFC]" tag |
|
#913 is just for discussion and not in good shape. I think it is better to merge this one at first. |
…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.
e3b3c3c to
f6e022e
Compare
|
@jhenin Okay with you to merge? |
a7cdad5 to
2761ddf
Compare
This PR contains several improvements:
coordnumwith the exception ofh_bondFixes #908