Clare R. Rees-Zimmerman , Angus Heafield , Daniel Ellerbeck , Adam Edward Stones , Roel P.A. Dullens , Dirk G.A.L. Aarts
{"title":"Inverting g(r) to u(r): The test-particle insertion method","authors":"Clare R. Rees-Zimmerman , Angus Heafield , Daniel Ellerbeck , Adam Edward Stones , Roel P.A. Dullens , Dirk G.A.L. Aarts","doi":"10.1016/j.jciso.2025.100156","DOIUrl":null,"url":null,"abstract":"<div><div>Inverting the radial distribution function, <span><math><mrow><mi>g</mi><mrow><mo>(</mo><mi>r</mi><mo>)</mo></mrow></mrow></math></span>, to a pair potential, <span><math><mrow><mi>u</mi><mrow><mo>(</mo><mi>r</mi><mo>)</mo></mrow></mrow></math></span>, can be achieved by a variety of methods. Test-particle insertion has recently emerged as an efficient inverse method for finding <span><math><mrow><mi>u</mi><mrow><mo>(</mo><mi>r</mi><mo>)</mo></mrow></mrow></math></span>. The method can analyse both simulated and experimental data, and the only input required is equilibrium snapshots of particle coordinates. This paper explains the method in detail and its implementation, sharing example code. We demonstrate intricacies in the number and placement of test particles and their effect on efficiency, as well as practical advice for applying the method to experimental data. This includes strategies and code for dealing with non-periodic boundary conditions, choice of inversion cutoff distance and the effect of particles sticking. We also discuss how the method performs at higher density and its limitations.</div></div>","PeriodicalId":73541,"journal":{"name":"JCIS open","volume":"20 ","pages":"Article 100156"},"PeriodicalIF":0.0000,"publicationDate":"2025-09-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"JCIS open","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2666934X25000297","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"Materials Science","Score":null,"Total":0}
引用次数: 0
Abstract
Inverting the radial distribution function, , to a pair potential, , can be achieved by a variety of methods. Test-particle insertion has recently emerged as an efficient inverse method for finding . The method can analyse both simulated and experimental data, and the only input required is equilibrium snapshots of particle coordinates. This paper explains the method in detail and its implementation, sharing example code. We demonstrate intricacies in the number and placement of test particles and their effect on efficiency, as well as practical advice for applying the method to experimental data. This includes strategies and code for dealing with non-periodic boundary conditions, choice of inversion cutoff distance and the effect of particles sticking. We also discuss how the method performs at higher density and its limitations.