New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add user yaff #1297

merged 6 commits into from Jan 24, 2019


None yet
2 participants
Copy link

stevenvdb commented Jan 22, 2019


Some new styles are implemented which are used in force fields generated by QuickFF, mainly aimed at the simulation of metal-organic frameworks.


Steven Vandenbrande, Center for Molecular Modeling, Ghent University

Backward Compatibility

Backward compatibiliy is maintained.

Implementation Notes

All changes to the code are isolated in the USER-YAFF package. Correctness of energies, forces and virials was checked by comparing with the implementation of these styles in YAFF, our in-house MD code.
I could not figure out how the .tex files in doc/src/Eqs are automatically converted to jpg. I converted the new files myself, so the resulting .jpg files look a but different from the others.

Post Submission Checklist

Please check the fields below as they are completed

  • The feature or features in this pull request is complete
  • Suitable new documentation files and/or updates to the existing docs are included
  • One or more example input decks are included
  • The source code follows the LAMMPS formatting guidelines (unsure)

Further Information, Files, and Links

The styles implemented in the USER-YAFF package are all present in YAFF:
Force fields employing these styles can be generated using QuickFF: and

@akohlmey akohlmey self-assigned this Jan 22, 2019

@akohlmey akohlmey added this to the Stable Release Spring 2019 milestone Jan 22, 2019


This comment has been minimized.

Copy link

akohlmey commented Jan 22, 2019

@stevenvdb thanks for your submission. As for creating the equation image files, I use:

pdflatex formula.tex
pdftoppm formula.pdf | pnmcrop | pnmtojpeg > formula.jpg

As for adding to the documentation, the corresponding integration test fails, most likely due to false positives from the spell checker. Please do: cd doc; make spelling and check what the warnings are and either make corrections or add the false positives to doc/utils/sphinx-config/false_positives.txt.
Also, please check with make html if the typesetting for your added doc files works and that there are no complaints about link target problems. Same for make pdf, where there must me no complaints about non-ASCII characters and no warnings about missing files. I will have a close look at the code itself later today or tomorrow, when I have more time.

@stevenvdb stevenvdb requested a review from rbberger as a code owner Jan 22, 2019

@stevenvdb stevenvdb requested a review from junghans as a code owner Jan 22, 2019

@akohlmey akohlmey merged commit 985913b into lammps:master Jan 24, 2019

6 checks passed

lammps/pull-requests/cmake/new-cmake-serial-pr merge run ended
lammps/pull-requests/new-build-docs-pr merge run ended
lammps/pull-requests/new-kokkos-omp-pr merge run ended
lammps/pull-requests/new-openmpi-pr merge run ended
lammps/pull-requests/new-serial-pr merge run ended
lammps/pull-requests/new-shlib-pr merge run ended

@stevenvdb stevenvdb referenced this pull request Jan 24, 2019


Fix mistake in mixing rules for mm3/switch3 #1301

0 of 4 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment