A hybrid potential "Tersoff+ILP" for the homo- and heterostructures of graphene and hBN#1062
Merged
brucefan1983 merged 3 commits intobrucefan1983:masterfrom May 31, 2025
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds a hybrid potential, combining Tersoff (1988) potential and interlayer potential (ILP), for graphene, h-BN and their heterostructures. The intra- and interlayer interactions are described by Tersoff potential and ILP potential, respectively. Similar to PR #951, this hybrid potential use a group method to identify different layers, too.
Modification
ilp_tersoff.cuandilp_tersoff.cuhfiles to compute the energy, force and virial.force.cufile for this hybrid potential.Usage
run.infile, the definition of potential needs two potential files: the first for ILP potential and the next for Tersoff potential.the
0means the groups set in group method 0 are defined as different layers.Test
The test model is a gr/h-BN heterostructure with 1,600 atoms.
Compare with LAMMPS (run 0)

Energy conservation

DEBUGflag testOthers
If any questions, please feel free to let me know!