espressomd / espresso

The ESPResSo package
https://espressomd.org
GNU General Public License v3.0
230 stars 188 forks source link

Improve LB GPU and thermostats API #5014

Closed jngrad closed 4 days ago

jngrad commented 1 week ago

Description of changes:

review-notebook-app[bot] commented 1 week ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

hidekb commented 5 days ago

Looks Good To Me. However, there is one question. The function set in some files generated_kernels/FieldAccessors is simply moved to under the function std::vector<> get. Does it mean anything?

jngrad commented 5 days ago

Looks Good To Me. However, there is one question. The function set in some files generated_kernels/FieldAccessors is simply moved to under the function std::vector<> get. Does it mean anything?

This move has no consequences. I re-ordered functions in the template files a while ago to make CPU and GPU header files more consistent and reduce the size of the diff between them, and forgot to push the regenerated kernels back then. Sometimes when regenerating the collide and stream kernels, the variables can also be re-ordered by pystencils, making the diff difficult to inspect.