{"title":"Dielectric functions, their properties and their relation to observables: Investigations using the Chapidif program for the case of aluminum","authors":"Maarten Vos , Pedro L. Grande","doi":"10.1016/j.cpc.2025.109657","DOIUrl":null,"url":null,"abstract":"<div><div>We introduce the program ‘Chapidif’ by describing a study of the properties of aluminum based on simple model dielectric functions. These are generally not available from first principle, and one is forced to describe them in terms of (a sum of) model dielectric functions. The Chapidif program is used to visualize these, check their sum rules and the mathematical relation between the real and imaginary part. In addition, several properties related to the interaction of charged particles (here either protons or electrons) with matter are derived and compared with experiment. By having a single program that can calculate a range of properties, it becomes easy to ensure that the model used is not just able to describe a single observable, but it is transferable, i.e. describes reasonably well a larger range of material properties. A reflection electron energy loss measurement is used as an example of how a comparison of calculated results with experiment can be used to improve the model and thus enhance the quality of the properties derived from the dielectric function.</div></div><div><h3>Program summary</h3><div><em>Program Title:</em> Chapidif</div><div><em>CPC Library link to program files:</em> <span><span>https://doi.org/10.17632/7wmxg69v7x.1</span><svg><path></path></svg></span></div><div><em>Licensing provisions:</em> CC BY NC 3.0</div><div><em>Programming language:</em> Python, C++</div><div><em>Nature of problem:</em> Frequency- and momentum-dependent dielectric functions can describe a wide variety of material properties. The quantity has many intricate mathematical properties and is subject to constraints due to sum rules. The Chapidif program can be used to visualize a dielectric function, check its sum rules, and calculate a wide range of quantities, in particular relating to the interaction of protons and electrons with matter. Details of how the classical and quantum-based dielectric functions are implemented are given elsewhere [1]. The program makes it easy to investigate if the assumed dielectric function has the required mathematical properties and how the choice of the model dielectric function and the corresponding parameters influences the calculated observables such as ion stopping and electron inelastic mean free path.</div><div><em>Solution method:</em> The program consists of a Python/Tkinter user interface and C++ backend that does the actual calculations. Results are displayed using Matplotlib library and, if desired, text-based output files containing the input parameters used and the calculated quantities can be generated.</div></div><div><h3>References</h3><div><ul><li><span>[1]</span><span><div>M. Vos, P.L. Grande, RPA dielectric functions: streamlined approach to relaxation effects, binding and high momentum dispersion, J. Phys. Chem. Solids 198 (2025) 112470, <span><span>https://doi.org/10.1016/j.jpcs.2024.112470</span><svg><path></path></svg></span>.</div></span></li></ul></div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"314 ","pages":"Article 109657"},"PeriodicalIF":7.2000,"publicationDate":"2025-05-12","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Physics Communications","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0010465525001596","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0
Abstract
We introduce the program ‘Chapidif’ by describing a study of the properties of aluminum based on simple model dielectric functions. These are generally not available from first principle, and one is forced to describe them in terms of (a sum of) model dielectric functions. The Chapidif program is used to visualize these, check their sum rules and the mathematical relation between the real and imaginary part. In addition, several properties related to the interaction of charged particles (here either protons or electrons) with matter are derived and compared with experiment. By having a single program that can calculate a range of properties, it becomes easy to ensure that the model used is not just able to describe a single observable, but it is transferable, i.e. describes reasonably well a larger range of material properties. A reflection electron energy loss measurement is used as an example of how a comparison of calculated results with experiment can be used to improve the model and thus enhance the quality of the properties derived from the dielectric function.
Program summary
Program Title: Chapidif
CPC Library link to program files:https://doi.org/10.17632/7wmxg69v7x.1
Licensing provisions: CC BY NC 3.0
Programming language: Python, C++
Nature of problem: Frequency- and momentum-dependent dielectric functions can describe a wide variety of material properties. The quantity has many intricate mathematical properties and is subject to constraints due to sum rules. The Chapidif program can be used to visualize a dielectric function, check its sum rules, and calculate a wide range of quantities, in particular relating to the interaction of protons and electrons with matter. Details of how the classical and quantum-based dielectric functions are implemented are given elsewhere [1]. The program makes it easy to investigate if the assumed dielectric function has the required mathematical properties and how the choice of the model dielectric function and the corresponding parameters influences the calculated observables such as ion stopping and electron inelastic mean free path.
Solution method: The program consists of a Python/Tkinter user interface and C++ backend that does the actual calculations. Results are displayed using Matplotlib library and, if desired, text-based output files containing the input parameters used and the calculated quantities can be generated.
References
[1]
M. Vos, P.L. Grande, RPA dielectric functions: streamlined approach to relaxation effects, binding and high momentum dispersion, J. Phys. Chem. Solids 198 (2025) 112470, https://doi.org/10.1016/j.jpcs.2024.112470.
期刊介绍:
The focus of CPC is on contemporary computational methods and techniques and their implementation, the effectiveness of which will normally be evidenced by the author(s) within the context of a substantive problem in physics. Within this setting CPC publishes two types of paper.
Computer Programs in Physics (CPiP)
These papers describe significant computer programs to be archived in the CPC Program Library which is held in the Mendeley Data repository. The submitted software must be covered by an approved open source licence. Papers and associated computer programs that address a problem of contemporary interest in physics that cannot be solved by current software are particularly encouraged.
Computational Physics Papers (CP)
These are research papers in, but are not limited to, the following themes across computational physics and related disciplines.
mathematical and numerical methods and algorithms;
computational models including those associated with the design, control and analysis of experiments; and
algebraic computation.
Each will normally include software implementation and performance details. The software implementation should, ideally, be available via GitHub, Zenodo or an institutional repository.In addition, research papers on the impact of advanced computer architecture and special purpose computers on computing in the physical sciences and software topics related to, and of importance in, the physical sciences may be considered.