首页 > 最新文献

Computer Physics Communications最新文献

英文 中文
FeynCalc 10: Do multiloop integrals dream of computer codes? FeynCalc 10:多环积分是否梦想着计算机代码?
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-08-29 DOI: 10.1016/j.cpc.2024.109357
Vladyslav Shtabovenko , Rolf Mertig , Frederik Orellana

In this work we report on a new version of FeynCalc, a Mathematica package widely used in the particle physics community for manipulating quantum field theoretical expressions and calculating Feynman diagrams. Highlights of the new version include greatly improved capabilities for doing multiloop calculations, including topology identification and minimization, optimized tensor reduction, rewriting of scalar products in terms of inverse denominators, detection of equivalent or scaleless loop integrals, derivation of Symanzik polynomials, Feynman parametric as well as graph representation for master integrals and initial support for handling differential equations and iterated integrals. In addition to that, the new release also features completely rewritten routines for color algebra simplifications, inclusion of symmetry relations between arguments of Passarino–Veltman functions, tools for determining matching coefficients and quantifying the agreement between numerical results, improved export to

and first steps towards a better support of calculations involving light-cone vectors.

在这项工作中,我们报告了 FeynCalc 的新版本。FeynCalc 是粒子物理学界广泛使用的 Mathematica 软件包,用于处理量子场论表达式和计算费曼图。新版本的亮点包括大大改进了多回路计算的功能,包括拓扑识别和最小化、优化的张量还原、用逆分母重写标量乘积、等价或无标量回路积分的检测、Symanzik 多项式的推导、费曼参数以及主积分的图表示,以及处理微分方程和迭代积分的初始支持。除此之外,新版本还具有完全重写的色彩代数简化例程、包含 Passarino-Veltman 函数参数之间的对称关系、用于确定匹配系数和量化数值结果一致性的工具、改进的导出功能,以及为更好地支持涉及光锥矢量的计算而迈出的第一步。
{"title":"FeynCalc 10: Do multiloop integrals dream of computer codes?","authors":"Vladyslav Shtabovenko ,&nbsp;Rolf Mertig ,&nbsp;Frederik Orellana","doi":"10.1016/j.cpc.2024.109357","DOIUrl":"10.1016/j.cpc.2024.109357","url":null,"abstract":"<div><p>In this work we report on a new version of <span>FeynCalc</span>, a <span>Mathematica</span> package widely used in the particle physics community for manipulating quantum field theoretical expressions and calculating Feynman diagrams. Highlights of the new version include greatly improved capabilities for doing multiloop calculations, including topology identification and minimization, optimized tensor reduction, rewriting of scalar products in terms of inverse denominators, detection of equivalent or scaleless loop integrals, derivation of Symanzik polynomials, Feynman parametric as well as graph representation for master integrals and initial support for handling differential equations and iterated integrals. In addition to that, the new release also features completely rewritten routines for color algebra simplifications, inclusion of symmetry relations between arguments of Passarino–Veltman functions, tools for determining matching coefficients and quantifying the agreement between numerical results, improved export to <figure><img></figure> and first steps towards a better support of calculations involving light-cone vectors.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"306 ","pages":"Article 109357"},"PeriodicalIF":7.2,"publicationDate":"2024-08-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S0010465524002807/pdfft?md5=8047aa302e8233ef39f01de3a0e003f1&pid=1-s2.0-S0010465524002807-main.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"142094814","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Particle-based modeling and GPU-accelerated simulation of cellular blood flow 基于粒子的细胞血流建模和 GPU 加速模拟
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-08-28 DOI: 10.1016/j.cpc.2024.109350
Zehong Xia, Ziwei Zhu, Ting Ye, Ni Sun

Computational modeling and simulation of cellular blood flow is highly desired for understanding blood microcirculation and blood-related diseases such as thrombosis and tumor, but it remains a challenging task primarily because blood in microvessels should be described as a dense suspension of different types of deformable cells. The focus of the present work is on the development of a particle-based and GPU-accelerated numerical method that is able to quickly simulate the various behaviors of deformable cells in three-dimensional arbitrarily complex geometries. We employ a two-fluid model to describe blood flow, incorporating the deformation and aggregation of cells. A smoothed dissipative particle dynamics is used to solve the two-fluid model, and a discrete microstructure model is applied for the cell deformation, as well as a Morse potential model for the cell aggregation. The heterogeneous CPU-GPU environment is established, where each GPU thread is dedicated to a particle, and the CPU is mainly responsible for loading and exporting data. Five test cases are conducted against analytical theory, experimental data, and previous numerical results, for pure fluid, cell deformation, cell aggregation, cell suspension and the cellular flow in a complex network, respectively. It is shown that the methodology can accurately predict various behaviors of cells, and the GPU is well suited for particle-based modeling. Especially for cellular blood flow, where calculating cellular forces is a compute-intensive and time-consuming task, the GPU offers exceptional parallel capabilities, significantly enhancing the simulation efficiency. The speedup is about 3.5 times faster than the CPU parallelization with 96 cores for the pure fluid, and this acceleration nearly reaches 20 times when cells are included in the simulations. Particularly, the calculations for deformation and aggregation forces demonstrate a substantial speedup, achieving the improvements of up to 120 and 640 times, respectively, compared to their serial counterparts. The present methodology can effectively integrate various behaviors of cells, and has the potential in simulating very large microvascular networks at organ levels.

细胞血流的计算建模和仿真对于理解血液微循环和血液相关疾病(如血栓和肿瘤)来说非常必要,但这仍然是一项具有挑战性的任务,主要是因为微血管中的血液应被描述为不同类型可变形细胞的致密悬浮液。本研究的重点是开发一种基于粒子和 GPU 加速的数值方法,该方法能够快速模拟三维任意复杂几何形状中可变形细胞的各种行为。我们采用双流体模型来描述血流,其中包含细胞的变形和聚集。平滑耗散粒子动力学用于求解双流体模型,离散微结构模型用于细胞变形,莫尔斯势能模型用于细胞聚集。建立了异构 CPU-GPU 环境,其中每个 GPU 线程专用于一个粒子,CPU 主要负责加载和导出数据。针对纯流体、细胞变形、细胞聚集、细胞悬浮和复杂网络中的细胞流,分别用分析理论、实验数据和以前的数值结果进行了五个测试案例。结果表明,该方法可以准确预测细胞的各种行为,而且 GPU 非常适合基于粒子的建模。特别是对于细胞血流,计算细胞力是一项计算密集且耗时的任务,GPU 提供了卓越的并行能力,显著提高了模拟效率。对于纯流体,其速度比使用 96 个内核的 CPU 并行化快约 3.5 倍,当模拟中包含细胞时,这种加速度几乎达到 20 倍。特别是变形力和聚集力的计算速度大幅提高,与串行计算相比,分别提高了 120 倍和 640 倍。本方法能有效整合细胞的各种行为,在模拟器官层面的超大型微血管网络方面具有潜力。
{"title":"Particle-based modeling and GPU-accelerated simulation of cellular blood flow","authors":"Zehong Xia,&nbsp;Ziwei Zhu,&nbsp;Ting Ye,&nbsp;Ni Sun","doi":"10.1016/j.cpc.2024.109350","DOIUrl":"10.1016/j.cpc.2024.109350","url":null,"abstract":"<div><p>Computational modeling and simulation of cellular blood flow is highly desired for understanding blood microcirculation and blood-related diseases such as thrombosis and tumor, but it remains a challenging task primarily because blood in microvessels should be described as a dense suspension of different types of deformable cells. The focus of the present work is on the development of a particle-based and GPU-accelerated numerical method that is able to quickly simulate the various behaviors of deformable cells in three-dimensional arbitrarily complex geometries. We employ a two-fluid model to describe blood flow, incorporating the deformation and aggregation of cells. A smoothed dissipative particle dynamics is used to solve the two-fluid model, and a discrete microstructure model is applied for the cell deformation, as well as a Morse potential model for the cell aggregation. The heterogeneous CPU-GPU environment is established, where each GPU thread is dedicated to a particle, and the CPU is mainly responsible for loading and exporting data. Five test cases are conducted against analytical theory, experimental data, and previous numerical results, for pure fluid, cell deformation, cell aggregation, cell suspension and the cellular flow in a complex network, respectively. It is shown that the methodology can accurately predict various behaviors of cells, and the GPU is well suited for particle-based modeling. Especially for cellular blood flow, where calculating cellular forces is a compute-intensive and time-consuming task, the GPU offers exceptional parallel capabilities, significantly enhancing the simulation efficiency. The speedup is about 3.5 times faster than the CPU parallelization with 96 cores for the pure fluid, and this acceleration nearly reaches 20 times when cells are included in the simulations. Particularly, the calculations for deformation and aggregation forces demonstrate a substantial speedup, achieving the improvements of up to 120 and 640 times, respectively, compared to their serial counterparts. The present methodology can effectively integrate various behaviors of cells, and has the potential in simulating very large microvascular networks at organ levels.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"306 ","pages":"Article 109350"},"PeriodicalIF":7.2,"publicationDate":"2024-08-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"142094813","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
RCWA4D: Electromagnetic solver for layered structures with incommensurate periodicities RCWA4D:具有不可通约周期性的层状结构电磁求解器
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-08-28 DOI: 10.1016/j.cpc.2024.109356
Beicheng Lou , Shanhui Fan

We describe RCWA4D, an electromagnetic solver for layered structures with incommensurate periodicities. Our method is based on an extension of the rigorous coupled wave analysis. We illustrate our method on the example of twisted bilayer photonic crystal and show that various properties of such structures can be reliably simulated. The method can be generalized to multi-layer structures in general in which each layer is periodic or quasi-periodic.

我们介绍了 RCWA4D,这是一种用于具有不可比周期性的层状结构的电磁求解器。我们的方法基于严格耦合波分析的扩展。我们以扭曲双层光子晶体为例说明了我们的方法,并表明可以可靠地模拟这种结构的各种特性。该方法可以推广到一般的多层结构,其中每一层都是周期性或准周期性的。
{"title":"RCWA4D: Electromagnetic solver for layered structures with incommensurate periodicities","authors":"Beicheng Lou ,&nbsp;Shanhui Fan","doi":"10.1016/j.cpc.2024.109356","DOIUrl":"10.1016/j.cpc.2024.109356","url":null,"abstract":"<div><p>We describe RCWA4D, an electromagnetic solver for layered structures with incommensurate periodicities. Our method is based on an extension of the rigorous coupled wave analysis. We illustrate our method on the example of twisted bilayer photonic crystal and show that various properties of such structures can be reliably simulated. The method can be generalized to multi-layer structures in general in which each layer is periodic or quasi-periodic.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"306 ","pages":"Article 109356"},"PeriodicalIF":7.2,"publicationDate":"2024-08-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"142136169","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
TNSP: A framework supporting symmetry and fermion tensors for tensor network state methods TNSP:为张量网络状态方法提供对称性和费米子张量支持的框架
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-08-23 DOI: 10.1016/j.cpc.2024.109355
Hao Zhang , Shaojun Dong , Chao Wang , Meng Zhang , Lixin He

Recent advancements have established tensor network states (TNS) as formidable tools for exploring the complex realm of strongly-correlated many-particle systems in both one and two dimensions. To tackle the challenges presented by strongly-correlated fermion systems, various fermion tensor network states (f-TNS) methodologies have been developed. However, implementing f-TNS methods poses substantial challenges due to their particularly complex nature, making development efforts significantly difficult. This complexity is further exacerbated by the lack of underlying software packages that facilitate the development of f-TNS. Previously, we developed TNSPackage, a software package designed for TNS methods [1]. Initially, this package was only capable of handling spin and boson models. To confront the challenges presented by f-TNS, TNSPackage has undergone significant enhancements in its latest version, incorporating support for both symmetry and fermion tensors. This updated version provides a uniform interface for the consistent management of tensors across boson, fermion, and various symmetry types, maintaining its user-friendly and versatile nature. This greatly facilitates the development of programs based on f-TNS. The new TNSP framework consists of two principal components: a low-level tensor package named TAT, which supports sophisticated tensor operations, and a high-level interface package called tetragono that is built upon TAT. The tetragono package is designed to significantly simplify the development of complex physical models on square lattices. The TNSPackage framework enables users to implement a wide range of physical models with greater ease, without the need to pay close attention to the underlying implementation details.

张量网络态(TNS)是探索一维和二维强相关多粒子系统复杂领域的有力工具。为了应对强相关费米子系统带来的挑战,人们开发了各种费米子张量网络态(f-TNS)方法。然而,由于费米子张量网络态的性质特别复杂,实施费米子张量网络态方法面临着巨大的挑战,给开发工作带来了极大的困难。由于缺乏促进 f-TNS 开发的基础软件包,这种复杂性进一步加剧。在此之前,我们开发了 TNSPackage,一个专为 TNS 方法设计的软件包[1]。最初,这个软件包只能处理自旋和玻色子模型。为了应对 f-TNS 带来的挑战,TNSPackage 在其最新版本中进行了重大改进,加入了对对称和费米子张量的支持。更新后的版本提供了统一的界面,可对玻色子、费米子和各种对称类型的张量进行一致的管理,保持了其用户友好性和通用性。这大大方便了基于 f-TNS 的程序开发。新的 TNSP 框架由两个主要部分组成:一个名为 TAT 的低级张量软件包(支持复杂的张量运算)和一个基于 TAT 的高级接口软件包(tetragono)。tetragono 软件包旨在大大简化方阵上复杂物理模型的开发。TNSPackage 框架使用户能够更轻松地实现各种物理模型,而无需密切关注底层实现细节。
{"title":"TNSP: A framework supporting symmetry and fermion tensors for tensor network state methods","authors":"Hao Zhang ,&nbsp;Shaojun Dong ,&nbsp;Chao Wang ,&nbsp;Meng Zhang ,&nbsp;Lixin He","doi":"10.1016/j.cpc.2024.109355","DOIUrl":"10.1016/j.cpc.2024.109355","url":null,"abstract":"<div><p>Recent advancements have established tensor network states (TNS) as formidable tools for exploring the complex realm of strongly-correlated many-particle systems in both one and two dimensions. To tackle the challenges presented by strongly-correlated fermion systems, various fermion tensor network states (f-TNS) methodologies have been developed. However, implementing f-TNS methods poses substantial challenges due to their particularly complex nature, making development efforts significantly difficult. This complexity is further exacerbated by the lack of underlying software packages that facilitate the development of f-TNS. Previously, we developed <span>TNSPackage</span>, a software package designed for TNS methods <span><span>[1]</span></span>. Initially, this package was only capable of handling spin and boson models. To confront the challenges presented by f-TNS, <span>TNSPackage</span> has undergone significant enhancements in its latest version, incorporating support for both symmetry and fermion tensors. This updated version provides a uniform interface for the consistent management of tensors across boson, fermion, and various symmetry types, maintaining its user-friendly and versatile nature. This greatly facilitates the development of programs based on f-TNS. The new <span>TNSP</span> framework consists of two principal components: a low-level tensor package named <span>TAT</span>, which supports sophisticated tensor operations, and a high-level interface package called <span>tetragono</span> that is built upon <span>TAT</span>. The <span>tetragono</span> package is designed to significantly simplify the development of complex physical models on square lattices. The <span>TNSPackage</span> framework enables users to implement a wide range of physical models with greater ease, without the need to pay close attention to the underlying implementation details.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"305 ","pages":"Article 109355"},"PeriodicalIF":7.2,"publicationDate":"2024-08-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"142083139","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
Parallel and bias-free RSA algorithm for maximal Poisson-sphere sampling 最大泊松球采样的并行和无偏差 RSA 算法
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-08-23 DOI: 10.1016/j.cpc.2024.109354
Marc Josien, Raphaël Prat

In this paper we propose and benchmark an innovative implementation of the Random Sequential Addition (or adsorption) (Rsa) algorithm. It provides Mpi parallelization and is designed to generate a high number of spheres aiming for maximal compactness, without introducing any bias. Although parallelization of such an algorithm has been successfully undertaken with shared memory (and in particular with Gpu), this is seemingly the first available implementation with distributed memory (Mpi). Our implementation successfully generated more than 12 billions of spheres over 131,072 Mpi processes in 16 seconds in dimension d=3.

在本文中,我们提出了随机顺序加法(或吸附)(Rsa)算法的创新实现,并对其进行了基准测试。该算法提供 Mpi 并行化,旨在生成大量球体,追求最大紧凑性,同时不引入任何偏差。虽然共享内存(特别是 Gpu)已经成功实现了这种算法的并行化,但这似乎是首个使用分布式内存(Mpi)实现的算法。在维度 d=3 的情况下,我们的实现在 16 秒内通过 131,072 个 Mpi 进程成功生成了超过 120 亿个球体。
{"title":"Parallel and bias-free RSA algorithm for maximal Poisson-sphere sampling","authors":"Marc Josien,&nbsp;Raphaël Prat","doi":"10.1016/j.cpc.2024.109354","DOIUrl":"10.1016/j.cpc.2024.109354","url":null,"abstract":"<div><p>In this paper we propose and benchmark an innovative implementation of the Random Sequential Addition (or adsorption) (<span>Rsa</span>) algorithm. It provides <span>Mpi</span> parallelization and is designed to generate a high number of spheres aiming for maximal compactness, without introducing any bias. Although parallelization of such an algorithm has been successfully undertaken with shared memory (and in particular with <span>Gpu</span>), this is seemingly the first available implementation with distributed memory (<span>Mpi</span>). Our implementation successfully generated more than 12 billions of spheres over 131,072 <span>Mpi</span> processes in 16 seconds in dimension <span><math><mi>d</mi><mo>=</mo><mn>3</mn></math></span>.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"305 ","pages":"Article 109354"},"PeriodicalIF":7.2,"publicationDate":"2024-08-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"142088754","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
Jupyter widgets and extensions for education and research in computational physics and chemistry 用于计算物理和化学教育与研究的 Jupyter 小工具和扩展工具
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-08-22 DOI: 10.1016/j.cpc.2024.109353
Dou Du , Taylor J. Baird , Kristjan Eimre , Sara Bonella , Giovanni Pizzi

Interactive notebooks are a precious tool for creating graphical user interfaces and teaching materials. Python and Jupyter are becoming increasingly popular in this context, with Jupyter widgets at the core of the interactive functionalities. However, while packages and libraries which offer a broad range of general-purpose widgets exist, there is limited development of specialized widgets for computational physics, chemistry and materials science. This deficiency implies significant time investments for the development of effective Jupyter notebooks for research and education in these domains. Here, we present custom Jupyter widgets that we have developed to target the needs of these communities. These widgets constitute high-quality interactive graphical components and can be employed, for example, to visualize and manipulate data, or to explore different visual representations of concepts, clarifying the relationships existing between them. In addition, we discuss with one example how similar functionality can be exposed in the form of JupyterLab extensions, modifying the JupyterLab interface for an enhanced user experience when working with applications within the targeted scientific domains.

交互式笔记本是创建图形用户界面和教学材料的重要工具。在这方面,Python 和 Jupyter 越来越受欢迎,而 Jupyter 小工具是交互功能的核心。然而,虽然有软件包和程序库提供广泛的通用小工具,但针对计算物理、化学和材料科学的专用小工具的开发却很有限。这一不足意味着需要投入大量时间,才能为这些领域的研究和教育开发出有效的 Jupyter 笔记本。在此,我们介绍针对这些领域的需求而开发的定制 Jupyter 小工具。这些小工具构成了高质量的交互式图形组件,可用于可视化和操作数据,或探索概念的不同可视化表现形式,阐明它们之间存在的关系。此外,我们还通过一个例子讨论了如何以 JupyterLab 扩展的形式提供类似功能,从而在使用目标科学领域的应用程序时修改 JupyterLab 界面以增强用户体验。
{"title":"Jupyter widgets and extensions for education and research in computational physics and chemistry","authors":"Dou Du ,&nbsp;Taylor J. Baird ,&nbsp;Kristjan Eimre ,&nbsp;Sara Bonella ,&nbsp;Giovanni Pizzi","doi":"10.1016/j.cpc.2024.109353","DOIUrl":"10.1016/j.cpc.2024.109353","url":null,"abstract":"<div><p>Interactive notebooks are a precious tool for creating graphical user interfaces and teaching materials. Python and Jupyter are becoming increasingly popular in this context, with Jupyter widgets at the core of the interactive functionalities. However, while packages and libraries which offer a broad range of general-purpose widgets exist, there is limited development of specialized widgets for computational physics, chemistry and materials science. This deficiency implies significant time investments for the development of effective Jupyter notebooks for research and education in these domains. Here, we present custom Jupyter widgets that we have developed to target the needs of these communities. These widgets constitute high-quality interactive graphical components and can be employed, for example, to visualize and manipulate data, or to explore different visual representations of concepts, clarifying the relationships existing between them. In addition, we discuss with one example how similar functionality can be exposed in the form of JupyterLab extensions, modifying the JupyterLab interface for an enhanced user experience when working with applications within the targeted scientific domains.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"305 ","pages":"Article 109353"},"PeriodicalIF":7.2,"publicationDate":"2024-08-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S0010465524002765/pdfft?md5=eeba4d91253b8bb749a818b2ceb7abe3&pid=1-s2.0-S0010465524002765-main.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"142098479","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
An efficient eigenvalue bounding method: CFL condition revisited 高效的特征值边界法:重温 CFL 条件
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-08-22 DOI: 10.1016/j.cpc.2024.109351
F.X. Trias , X. Álvarez-Farré , A. Alsalti-Baldellou , A. Gorobets , A. Oliva

Direct and large-eddy simulations of turbulence are often solved using explicit temporal schemes. However, this imposes very small time-steps because the eigenvalues of the (linearized) dynamical system, re-scaled by the time-step, must lie inside the stability region. In practice, fast and accurate estimations of the spectral radii of both the discrete convective and diffusive terms are therefore needed. This is virtually always done using the so-called CFL condition. On the other hand, the large heterogeneity and complexity of modern supercomputing systems are nowadays hindering the efficient cross-platform portability of CFD codes. In this regard, our leitmotiv reads: relying on a minimal set of (algebraic) kernels is crucial for code portability and maintenance! In this context, this work focuses on the computation of eigenbounds for the above-mentioned convective and diffusive matrices which are needed to determine the time-step à la CFL. To do so, a new inexpensive method, that does not require to re-construct these time-dependent matrices, is proposed and tested. It just relies on a sparse-matrix vector product where only vectors change on time. Hence, both implementation in existing codes and cross-platform portability are straightforward. The effectiveness and robustness of the method are demonstrated for different test cases on both structured Cartesian and unstructured meshes. Finally, the method is combined with a self-adaptive temporal scheme, leading to significantly larger time-steps compared with other more conventional CFL-based approaches.

湍流的直接模拟和大涡流模拟通常采用显式时间方案求解。然而,这需要非常小的时间步长,因为按时间步长重新缩放的(线性化)动力系统特征值必须位于稳定区域内。因此,在实践中需要快速准确地估计离散对流项和扩散项的谱半径。这几乎总是通过所谓的 CFL 条件来实现。另一方面,现代超级计算系统的巨大异质性和复杂性阻碍了 CFD 代码跨平台的高效移植。在这方面,我们的主旨是:依靠一组最小的(代数)内核对于代码的可移植性和维护至关重要!在此背景下,这项工作的重点是计算上述对流矩阵和扩散矩阵的特征边界,这是确定 CFL 时间步长所必需的。为此,我们提出并测试了一种无需重新构建这些随时间变化的矩阵的廉价新方法。它只依赖于稀疏矩阵矢量乘积,其中只有矢量随时间变化。因此,无论是在现有代码中实现还是跨平台移植都很简单。在结构化笛卡尔网格和非结构化网格的不同测试案例中,证明了该方法的有效性和鲁棒性。最后,该方法与自适应时间方案相结合,与其他更传统的基于 CFL 的方法相比,大大提高了时间步长。
{"title":"An efficient eigenvalue bounding method: CFL condition revisited","authors":"F.X. Trias ,&nbsp;X. Álvarez-Farré ,&nbsp;A. Alsalti-Baldellou ,&nbsp;A. Gorobets ,&nbsp;A. Oliva","doi":"10.1016/j.cpc.2024.109351","DOIUrl":"10.1016/j.cpc.2024.109351","url":null,"abstract":"<div><p>Direct and large-eddy simulations of turbulence are often solved using explicit temporal schemes. However, this imposes very small time-steps because the eigenvalues of the (linearized) dynamical system, re-scaled by the time-step, must lie inside the stability region. In practice, fast and accurate estimations of the spectral radii of both the discrete convective and diffusive terms are therefore needed. This is virtually always done using the so-called CFL condition. On the other hand, the large heterogeneity and complexity of modern supercomputing systems are nowadays hindering the efficient cross-platform portability of CFD codes. In this regard, our <em>leitmotiv</em> reads: <em>relying on a minimal set of (algebraic) kernels is crucial for code portability and maintenance!</em> In this context, this work focuses on the computation of eigenbounds for the above-mentioned convective and diffusive matrices which are needed to determine the time-step <em>à la</em> CFL. To do so, a new inexpensive method, that does not require to re-construct these time-dependent matrices, is proposed and tested. It just relies on a sparse-matrix vector product where only vectors change on time. Hence, both implementation in existing codes and cross-platform portability are straightforward. The effectiveness and robustness of the method are demonstrated for different test cases on both structured Cartesian and unstructured meshes. Finally, the method is combined with a self-adaptive temporal scheme, leading to significantly larger time-steps compared with other more conventional CFL-based approaches.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"305 ","pages":"Article 109351"},"PeriodicalIF":7.2,"publicationDate":"2024-08-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S0010465524002741/pdfft?md5=d575278901cf7df2ab7422a24272b156&pid=1-s2.0-S0010465524002741-main.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"142083136","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Exploring hidden signal: Fine-tuning ResNet-50 for dark matter detection 探索隐藏信号:微调 ResNet-50 以探测暗物质
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-08-20 DOI: 10.1016/j.cpc.2024.109348
Ali Celik

In pursuit of detecting dark matter signals, the Large Hadron Collider (LHC) at CERN has conducted proton-proton collisions to probe for these elusive particles, whose existence has been supported by astronomical observations. Despite extensive efforts by the CMS and ATLAS experiments, the direct detection of dark matter signals remains elusive. The current approaches employed for analyzing dark matter signatures utilize the cut-and-count method based on conventional techniques. This study introduces an alternative method for exploring dark matter signatures by utilizing fine-tuning of pre-trained models, such as ResNet-50, on 2D histograms generated from a combination of signal + background samples and background-only samples. By utilizing various signal-to-background ratios as benchmarks, an accuracy of about 90% for a signal-to-background ratio of 0.008 is achieved. This approach not only offers a more refined search for dark matter signals but also presents an efficient and effective means of analysis using machine learning techniques.

为了探测暗物质信号,欧洲核子研究中心(CERN)的大型强子对撞机(LHC)进行了质子-质子对撞,以探测这些难以捉摸的粒子。尽管 CMS 和 ATLAS 实验做出了大量努力,但暗物质信号的直接探测仍然遥不可及。目前分析暗物质信号所采用的方法是基于传统技术的切割和计数法。本研究介绍了一种探索暗物质特征的替代方法,即利用预训练模型(如 ResNet-50)对信号+背景样本和纯背景样本组合生成的二维直方图进行微调。利用不同的信噪比作为基准,信噪比为 0.008 时的准确率约为 90%。这种方法不仅能更精细地搜索暗物质信号,还能利用机器学习技术提供高效和有效的分析手段。
{"title":"Exploring hidden signal: Fine-tuning ResNet-50 for dark matter detection","authors":"Ali Celik","doi":"10.1016/j.cpc.2024.109348","DOIUrl":"10.1016/j.cpc.2024.109348","url":null,"abstract":"<div><p>In pursuit of detecting dark matter signals, the Large Hadron Collider (LHC) at CERN has conducted proton-proton collisions to probe for these elusive particles, whose existence has been supported by astronomical observations. Despite extensive efforts by the CMS and ATLAS experiments, the direct detection of dark matter signals remains elusive. The current approaches employed for analyzing dark matter signatures utilize the cut-and-count method based on conventional techniques. This study introduces an alternative method for exploring dark matter signatures by utilizing fine-tuning of pre-trained models, such as ResNet-50, on 2D histograms generated from a combination of signal + background samples and background-only samples. By utilizing various signal-to-background ratios as benchmarks, an accuracy of about 90% for a signal-to-background ratio of 0.008 is achieved. This approach not only offers a more refined search for dark matter signals but also presents an efficient and effective means of analysis using machine learning techniques.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"305 ","pages":"Article 109348"},"PeriodicalIF":7.2,"publicationDate":"2024-08-20","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"142083137","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
libepa — A C++/Python library for calculations of cross sections of ultraperipheral collisions libepa - 用于计算超外围碰撞截面的 C++/Python 库
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-08-19 DOI: 10.1016/j.cpc.2024.109347
E.V. Zhemchugov , S.I. Godunov , E.K. Karkaryan , V.A. Novikov , A.N. Rozanov , M.I. Vysotsky

The library provides a set of C++/Python functions for computing cross sections of ultraperipheral collisions of high energy particles under the equivalent photons approximation. Cross sections are represented through multiple integrals over the phase space. The integrals are calculated through recurrent application of algorithms for one dimensional integration. The paper contains an introduction to the theory of ultraperipheral collisions, discusses the library approach and provides a few examples of calculations.

该库提供了一套 C++/Python 函数,用于在等效光子近似条件下计算高能粒子超外围碰撞的截面。截面通过相空间上的多重积分来表示。这些积分是通过重复应用一维积分算法计算得出的。论文介绍了超外围碰撞理论,讨论了库方法,并提供了几个计算实例。
{"title":"libepa — A C++/Python library for calculations of cross sections of ultraperipheral collisions","authors":"E.V. Zhemchugov ,&nbsp;S.I. Godunov ,&nbsp;E.K. Karkaryan ,&nbsp;V.A. Novikov ,&nbsp;A.N. Rozanov ,&nbsp;M.I. Vysotsky","doi":"10.1016/j.cpc.2024.109347","DOIUrl":"10.1016/j.cpc.2024.109347","url":null,"abstract":"<div><p>The library provides a set of C++/Python functions for computing cross sections of ultraperipheral collisions of high energy particles under the equivalent photons approximation. Cross sections are represented through multiple integrals over the phase space. The integrals are calculated through recurrent application of algorithms for one dimensional integration. The paper contains an introduction to the theory of ultraperipheral collisions, discusses the library approach and provides a few examples of calculations.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"305 ","pages":"Article 109347"},"PeriodicalIF":7.2,"publicationDate":"2024-08-19","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"142083138","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
PyArc: A python package for computing absorption and radiative coefficients from first principles PyArc:根据第一原理计算吸收和辐射系数的 python 软件包
IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Pub Date : 2024-08-18 DOI: 10.1016/j.cpc.2024.109352
Siyuan Xu , Zheng Liu , Xun Xu , Yuzheng Guo , Su-Huai Wei , Xie Zhang

Light absorption and radiative recombination are two critical processes in optoelectronic materials that characterize the energy conversion efficiency. The absorption and radiative coefficients are thus key properties for device optimization and design. Here, we develop a python package named pyArc that allows rigorous computation of absorption and radiative coefficients from first principles. By integrating several interpolation strategies to augment k-point sampling in reciprocal space, our code is accurate yet highly efficient. In addition to evaluation of the coefficients, our code is capable of intuitive analysis of carrier distribution, facilitating a deeper understanding of the microscopic mechanisms underlying the radiative coefficients. Utilizing GaAs as a prototypical example, we demonstrate how to employ our package to compute absorption and radiative coefficients and to investigate the key features in the electronic structure that give rise to these coefficients.

Program summary

Program Title: PyArc

CPC Library link to program files: https://doi.org/10.17632/5 × 9g9bvhcv.1

Licensing provisions: MIT license

Programming language: Python 3

Nature of problem: Light absorption and radiative recombination processes in semiconductors critically impact the energy conversion efficiency of optoelectronic devices. Developing a method to calculate coefficients of the two processes based on first-principles theory is essential, which not only can help to obtain the key properties of those semiconductor materials and guide the device design, but also can unveil the underlying microscopic mechanisms.

Solution method: PyArc, written in the Python language, implements first-principles methodologies for the computation of absorption and radiative coefficients of semiconductors based on Fermi's golden rule. This package takes the electronic eigenvalues and dipole matrix elements of a material computed from first-principles codes such as VASP as input. Dense k-point sampling for the Brillouin zone is achieved through efficient interpolation schemes implemented in our code to acquire well converged results. The functionality of cross-sectional visualization of carrier distribution in our code provides intuitive insights into the fundamental mechanism beneath the charge-carrier radiative recombination process.

光吸收和辐射重组是光电材料中的两个关键过程,是能量转换效率的特征。因此,吸收系数和辐射系数是器件优化和设计的关键属性。在这里,我们开发了一个名为 pyArc 的 python 软件包,它允许从第一原理出发严格计算吸收和辐射系数。通过整合几种插值策略来增强倒数空间中的 k 点采样,我们的代码既精确又高效。除了评估系数外,我们的代码还能对载流子分布进行直观分析,从而加深对辐射系数背后微观机制的理解。以砷化镓为例,我们演示了如何使用我们的软件包计算吸收和辐射系数,并研究产生这些系数的电子结构的关键特征:PyArcCPC 库链接到程序文件:https://doi.org/10.17632/5 × 9g9bvhcv.1许可条款:MIT 许可编程语言:Python 3问题的本质:半导体中的光吸收和辐射重组过程对光电设备的能量转换效率有着至关重要的影响。开发一种基于第一原理理论的方法来计算这两个过程的系数至关重要,这不仅有助于获得这些半导体材料的关键特性并指导器件设计,还能揭示其背后的微观机制:PyArc 由 Python 语言编写,实现了基于费米黄金法则计算半导体吸收和辐射系数的第一原理方法。该软件包将 VASP 等第一原理代码计算出的材料电子特征值和偶极矩阵元素作为输入。通过我们代码中实施的高效插值方案,实现了布里渊区的密集 k 点采样,从而获得收敛性良好的结果。我们的代码中载流子分布的横截面可视化功能为电荷载流子辐射重组过程的基本机制提供了直观的见解。
{"title":"PyArc: A python package for computing absorption and radiative coefficients from first principles","authors":"Siyuan Xu ,&nbsp;Zheng Liu ,&nbsp;Xun Xu ,&nbsp;Yuzheng Guo ,&nbsp;Su-Huai Wei ,&nbsp;Xie Zhang","doi":"10.1016/j.cpc.2024.109352","DOIUrl":"10.1016/j.cpc.2024.109352","url":null,"abstract":"<div><p>Light absorption and radiative recombination are two critical processes in optoelectronic materials that characterize the energy conversion efficiency. The absorption and radiative coefficients are thus key properties for device optimization and design. Here, we develop a python package named pyArc that allows rigorous computation of absorption and radiative coefficients from first principles. By integrating several interpolation strategies to augment <strong>k</strong>-point sampling in reciprocal space, our code is accurate yet highly efficient. In addition to evaluation of the coefficients, our code is capable of intuitive analysis of carrier distribution, facilitating a deeper understanding of the microscopic mechanisms underlying the radiative coefficients. Utilizing GaAs as a prototypical example, we demonstrate how to employ our package to compute absorption and radiative coefficients and to investigate the key features in the electronic structure that give rise to these coefficients.</p><p><strong>Program summary</strong></p><p>Program Title: PyArc</p><p>CPC Library link to program files: <span><span>https://doi.org/10.17632/5</span><svg><path></path></svg></span> × 9g9bvhcv.1</p><p>Licensing provisions: MIT license</p><p>Programming language: Python 3</p><p>Nature of problem: Light absorption and radiative recombination processes in semiconductors critically impact the energy conversion efficiency of optoelectronic devices. Developing a method to calculate coefficients of the two processes based on first-principles theory is essential, which not only can help to obtain the key properties of those semiconductor materials and guide the device design, but also can unveil the underlying microscopic mechanisms.</p><p>Solution method: PyArc, written in the Python language, implements first-principles methodologies for the computation of absorption and radiative coefficients of semiconductors based on Fermi's golden rule. This package takes the electronic eigenvalues and dipole matrix elements of a material computed from first-principles codes such as VASP as input. Dense <strong>k</strong>-point sampling for the Brillouin zone is achieved through efficient interpolation schemes implemented in our code to acquire well converged results. The functionality of cross-sectional visualization of carrier distribution in our code provides intuitive insights into the fundamental mechanism beneath the charge-carrier radiative recombination process.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"305 ","pages":"Article 109352"},"PeriodicalIF":7.2,"publicationDate":"2024-08-18","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"142047858","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学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1