首页 > 最新文献

Computer Physics Communications最新文献

英文 中文
Advanced strategies for discrete simulations with three-dimensional R-shapes in rockable framework 可岩石框架中三维r形离散模拟的高级策略
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2026-03-01 Epub Date: 2025-12-17 DOI: 10.1016/j.cpc.2025.109997
Vincent Richefeu , Gaël Combe , Lhassan Amarsid , Raphaël Prat , Jean-Mathieu Vanson , Saied Nezamabadi , Patrick Mutabaruka , Jean-Yves Delenne , Farhang Radjaï
<div><div>The Discrete Element Method (DEM) is widely used to simulate the mechanical behavior of granular materials across a broad range of applications and industrial domains. Particle shape is a key feature playing a crucial role for physics-fidelity of DEM simulations. However, accurately representing complex particle shapes within DEM frameworks presents significant challenges such as defining unambiguous contact normals or managing geometric singularities. Rigid particles are often modeled as convex polyhedra, which inherently suffer from ill-defined outward normal vectors at sharp edges and vertices. To represent non-convex geometries, these polyhedra must typically be combined, further increasing the computational and geometric complexity. In this work, we adopt an efficient and robust strategy to overcome these limitations by using <em>R</em>-shapes, defined as rounded-edge shapes, also known as sphero-polyhedra, obtained by sweeping a sphere of radius <em>R</em> along the edges and faces of a base polyhedral shape. This construction results in smooth surface transitions and circumvents common issues associated with traditional polygonal representations. This paper provides a detailed presentation of the implementation, structure, and advantages of <em>R</em>-shapes in DEM simulations. The proposed solutions are implemented in a fully open-source software package called <span>Rockable</span>, developed in <span>C++</span>, which integrates state-of-the-art numerical techniques and shared-memory parallelization for enhanced performance. Beyond the geometric modeling aspects, we also address several methodological challenges, including the treatment of contact elasticity and the numerical integration scheme. The combined contributions of this work offer a practical and efficient framework for simulating complex particle shapes in DEM with high physics fidelity and computational efficiency.<strong>Program summary</strong></div><div><em>Program Title:</em><span>Rockable</span></div><div><em>CPC Library link to program files:</em> (to be added by Technical Editor)</div><div><em>Developer’s repository link:</em></div><div><span><span>https://github.com/richefeu/rockable</span><svg><path></path></svg></span></div><div><em>Licensing provisions:</em> CeCILL-B</div><div><em>Programming language:</em>C<span>++</span>11</div><div><em>Supplementary material:</em></div><div><em>Nature of problem(approx. 50–250 words):</em></div><div>The open-source software <span>Rockable</span> addresses key challenges in simulating the mechanical behavior of granular materials using the Discrete Element Method (DEM), widely applied in both industrial applications and academic studies particularly where particle shape plays a critical role. Accurate modeling of the diversity of particle shapes in DEM remains non-trivial, due in part to ambiguities in defining contact normals. Rigid particles are often represented as convex polyhedra, which suffer from poorly defined
离散元法(DEM)被广泛用于模拟颗粒材料的力学行为,在广泛的应用和工业领域。粒子形状是影响DEM模拟物理保真度的关键因素。然而,在DEM框架内准确地表示复杂的粒子形状提出了重大挑战,例如定义明确的接触法线或管理几何奇点。刚性粒子通常被建模为凸多面体,其固有的缺点是在尖锐的边缘和顶点处有不明确的向外法向量。为了表示非凸几何,这些多面体通常必须组合在一起,这进一步增加了计算和几何复杂性。在这项工作中,我们采用了一种有效而稳健的策略,通过使用R形状来克服这些限制,R形状定义为圆边形状,也称为球多面体,通过沿基本多面体形状的边缘和面扫描半径为R的球体来获得。这种构造产生了平滑的表面过渡,并规避了与传统多边形表示相关的常见问题。本文详细介绍了r形在DEM模拟中的实现、结构和优势。所提出的解决方案是在一个名为Rockable的完全开源软件包中实现的,该软件包使用c++开发,集成了最先进的数值技术和共享内存并行化,以增强性能。除了几何建模方面,我们还解决了几个方法上的挑战,包括接触弹性的处理和数值积分方案。本工作的综合贡献为在DEM中模拟具有高物理保真度和计算效率的复杂粒子形状提供了一个实用和有效的框架。程序摘要程序标题:RockableCPC库链接到程序文件:(由技术编辑添加)开发人员的存储库链接:https://github.com/richefeu/rockableLicensing条款:cecill - b编程语言:c++ 11补充材料:问题的性质(大约。50-250字):开源软件Rockable解决了使用离散元方法(DEM)模拟颗粒材料力学行为的关键挑战,广泛应用于工业应用和学术研究,特别是颗粒形状起关键作用。由于接触法线定义的模糊性,在DEM中对颗粒形状多样性的精确建模仍然是非平凡的。刚性粒子通常表示为凸多面体,其边缘和顶点的外法线定义不清。此外,非凸形状的建模通常需要聚合多个凸元素,这增加了复杂性。Rockable通过使用R形或球多面体来解决这些问题,通过沿多面体基部的边缘和面扫取半径为R的球体来获得。rockable用c++开发,集成了最先进的数值技术,并支持高性能模拟的共享内存并行性。它还解决了关键的物理建模挑战,包括接触弹性和颗粒断裂。解决方法(约。Rockable实现了一种基于几何的r形接触检测算法,该算法将接触分类为四种基本类型:顶点-顶点、顶点-边缘、顶点-面和边缘-边缘。这种系统的方法为计算接触点及其相关的局部框架提供了一个统一的框架。这种方法的一个关键优势是它能够将复杂的接触场景,如面对面的互动,简化为这些基本情况的组合。这种模块化处理不仅提高了鲁棒性和计算效率,而且可以自然地扩展到非凸和空心形状。该框架被设计为可扩展的,使Rockable成为基于dem的不规则和不断变化的颗粒几何形状建模的通用工具。
{"title":"Advanced strategies for discrete simulations with three-dimensional R-shapes in rockable framework","authors":"Vincent Richefeu ,&nbsp;Gaël Combe ,&nbsp;Lhassan Amarsid ,&nbsp;Raphaël Prat ,&nbsp;Jean-Mathieu Vanson ,&nbsp;Saied Nezamabadi ,&nbsp;Patrick Mutabaruka ,&nbsp;Jean-Yves Delenne ,&nbsp;Farhang Radjaï","doi":"10.1016/j.cpc.2025.109997","DOIUrl":"10.1016/j.cpc.2025.109997","url":null,"abstract":"&lt;div&gt;&lt;div&gt;The Discrete Element Method (DEM) is widely used to simulate the mechanical behavior of granular materials across a broad range of applications and industrial domains. Particle shape is a key feature playing a crucial role for physics-fidelity of DEM simulations. However, accurately representing complex particle shapes within DEM frameworks presents significant challenges such as defining unambiguous contact normals or managing geometric singularities. Rigid particles are often modeled as convex polyhedra, which inherently suffer from ill-defined outward normal vectors at sharp edges and vertices. To represent non-convex geometries, these polyhedra must typically be combined, further increasing the computational and geometric complexity. In this work, we adopt an efficient and robust strategy to overcome these limitations by using &lt;em&gt;R&lt;/em&gt;-shapes, defined as rounded-edge shapes, also known as sphero-polyhedra, obtained by sweeping a sphere of radius &lt;em&gt;R&lt;/em&gt; along the edges and faces of a base polyhedral shape. This construction results in smooth surface transitions and circumvents common issues associated with traditional polygonal representations. This paper provides a detailed presentation of the implementation, structure, and advantages of &lt;em&gt;R&lt;/em&gt;-shapes in DEM simulations. The proposed solutions are implemented in a fully open-source software package called &lt;span&gt;Rockable&lt;/span&gt;, developed in &lt;span&gt;C++&lt;/span&gt;, which integrates state-of-the-art numerical techniques and shared-memory parallelization for enhanced performance. Beyond the geometric modeling aspects, we also address several methodological challenges, including the treatment of contact elasticity and the numerical integration scheme. The combined contributions of this work offer a practical and efficient framework for simulating complex particle shapes in DEM with high physics fidelity and computational efficiency.&lt;strong&gt;Program summary&lt;/strong&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;Program Title:&lt;/em&gt;&lt;span&gt;Rockable&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;CPC Library link to program files:&lt;/em&gt; (to be added by Technical Editor)&lt;/div&gt;&lt;div&gt;&lt;em&gt;Developer’s repository link:&lt;/em&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;span&gt;https://github.com/richefeu/rockable&lt;/span&gt;&lt;svg&gt;&lt;path&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;Licensing provisions:&lt;/em&gt; CeCILL-B&lt;/div&gt;&lt;div&gt;&lt;em&gt;Programming language:&lt;/em&gt;C&lt;span&gt;++&lt;/span&gt;11&lt;/div&gt;&lt;div&gt;&lt;em&gt;Supplementary material:&lt;/em&gt;&lt;/div&gt;&lt;div&gt;&lt;em&gt;Nature of problem(approx. 50–250 words):&lt;/em&gt;&lt;/div&gt;&lt;div&gt;The open-source software &lt;span&gt;Rockable&lt;/span&gt; addresses key challenges in simulating the mechanical behavior of granular materials using the Discrete Element Method (DEM), widely applied in both industrial applications and academic studies particularly where particle shape plays a critical role. Accurate modeling of the diversity of particle shapes in DEM remains non-trivial, due in part to ambiguities in defining contact normals. Rigid particles are often represented as convex polyhedra, which suffer from poorly defined ","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"320 ","pages":"Article 109997"},"PeriodicalIF":3.4,"publicationDate":"2026-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"145836598","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
FukuiGrid: A Python code for c-DFT in solid-state chemistry FukuiGrid:固态化学中c-DFT的Python代码
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2026-03-01 Epub Date: 2025-11-27 DOI: 10.1016/j.cpc.2025.109957
Nicolás F. Barrera , Javiera Cabezas-Escares , Mònica Calatayud , Francisco Munoz , Tatiana Gómez , Carlos Cárdenas
FukuiGrid is a Python-based code that calculates Fukui functions and Fukui potentials in systems with periodic boundary conditions, making it a valuable tool for solid-state chemistry. It focuses on chemical reactivity descriptors from Conceptual Density-Functional Theory (c-DFT) and enables the calculation of Fukui functions through methods such as finite differences and interpolation. FukuiGrid addresses the challenges associated with periodic boundary conditions when calculating the electrostatic potential of a Fukui function (known as the Fukui potential) by integrating various corrections to alleviate the compensating background of charge. These corrections include the electrode approach and self-consistent potential correction as post-processing techniques. This package is compatible with VASP outputs and specifically designed to study the reactivity of surfaces and adsorbates. It generates surface reactivity maps and provides insights into adsorption site preferences, as well as regions prone to electron donation or withdrawal. FukuiGrid has been designed to make c-DFT easier for the surface chemistry community.
FukuiGrid是一个基于python的代码,用于计算具有周期性边界条件的系统中的福井函数和福井势,使其成为固态化学的有价值的工具。它侧重于概念密度泛函理论(c-DFT)的化学反应性描述符,并通过有限差分和插值等方法实现福井函数的计算。在计算福井函数的静电势(称为福井势)时,通过积分各种修正来减轻电荷的补偿背景,FukuiGrid解决了与周期性边界条件相关的挑战。这些校正包括电极方法和自一致电位校正作为后处理技术。该包与VASP输出兼容,专门设计用于研究表面和吸附物的反应性。它生成表面反应性图,并提供对吸附位点偏好的见解,以及易于给电子或撤回的区域。FukuiGrid旨在使c-DFT更容易用于表面化学社区。
{"title":"FukuiGrid: A Python code for c-DFT in solid-state chemistry","authors":"Nicolás F. Barrera ,&nbsp;Javiera Cabezas-Escares ,&nbsp;Mònica Calatayud ,&nbsp;Francisco Munoz ,&nbsp;Tatiana Gómez ,&nbsp;Carlos Cárdenas","doi":"10.1016/j.cpc.2025.109957","DOIUrl":"10.1016/j.cpc.2025.109957","url":null,"abstract":"<div><div>FukuiGrid is a Python-based code that calculates Fukui functions and Fukui potentials in systems with periodic boundary conditions, making it a valuable tool for solid-state chemistry. It focuses on chemical reactivity descriptors from Conceptual Density-Functional Theory (c-DFT) and enables the calculation of Fukui functions through methods such as finite differences and interpolation. FukuiGrid addresses the challenges associated with periodic boundary conditions when calculating the electrostatic potential of a Fukui function (known as the Fukui potential) by integrating various corrections to alleviate the compensating background of charge. These corrections include the electrode approach and self-consistent potential correction as post-processing techniques. This package is compatible with VASP outputs and specifically designed to study the reactivity of surfaces and adsorbates. It generates surface reactivity maps and provides insights into adsorption site preferences, as well as regions prone to electron donation or withdrawal. FukuiGrid has been designed to make c-DFT easier for the surface chemistry community.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"320 ","pages":"Article 109957"},"PeriodicalIF":3.4,"publicationDate":"2026-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"145681707","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
SEMPO - Retrieving Complex poles, residues and zeros from arbitrary real spectral responses SEMPO -从任意实光谱响应中检索复极点、残数和零
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2026-03-01 Epub Date: 2025-11-05 DOI: 10.1016/j.cpc.2025.109929
Isam Ben Soltane , Mahé Roy , Rémi Andre , Nicolas Bonod
The Singularity Expansion Method Parameter Optimizer - SEMPO - is a toolbox to extract the complex poles, zeros and residues of an arbitrary response function acquired along the real frequency axis. SEMPO allows to determine this full set of complex parameters of linear physical systems from their spectral responses only, without prior information about the system. The method leverages on the Singularity Expansion Method of the physical signal. This analytical expansion of the meromorphic function in the complex frequency plane motivates the use of an accuracy-driven improved version of the Cauchy method constrained by properties of physical systems, as well as an auto-differentiation-based optimization approach. Both approaches can be sequentially associated to provide highly accurate reconstructions of physical signals in large spectral windows. The performances of SEMPO are assessed and analysed in several configurations that include the dielectric permittivity of materials and the optical response spectra of various optical metasurfaces. SEMPO’s performances are thoroughly analyzed and benchmarked with other state-of-the-art methods to highlight its capability to retrieve the natural poles of a physical system. Program summary • Program title: Singularity Expansion Method Parameter Optimizer (SEMPO) • Library link to program files: • Developer’s repository link: https://doi.org/10.5281/zenodo.15210008 • Licensing provisions: Creative Commons Attribution 4.0 International • Programming language: Python • Nature of problem: Spectral functions of scattering coefficients of physical systems can be rigorously expanded through the Singularity Expansion Method. This expansion method permits to cast the spectral function through two equivalent forms: a sum of complex rational functions depending on complex poles and residues, and a factorized expression that depends on complex poles and zeros. Spectral functions are usually acquired along the real frequency axis, the challenge is thus to identify the set of complex poles, zeros and residues from these acquisitions at real frequencies. • Solution method: SEMPO is a numerical toolbox that aims at extracting the complex poles, zeros and residues from arbitrary spectral functions. SEMPO relies on both an improved algebraic Cauchy method associated with the factorized expression, and an open-source auto-differentiation method associated with the expansion in terms of poles and residues. Both methods are based on the Singularity expansion method and leverage the properties of physical systems and signals. The accuracy of SEMPO is thoroughly assessed and analysed in different configurations including the spectral responses of optical metasurfaces and the dielectric permittivity of optical materials.
奇异展开法参数优化器SEMPO是一个工具箱,用于提取沿实频率轴获取的任意响应函数的复极点、零点和残数。SEMPO允许仅从线性物理系统的光谱响应中确定这套完整的复杂参数,而无需关于系统的先验信息。该方法利用了物理信号的奇异展开法。这种复频率平面上亚纯函数的解析展开,激发了一种精度驱动的改进版柯西方法的使用,这种方法受物理系统特性的约束,以及一种基于自动微分的优化方法。这两种方法可以依次关联,以在大光谱窗口中提供高精度的物理信号重建。在几种配置下,包括材料的介电常数和各种光学超表面的光学响应谱,对SEMPO的性能进行了评估和分析。SEMPO的性能经过了全面的分析,并与其他最先进的方法进行了基准测试,以突出其检索物理系统的自然极点的能力。程序摘要•程序标题:奇点扩展方法参数优化器(SEMPO)•库链接到程序文件:•开发人员的存储库链接:https://doi.org/10.5281/zenodo.15210008•许可条款:知识共享归属4.0国际•编程语言:Python•问题的性质:物理系统散射系数的谱函数可以通过奇点扩展方法严格扩展。这种展开方法允许将谱函数转换为两种等价形式:依赖于复极点和残数的复有理函数和,以及依赖于复极点和零的因式分解表达式。谱函数通常是沿着实频率轴获得的,因此,挑战是在实频率下从这些采集中识别复杂的极点、零点和残数集。•解决方法:SEMPO是一个数值工具箱,旨在从任意谱函数中提取复杂的极点、零点和残数。SEMPO既依赖于与因式分解表达式相关的改进代数柯西方法,也依赖于与极点和残数展开相关的开源自微分方法。这两种方法都是基于奇点展开方法,并利用物理系统和信号的特性。在不同的结构下,包括光学超表面的光谱响应和光学材料的介电常数,对SEMPO的精度进行了全面的评估和分析。
{"title":"SEMPO - Retrieving Complex poles, residues and zeros from arbitrary real spectral responses","authors":"Isam Ben Soltane ,&nbsp;Mahé Roy ,&nbsp;Rémi Andre ,&nbsp;Nicolas Bonod","doi":"10.1016/j.cpc.2025.109929","DOIUrl":"10.1016/j.cpc.2025.109929","url":null,"abstract":"<div><div>The Singularity Expansion Method Parameter Optimizer - SEMPO - is a toolbox to extract the complex poles, zeros and residues of an arbitrary response function acquired along the real frequency axis. SEMPO allows to determine this full set of complex parameters of linear physical systems from their spectral responses only, without prior information about the system. The method leverages on the Singularity Expansion Method of the physical signal. This analytical expansion of the meromorphic function in the complex frequency plane motivates the use of an accuracy-driven improved version of the Cauchy method constrained by properties of physical systems, as well as an auto-differentiation-based optimization approach. Both approaches can be sequentially associated to provide highly accurate reconstructions of physical signals in large spectral windows. The performances of SEMPO are assessed and analysed in several configurations that include the dielectric permittivity of materials and the optical response spectra of various optical metasurfaces. SEMPO’s performances are thoroughly analyzed and benchmarked with other state-of-the-art methods to highlight its capability to retrieve the natural poles of a physical system. <strong>Program summary</strong> • Program title: Singularity Expansion Method Parameter Optimizer (SEMPO) • Library link to program files: • Developer’s repository link: <span><span>https://doi.org/10.5281/zenodo.15210008</span><svg><path></path></svg></span> • Licensing provisions: Creative Commons Attribution 4.0 International • Programming language: Python • Nature of problem: Spectral functions of scattering coefficients of physical systems can be rigorously expanded through the Singularity Expansion Method. This expansion method permits to cast the spectral function through two equivalent forms: a sum of complex rational functions depending on complex poles and residues, and a factorized expression that depends on complex poles and zeros. Spectral functions are usually acquired along the real frequency axis, the challenge is thus to identify the set of complex poles, zeros and residues from these acquisitions at real frequencies. • Solution method: SEMPO is a numerical toolbox that aims at extracting the complex poles, zeros and residues from arbitrary spectral functions. SEMPO relies on both an improved algebraic Cauchy method associated with the factorized expression, and an open-source auto-differentiation method associated with the expansion in terms of poles and residues. Both methods are based on the Singularity expansion method and leverage the properties of physical systems and signals. The accuracy of SEMPO is thoroughly assessed and analysed in different configurations including the spectral responses of optical metasurfaces and the dielectric permittivity of optical materials.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"320 ","pages":"Article 109929"},"PeriodicalIF":3.4,"publicationDate":"2026-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"145681711","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Numerical solutions of resistive finite-pressure magnetohydrodynamic equilibria for stellarator and non-axisymmetric toroidal plasmas 仿星体和非轴对称环形等离子体电阻性有限压力磁流体动力学平衡的数值解
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2026-03-01 Epub Date: 2025-11-17 DOI: 10.1016/j.cpc.2025.109961
Jian Zhang , Ping Zhu , Chris C. Hegna
A hybrid spectral/finite-element code is developed to numerically solve the resistive finite-pressure magnetohydrodynamic equilibria without the necessity of postulating nested magnetic flux surfaces in the non-axisymmetric toroidal systems. The adopted approach integrates a hyperbolic parallel damping equation for pressure updating, along with a dynamic resistive relaxation for magnetic field. To address the non-axisymmetry in toroidal geometry, a pseudo flux mapping is employed to relate the axisymmetric computational domain to the physical domain. On the computational mesh, an isoparametric C1-continuous triangular element is utilized to discretize the poloidal plane, which is complemented with a Fourier decomposition in the toroidal direction. The versatility of the code is demonstrated through its application to several different non-axisymmetric toroidal systems, including the inherently three-dimensional equilibria in stellarators, the helical-core equilibrium states in tokamak plasmas, and the quasi-single-helicity states in a reversed-field pinch.
在非轴对称环面系统中,不需要假定嵌套磁通面,提出了一种谱/有限元混合程序来数值求解电阻有限压磁流体动力平衡。采用的方法集成了用于压力更新的双曲平行阻尼方程和用于磁场的动态电阻弛豫方程。为了解决环面几何中的非轴对称问题,采用伪通量映射将轴对称计算域与物理域联系起来。在计算网格上,采用等参c1 -连续三角形单元对极向平面进行离散化,并辅以环向傅里叶分解。通过对几种不同的非轴对称环面系统的应用,包括仿星器中固有的三维平衡态、托卡马克等离子体中的螺旋核平衡态和反场掐缩中的准单螺旋态,证明了该代码的多用途性。
{"title":"Numerical solutions of resistive finite-pressure magnetohydrodynamic equilibria for stellarator and non-axisymmetric toroidal plasmas","authors":"Jian Zhang ,&nbsp;Ping Zhu ,&nbsp;Chris C. Hegna","doi":"10.1016/j.cpc.2025.109961","DOIUrl":"10.1016/j.cpc.2025.109961","url":null,"abstract":"<div><div>A hybrid spectral/finite-element code is developed to numerically solve the resistive finite-pressure magnetohydrodynamic equilibria without the necessity of postulating nested magnetic flux surfaces in the non-axisymmetric toroidal systems. The adopted approach integrates a hyperbolic parallel damping equation for pressure updating, along with a dynamic resistive relaxation for magnetic field. To address the non-axisymmetry in toroidal geometry, a pseudo flux mapping is employed to relate the axisymmetric computational domain to the physical domain. On the computational mesh, an isoparametric C1-continuous triangular element is utilized to discretize the poloidal plane, which is complemented with a Fourier decomposition in the toroidal direction. The versatility of the code is demonstrated through its application to several different non-axisymmetric toroidal systems, including the inherently three-dimensional equilibria in stellarators, the helical-core equilibrium states in tokamak plasmas, and the quasi-single-helicity states in a reversed-field pinch.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"320 ","pages":"Article 109961"},"PeriodicalIF":3.4,"publicationDate":"2026-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"145571120","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Semi-implicit scheme for multi-species collision operators in Tokamak Plasma Simulations 托卡马克等离子体模拟中多物种碰撞算子的半隐式格式
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2026-03-01 Epub Date: 2025-12-26 DOI: 10.1016/j.cpc.2025.110012
Dandan Liao , Lei Ye , Pengfei Zhao , Qilong Ren , Nong Xiang
A second-order semi-implicit time integration method has been developed for solving the linearized collision operator in multi-species plasmas. A key feature of this method is that it treats the collision operator as a single entity, avoiding the operator splitting between its test particle and field particle components. This scheme employs an implicit trapezoidal time integration scheme for the isothermal test particle part (including pitch-angle scattering and energy diffusion) with a finite volume discretization in (v, μ) velocity coordinates, while the non-isothermal model term and field particle part are treated explicitly. This approach avoids the species cross-coupling required by fully implicit schemes, enabling the collision term to be computed efficiently with a banded/sparse-matrix solver. The method has been implemented in the gyrokinetic semi-Lagrangian code NLT and verified through multi-species relaxation tests and neoclassical transport simulations. Numerical benchmarks against explicit methods confirm its robustness, achieving order-of-magnitude improvements in the allowable time-step size, particularly in simulations of electron-ion collisions. Furthermore, the numerical discretization rigorously preserves particle number, momentum, and energy conservation, maintains the self-adjoint property of the collision operator, and satisfies Boltzmann’s H-theorem.
提出了求解多种等离子体中线性化碰撞算子的二阶半隐式时间积分方法。该方法的一个关键特点是将碰撞算子视为一个单一的实体,避免了算子在其测试粒子和场粒子组件之间分裂。该方案对等温试验粒子部分(包括俯角散射和能量扩散)采用隐式梯形时间积分格式,在(v∥,μ)速度坐标下进行有限体积离散,对非等温模型项和场粒子部分进行显式处理。该方法避免了完全隐式格式所需要的物种交叉耦合,使碰撞项能够用带状/稀疏矩阵求解器有效地计算。该方法已在陀螺动力学半拉格朗日码NLT中实现,并通过多种弛豫试验和新经典输运模拟进行了验证。针对显式方法的数值基准验证了其鲁棒性,在允许的时间步长上实现了数量级的改进,特别是在模拟电子-离子碰撞时。数值离散化严格地保持了粒子数、动量和能量守恒,保持了碰撞算子的自伴随性质,满足玻尔兹曼h定理。
{"title":"Semi-implicit scheme for multi-species collision operators in Tokamak Plasma Simulations","authors":"Dandan Liao ,&nbsp;Lei Ye ,&nbsp;Pengfei Zhao ,&nbsp;Qilong Ren ,&nbsp;Nong Xiang","doi":"10.1016/j.cpc.2025.110012","DOIUrl":"10.1016/j.cpc.2025.110012","url":null,"abstract":"<div><div>A second-order semi-implicit time integration method has been developed for solving the linearized collision operator in multi-species plasmas. A key feature of this method is that it treats the collision operator as a single entity, avoiding the operator splitting between its test particle and field particle components. This scheme employs an implicit trapezoidal time integration scheme for the isothermal test particle part (including pitch-angle scattering and energy diffusion) with a finite volume discretization in (<em>v</em><sub>∥</sub>, <em>μ</em>) velocity coordinates, while the non-isothermal model term and field particle part are treated explicitly. This approach avoids the species cross-coupling required by fully implicit schemes, enabling the collision term to be computed efficiently with a banded/sparse-matrix solver. The method has been implemented in the gyrokinetic semi-Lagrangian code NLT and verified through multi-species relaxation tests and neoclassical transport simulations. Numerical benchmarks against explicit methods confirm its robustness, achieving order-of-magnitude improvements in the allowable time-step size, particularly in simulations of electron-ion collisions. Furthermore, the numerical discretization rigorously preserves particle number, momentum, and energy conservation, maintains the self-adjoint property of the collision operator, and satisfies Boltzmann’s H-theorem.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"320 ","pages":"Article 110012"},"PeriodicalIF":3.4,"publicationDate":"2026-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"145880486","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Eschallot: A topology nucleation algorithm for designing stratified, spherically symmetric systems that exhibit complex angular scattering of electromagnetic waves Eschallot:一种用于设计具有复杂电磁波角散射的分层球对称系统的拓扑成核算法
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2026-03-01 Epub Date: 2025-11-28 DOI: 10.1016/j.cpc.2025.109966
Seokhwan Min, Jonghwa Shin
Controlling the scattering of waves from multi-shell spherical systems and particles is a crucial aspect in many applications in photonics such as superdirective antennae and structural coloring. Nevertheless, the effective design of such systems is non-trivial due to the coexistence of topological (number of shells and their material composition) and shape (shell thicknesses) parameters. Thus far, general-purpose algorithms such as parameter sweeps, gradient descent, differential evolution, and deep neural networks have been used to optimize particle shape under one or a few fixed topologies, limiting the complexity and effectiveness of the resulting designs. To address this shortcoming, we present a topology nucleation algorithm that allows the concurrent design of particle topology and shape through the use of a topology derivative expression derived from the transfer matrix formulation of the analytical Mie scattering theory. The principle behind our algorithm can readily be applied to the design of multi-shell spherical systems in other fields such as acoustics and quantum transport.
控制来自多壳球系统和粒子的波的散射在超定向天线和结构着色等光子学的许多应用中是一个至关重要的方面。然而,由于拓扑(壳体数量及其材料组成)和形状(壳体厚度)参数的共存,这种系统的有效设计是非平凡的。到目前为止,诸如参数扫描、梯度下降、差分进化和深度神经网络等通用算法已被用于在一个或几个固定拓扑下优化颗粒形状,这限制了最终设计的复杂性和有效性。为了解决这一缺点,我们提出了一种拓扑成核算法,该算法通过使用从解析Mie散射理论的传递矩阵公式中导出的拓扑导数表达式来允许粒子拓扑和形状的并行设计。我们的算法背后的原理可以很容易地应用于声学和量子输运等其他领域的多壳球系统的设计。
{"title":"Eschallot: A topology nucleation algorithm for designing stratified, spherically symmetric systems that exhibit complex angular scattering of electromagnetic waves","authors":"Seokhwan Min,&nbsp;Jonghwa Shin","doi":"10.1016/j.cpc.2025.109966","DOIUrl":"10.1016/j.cpc.2025.109966","url":null,"abstract":"<div><div>Controlling the scattering of waves from multi-shell spherical systems and particles is a crucial aspect in many applications in photonics such as superdirective antennae and structural coloring. Nevertheless, the effective design of such systems is non-trivial due to the coexistence of topological (number of shells and their material composition) and shape (shell thicknesses) parameters. Thus far, general-purpose algorithms such as parameter sweeps, gradient descent, differential evolution, and deep neural networks have been used to optimize particle shape under one or a few fixed topologies, limiting the complexity and effectiveness of the resulting designs. To address this shortcoming, we present a topology nucleation algorithm that allows the concurrent design of particle topology and shape through the use of a topology derivative expression derived from the transfer matrix formulation of the analytical Mie scattering theory. The principle behind our algorithm can readily be applied to the design of multi-shell spherical systems in other fields such as acoustics and quantum transport.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"320 ","pages":"Article 109966"},"PeriodicalIF":3.4,"publicationDate":"2026-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"145733048","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Tessellation-based grain boundary determination for X-ray orientation microscopies 基于镶嵌的x射线取向显微镜晶界测定
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2026-03-01 Epub Date: 2025-12-07 DOI: 10.1016/j.cpc.2025.109988
Jaemyung Kim , Yujiro Hayashi , Sung Soo Ha , Makina Yabashi
In X-ray diffraction-based orientation microscopy, reconstructed grain structures can exhibit unrealistic or erroneous features due to the broadening and overlapping of diffraction peaks. Accurate grain boundary determination based on physical models remains a critical challenge for reliable microstructural characterization. While Voronoi tessellation is widely used to represent microstructures, its accuracy is often limited by the lack of weighting factors, leading to biased results. To address this, we developed a grain extraction algorithm combining a variation of the label-equivalent connected components labeling method with the marching squares algorithm for precise grain boundary detection. Using the extracted grain shapes, additively weighted Voronoi tessellation (AWVT) was applied, with each grain’s center of mass (COM) and equivalent radius serving as weighting factors. The AWVT boundaries showed strong agreement with experimental data, outperforming conventional Voronoi and Laguerre tessellations. Furthermore, the relationship between AWVT and curvature-driven grain growth models is discussed, demonstrating the method’s potential for improved microstructure characterization and grain growth analysis.
在基于x射线衍射的取向显微镜中,由于衍射峰的展宽和重叠,重建的晶粒结构可能表现出不真实或错误的特征。基于物理模型的精确晶界确定仍然是可靠的微观结构表征的关键挑战。虽然Voronoi镶嵌被广泛用于表示微观结构,但其准确性往往受到缺乏加权因子的限制,导致结果有偏差。为了解决这个问题,我们开发了一种谷物提取算法,该算法将标签等效连接分量标记方法的变体与行进平方算法相结合,用于精确的晶界检测。利用提取的颗粒形状,以每个颗粒的质心和等效半径作为加权因子,进行加性加权Voronoi镶嵌(AWVT)。AWVT边界与实验数据非常吻合,优于传统的Voronoi和Laguerre镶嵌。此外,还讨论了AWVT与曲率驱动晶粒生长模型之间的关系,证明了该方法在改进微观结构表征和晶粒生长分析方面的潜力。
{"title":"Tessellation-based grain boundary determination for X-ray orientation microscopies","authors":"Jaemyung Kim ,&nbsp;Yujiro Hayashi ,&nbsp;Sung Soo Ha ,&nbsp;Makina Yabashi","doi":"10.1016/j.cpc.2025.109988","DOIUrl":"10.1016/j.cpc.2025.109988","url":null,"abstract":"<div><div>In X-ray diffraction-based orientation microscopy, reconstructed grain structures can exhibit unrealistic or erroneous features due to the broadening and overlapping of diffraction peaks. Accurate grain boundary determination based on physical models remains a critical challenge for reliable microstructural characterization. While Voronoi tessellation is widely used to represent microstructures, its accuracy is often limited by the lack of weighting factors, leading to biased results. To address this, we developed a grain extraction algorithm combining a variation of the label-equivalent connected components labeling method with the marching squares algorithm for precise grain boundary detection. Using the extracted grain shapes, additively weighted Voronoi tessellation (AWVT) was applied, with each grain’s center of mass (COM) and equivalent radius serving as weighting factors. The AWVT boundaries showed strong agreement with experimental data, outperforming conventional Voronoi and Laguerre tessellations. Furthermore, the relationship between AWVT and curvature-driven grain growth models is discussed, demonstrating the method’s potential for improved microstructure characterization and grain growth analysis.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"320 ","pages":"Article 109988"},"PeriodicalIF":3.4,"publicationDate":"2026-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"145732949","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Densest packings and accelerated equilibration of hard body systems via out-of-equilibrium replica exchange Monte Carlo! method 最密集的包装和加速平衡的硬体系统通过不平衡的复制交换蒙特卡洛!方法
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2026-03-01 Epub Date: 2025-12-16 DOI: 10.1016/j.cpc.2025.109990
Eduardo Basurto , Peter Gurin , Szabolcs Varga , Gerardo Odriozola
We introduce an out-of-equilibrium replica exchange Monte Carlo (REMC) scheme designed to accelerate the equilibration of hard body systems under high-pressure conditions. The method deliberately violates balance by significantly increasing the swap acceptance probability, thereby forcing replicas to explore the entire range of sampling pressures. As a result, replicas undergo abrupt pressure changes analogous to annealing processes that help reduce defects. We demonstrate the efficacy of the approach on systems of N hard disks confined within a circular cavity (with 400 ≤ N ≤ 450), where it consistently achieves higher maximal packing fractions than standard REMC within the same number of cycles. Furthermore, we establish new maximal packing records for cases where the best known maximal packings fall below Cantrell’s low-density limit and for N ≤ 1000. Similar improvements are observed for disks confined within a square cavity. Finally, we discuss the potential of alternating cycles of out-of-equilibrium and equilibrium REMC to further approach the equilibrium equation of state of hard body systems at very high densities.
我们介绍了一种非平衡复制交换蒙特卡罗(REMC)方案,旨在加速高压条件下硬体系统的平衡。该方法故意通过显著增加交换接受概率来破坏平衡,从而迫使副本探索采样压力的整个范围。因此,仿制品会经历类似于退火过程的突然压力变化,从而有助于减少缺陷。我们证明了该方法在圆形腔内(400 ≤ N ≤ 450)的N个硬盘系统上的有效性,在相同次数的循环内,它始终比标准REMC获得更高的最大填充分数。此外,我们建立了新的最大包装的情况下,最知名的最大包装低于Cantrell的低密度极限和N ≤ 1000。类似的改进被观察到圆盘限制在一个方形腔内。最后,我们讨论了非平衡和平衡REMC交替循环的潜力,以进一步接近非常高密度下硬体系统的状态平衡方程。
{"title":"Densest packings and accelerated equilibration of hard body systems via out-of-equilibrium replica exchange Monte Carlo! method","authors":"Eduardo Basurto ,&nbsp;Peter Gurin ,&nbsp;Szabolcs Varga ,&nbsp;Gerardo Odriozola","doi":"10.1016/j.cpc.2025.109990","DOIUrl":"10.1016/j.cpc.2025.109990","url":null,"abstract":"<div><div>We introduce an out-of-equilibrium replica exchange Monte Carlo (REMC) scheme designed to accelerate the equilibration of hard body systems under high-pressure conditions. The method deliberately violates balance by significantly increasing the swap acceptance probability, thereby forcing replicas to explore the entire range of sampling pressures. As a result, replicas undergo abrupt pressure changes analogous to annealing processes that help reduce defects. We demonstrate the efficacy of the approach on systems of <em>N</em> hard disks confined within a circular cavity (with 400 ≤ <em>N</em> ≤ 450), where it consistently achieves higher maximal packing fractions than standard REMC within the same number of cycles. Furthermore, we establish new maximal packing records for cases where the best known maximal packings fall below Cantrell’s low-density limit and for <em>N</em> ≤ 1000. Similar improvements are observed for disks confined within a square cavity. Finally, we discuss the potential of alternating cycles of out-of-equilibrium and equilibrium REMC to further approach the equilibrium equation of state of hard body systems at very high densities.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"320 ","pages":"Article 109990"},"PeriodicalIF":3.4,"publicationDate":"2026-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"145836600","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
TRIMEG-GKX: An electromagnetic gyrokinetic particle code with a piecewise field-aligned finite element method for micro- and macro-instability studies in tokamak core plasmas TRIMEG-GKX:用分段场对准有限元法研究托卡马克核心等离子体微观和宏观不稳定性的电磁陀螺动力学粒子代码
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2026-03-01 Epub Date: 2025-11-27 DOI: 10.1016/j.cpc.2025.109959
Zhixin Lu, Guo Meng, Roman Hatzky, Philipp Lauber, Matthias Hoelzl
The features of the TRIMEG-GKX code are described with emphasis on the exploration using novel/different schemes compared to other gyrokinetic codes, particularly the use of object-oriented programming, filter/buffer-free treatment, and a high-order piecewise field-aligned finite element method. The TRIMEG-GKX code solves the electromagnetic gyrokinetic equation using the particle-in-cell scheme, taking into account multi-species effects and shear Alfvén physics. The mixed-variable/pullback scheme has been implemented to enable electromagnetic studies. This code is parallelized using particle decomposition and domain cloning among computing nodes, replacing traditional domain decomposition techniques. The applications to study the micro- and macro-instabilities are demonstrated, including the energetic-particle-driven Alfvén eigenmode, ion temperature gradient mode, and kinetic ballooning mode. Good performance is achieved in both ad hoc and experimentally reconstructed equilibria, such as those of the ASDEX Upgrade (AUG), Tokamak á configuration variable (TCV), and the Joint European Torus (JET). Future studies of edge physics using the high-order C1 finite element method for triangular meshes in the TRIMEG-C1 code will be built upon the same numerical methods.
描述了TRIMEG-GKX代码的特点,重点是与其他陀螺动力学代码相比,使用新颖/不同的方案进行探索,特别是使用面向对象编程,无过滤器/无缓冲处理和高阶分段场对齐有限元方法。TRIMEG-GKX代码使用粒子单元方案求解电磁回旋动力学方程,考虑了多物种效应和剪切alfv物理。已经实施了混合变量/回拉方案,以便进行电磁研究。该代码使用粒子分解和计算节点间的域克隆进行并行化,取代了传统的域分解技术。在微观和宏观不稳定性的研究中,包括能量粒子驱动的alfv本征模式、离子温度梯度模式和动力学气球模式。在ASDEX升级平衡(AUG)、托卡马克配置变量平衡(TCV)和联合欧洲环面平衡(JET)等特殊平衡和实验重建平衡中都取得了良好的性能。未来使用TRIMEG-C1代码中三角网格的高阶C1有限元方法进行边缘物理的研究将建立在相同的数值方法之上。
{"title":"TRIMEG-GKX: An electromagnetic gyrokinetic particle code with a piecewise field-aligned finite element method for micro- and macro-instability studies in tokamak core plasmas","authors":"Zhixin Lu,&nbsp;Guo Meng,&nbsp;Roman Hatzky,&nbsp;Philipp Lauber,&nbsp;Matthias Hoelzl","doi":"10.1016/j.cpc.2025.109959","DOIUrl":"10.1016/j.cpc.2025.109959","url":null,"abstract":"<div><div>The features of the TRIMEG-GKX code are described with emphasis on the exploration using novel/different schemes compared to other gyrokinetic codes, particularly the use of object-oriented programming, filter/buffer-free treatment, and a high-order piecewise field-aligned finite element method. The TRIMEG-GKX code solves the electromagnetic gyrokinetic equation using the particle-in-cell scheme, taking into account multi-species effects and shear Alfvén physics. The mixed-variable/pullback scheme has been implemented to enable electromagnetic studies. This code is parallelized using particle decomposition and domain cloning among computing nodes, replacing traditional domain decomposition techniques. The applications to study the micro- and macro-instabilities are demonstrated, including the energetic-particle-driven Alfvén eigenmode, ion temperature gradient mode, and kinetic ballooning mode. Good performance is achieved in both ad hoc and experimentally reconstructed equilibria, such as those of the ASDEX Upgrade (AUG), Tokamak á configuration variable (TCV), and the Joint European Torus (JET). Future studies of edge physics using the high-order <em>C</em><sup>1</sup> finite element method for triangular meshes in the TRIMEG-C1 code will be built upon the same numerical methods.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"320 ","pages":"Article 109959"},"PeriodicalIF":3.4,"publicationDate":"2026-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"145681673","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
HFBTHO-AD: Differentiation of a nuclear energy density functional code hfbho - ad:核能密度功能代码的分化
IF 3.4 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2026-03-01 Epub Date: 2025-11-19 DOI: 10.1016/j.cpc.2025.109955
Laurent Hascoët , Matt Menickelly , Sri Hari Krishna Narayanan , Jared O’Neal , Nicolas Schunck , Stefan M. Wild
The HFBTHO code implements a nuclear energy density functional solver to model the structure of atomic nuclei. HFBTHO has previously been used to calibrate energy functionals and perform sensitivity analysis by using derivative-free methods. To enable derivative-based optimization and uncertainty quantification approaches, we must compute the derivatives of HFBTHO outputs with respect to the parameters of the energy functional, which are a subset of all input parameters of the code. We use the algorithmic/automatic differentiation (AD) tool Tapenade to differentiate HFBTHO. We compare the derivatives obtained using AD against finite-difference approximation and examine the performance of the derivative computation.
HFBTHO代码实现了一个核能密度泛函求解器来模拟原子核的结构。HFBTHO先前已被用于校准能量泛函并使用无导数方法进行灵敏度分析。为了实现基于导数的优化和不确定性量化方法,我们必须计算HFBTHO输出相对于能量泛函参数的导数,能量泛函是代码所有输入参数的子集。我们使用算法/自动区分(AD)工具Tapenade来区分HFBTHO。我们比较了用AD和有限差分逼近得到的导数,并检验了导数计算的性能。
{"title":"HFBTHO-AD: Differentiation of a nuclear energy density functional code","authors":"Laurent Hascoët ,&nbsp;Matt Menickelly ,&nbsp;Sri Hari Krishna Narayanan ,&nbsp;Jared O’Neal ,&nbsp;Nicolas Schunck ,&nbsp;Stefan M. Wild","doi":"10.1016/j.cpc.2025.109955","DOIUrl":"10.1016/j.cpc.2025.109955","url":null,"abstract":"<div><div>The HFBTHO code implements a nuclear energy density functional solver to model the structure of atomic nuclei. HFBTHO has previously been used to calibrate energy functionals and perform sensitivity analysis by using derivative-free methods. To enable derivative-based optimization and uncertainty quantification approaches, we must compute the derivatives of HFBTHO outputs with respect to the parameters of the energy functional, which are a subset of all input parameters of the code. We use the algorithmic/automatic differentiation (AD) tool Tapenade to differentiate HFBTHO. We compare the derivatives obtained using AD against finite-difference approximation and examine the performance of the derivative computation.</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"320 ","pages":"Article 109955"},"PeriodicalIF":3.4,"publicationDate":"2026-03-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"145681674","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
期刊
Computer Physics Communications
全部 Acc. Chem. Res. ACS Applied Bio Materials ACS Appl. Electron. Mater. ACS Appl. Energy Mater. ACS Appl. Mater. Interfaces ACS Appl. Nano Mater. ACS Appl. Polym. Mater. ACS BIOMATER-SCI ENG ACS Catal. ACS Cent. Sci. ACS Chem. Biol. ACS Chemical Health & Safety ACS Chem. Neurosci. ACS Comb. Sci. ACS Earth Space Chem. ACS Energy Lett. ACS Infect. Dis. ACS Macro Lett. ACS Mater. Lett. ACS Med. Chem. Lett. ACS Nano ACS Omega ACS Photonics ACS Sens. ACS Sustainable Chem. Eng. ACS Synth. Biol. Anal. Chem. BIOCHEMISTRY-US Bioconjugate Chem. BIOMACROMOLECULES Chem. Res. Toxicol. Chem. Rev. Chem. Mater. CRYST GROWTH DES ENERG FUEL Environ. Sci. Technol. Environ. Sci. Technol. Lett. Eur. J. Inorg. Chem. IND ENG CHEM RES Inorg. Chem. J. Agric. Food. Chem. J. Chem. Eng. Data J. Chem. Educ. J. Chem. Inf. Model. J. Chem. Theory Comput. J. Med. Chem. J. Nat. Prod. J PROTEOME RES J. Am. Chem. Soc. LANGMUIR MACROMOLECULES Mol. Pharmaceutics Nano Lett. Org. Lett. ORG PROCESS RES DEV ORGANOMETALLICS J. Org. Chem. J. Phys. Chem. J. Phys. Chem. A J. Phys. Chem. B J. Phys. Chem. C J. Phys. Chem. Lett. Analyst Anal. Methods Biomater. Sci. Catal. Sci. Technol. Chem. Commun. Chem. Soc. Rev. CHEM EDUC RES PRACT CRYSTENGCOMM Dalton Trans. Energy Environ. Sci. ENVIRON SCI-NANO ENVIRON SCI-PROC IMP ENVIRON SCI-WAT RES Faraday Discuss. Food Funct. Green Chem. Inorg. Chem. Front. Integr. Biol. J. Anal. At. Spectrom. J. Mater. Chem. A J. Mater. Chem. B J. Mater. Chem. C Lab Chip Mater. Chem. Front. Mater. Horiz. MEDCHEMCOMM Metallomics Mol. Biosyst. Mol. Syst. Des. Eng. Nanoscale Nanoscale Horiz. Nat. Prod. Rep. New J. Chem. Org. Biomol. Chem. Org. Chem. Front. PHOTOCH PHOTOBIO SCI PCCP Polym. Chem.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1