Parallel finite-element codes for the Bogoliubov-de Gennes stability analysis of Bose-Einstein condensates

IF 7.2 2区 物理与天体物理 Q1 COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS Computer Physics Communications Pub Date : 2024-09-13 DOI:10.1016/j.cpc.2024.109378
Georges Sadaka , Pierre Jolivet , Efstathios G. Charalampidis , Ionut Danaila
{"title":"Parallel finite-element codes for the Bogoliubov-de Gennes stability analysis of Bose-Einstein condensates","authors":"Georges Sadaka ,&nbsp;Pierre Jolivet ,&nbsp;Efstathios G. Charalampidis ,&nbsp;Ionut Danaila","doi":"10.1016/j.cpc.2024.109378","DOIUrl":null,"url":null,"abstract":"<div><p>We present and distribute a parallel finite-element toolbox written in the free software <span>FreeFEM</span> for computing the Bogoliubov-de Gennes (BdG) spectrum of stationary solutions to one- and two-component Gross-Pitaevskii (GP) equations, in two or three spatial dimensions. The parallelization of the toolbox relies exclusively upon the recent interfacing of <span>FreeFEM</span> with the <span>PETSc</span> library. The latter contains itself a wide palette of state-of-the-art linear algebra libraries, graph partitioners, mesh generation and domain decomposition tools, as well as a suite of eigenvalue solvers that are embodied in the <span>SLEPc</span> library. Within the present toolbox, stationary states of the GP equations are computed by a Newton method. Branches of solutions are constructed using an adaptive step-size continuation algorithm. The combination of mesh adaptivity tools from <span>FreeFEM</span> with the parallelization features from <span>PETSc</span> makes the toolbox efficient and reliable for the computation of stationary states. Their BdG spectrum is computed using the <span>SLEPc</span> eigenvalue solver. We perform extensive tests and validate our programs by comparing the toolbox's results with known theoretical and numerical findings that have been reported in the literature.</p></div><div><h3>Program summary</h3><p><em>Program Title:</em> FFEM_BdG_ddm_toolbox.zip</p><p><em>CPC Library link to program files:</em> <span><span>https://doi.org/10.17632/w9hg964wpb.1</span><svg><path></path></svg></span></p><p><em>Licensing provisions:</em> GPLv3</p><p><em>Programming language:</em> <span>FreeFEM</span> (v 4.12) free software (<span><span>www.freefem.org</span><svg><path></path></svg></span>)</p><p><em>Nature of problem:</em> Among the plethora of configurations that may exist in Gross-Pitaevskii (GP) equations modeling one or two-component Bose-Einstein condensates, only the ones that are deemed spectrally stable (or even, in some cases, weakly unstable) have high probability to be observed in realistic ultracold atoms experiments. To investigate the spectral stability of solutions requires the numerical study of the linearization of GP equations, the latter commonly known as the Bogoliubov-de Gennes (BdG) spectral problem. The present software offers an efficient and reliable tool for the computation of eigenvalues (or modes) of the BdG problem for a given two- or three-dimensional GP configuration. Then, the spectral stability (or instability) can be inferred from its spectrum, thus predicting (or not) its observability in experiments.</p><p><em>Solution method:</em> The present toolbox in <span>FreeFEM</span> consists of the following steps. At first, the GP equations in two (2D) and three (3D) spatial dimensions are discretized by using P2 (piece-wise quadratic) Galerkin triangular (in 2D) or tetrahedral (in 3D) finite elements. For a given configuration of interest, mesh adaptivity in <span>FreeFEM</span> is deployed in order to reduce the size of the problem, thus reducing the toolbox's execution time. Then, stationary states of the GP equations are obtained by a Newton method whose backbone involves the use of a reliable and efficient linear solver judiciously selected from the <span>PETSc</span><span><span><sup>1</sup></span></span> library. Upon identifying stationary configurations, to trace branches of such solutions a parameter continuation method over the chemical potential in the GP equations (effectively controlling the number of atoms in a BEC) is employed with step-size adaptivity of the continuation parameter. Finally, the computation of the stability of branches of solutions (<em>i.e.</em> the BdG spectrum), is carried out by accurately solving, at each point in the parameter space, the underlying eigenvalue problem by using the <span>SLEPc</span><span><span><sup>2</sup></span></span> library. Three-dimensional computations are made affordable in the present toolbox by using the domain decomposition method (DDM). In the course of the computation, the toolbox stores not only the solutions but also the eigenvalues and respective eigenvectors emanating from the solution to the BdG problem. We offer examples for computing stationary configurations and their BdG spectrum in one- and two-component GP equations.</p><p><em>Running time:</em> From minutes to hours depending on the mesh resolution and space dimension.</p></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"306 ","pages":"Article 109378"},"PeriodicalIF":7.2000,"publicationDate":"2024-09-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Physics Communications","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0010465524003011","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
引用次数: 0

Abstract

We present and distribute a parallel finite-element toolbox written in the free software FreeFEM for computing the Bogoliubov-de Gennes (BdG) spectrum of stationary solutions to one- and two-component Gross-Pitaevskii (GP) equations, in two or three spatial dimensions. The parallelization of the toolbox relies exclusively upon the recent interfacing of FreeFEM with the PETSc library. The latter contains itself a wide palette of state-of-the-art linear algebra libraries, graph partitioners, mesh generation and domain decomposition tools, as well as a suite of eigenvalue solvers that are embodied in the SLEPc library. Within the present toolbox, stationary states of the GP equations are computed by a Newton method. Branches of solutions are constructed using an adaptive step-size continuation algorithm. The combination of mesh adaptivity tools from FreeFEM with the parallelization features from PETSc makes the toolbox efficient and reliable for the computation of stationary states. Their BdG spectrum is computed using the SLEPc eigenvalue solver. We perform extensive tests and validate our programs by comparing the toolbox's results with known theoretical and numerical findings that have been reported in the literature.

Program summary

Program Title: FFEM_BdG_ddm_toolbox.zip

CPC Library link to program files: https://doi.org/10.17632/w9hg964wpb.1

Licensing provisions: GPLv3

Programming language: FreeFEM (v 4.12) free software (www.freefem.org)

Nature of problem: Among the plethora of configurations that may exist in Gross-Pitaevskii (GP) equations modeling one or two-component Bose-Einstein condensates, only the ones that are deemed spectrally stable (or even, in some cases, weakly unstable) have high probability to be observed in realistic ultracold atoms experiments. To investigate the spectral stability of solutions requires the numerical study of the linearization of GP equations, the latter commonly known as the Bogoliubov-de Gennes (BdG) spectral problem. The present software offers an efficient and reliable tool for the computation of eigenvalues (or modes) of the BdG problem for a given two- or three-dimensional GP configuration. Then, the spectral stability (or instability) can be inferred from its spectrum, thus predicting (or not) its observability in experiments.

Solution method: The present toolbox in FreeFEM consists of the following steps. At first, the GP equations in two (2D) and three (3D) spatial dimensions are discretized by using P2 (piece-wise quadratic) Galerkin triangular (in 2D) or tetrahedral (in 3D) finite elements. For a given configuration of interest, mesh adaptivity in FreeFEM is deployed in order to reduce the size of the problem, thus reducing the toolbox's execution time. Then, stationary states of the GP equations are obtained by a Newton method whose backbone involves the use of a reliable and efficient linear solver judiciously selected from the PETSc1 library. Upon identifying stationary configurations, to trace branches of such solutions a parameter continuation method over the chemical potential in the GP equations (effectively controlling the number of atoms in a BEC) is employed with step-size adaptivity of the continuation parameter. Finally, the computation of the stability of branches of solutions (i.e. the BdG spectrum), is carried out by accurately solving, at each point in the parameter space, the underlying eigenvalue problem by using the SLEPc2 library. Three-dimensional computations are made affordable in the present toolbox by using the domain decomposition method (DDM). In the course of the computation, the toolbox stores not only the solutions but also the eigenvalues and respective eigenvectors emanating from the solution to the BdG problem. We offer examples for computing stationary configurations and their BdG spectrum in one- and two-component GP equations.

Running time: From minutes to hours depending on the mesh resolution and space dimension.

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
用于玻色-爱因斯坦凝聚体的波哥留布夫-德-热涅斯稳定性分析的并行有限元代码
我们介绍并发布了一个用免费软件 FreeFEM 编写的并行有限元工具箱,用于计算二维或三维空间中单分量和双分量格罗斯-皮塔耶夫斯基(GP)方程静态解的波哥留布夫-德-吉尼斯(BdG)谱。工具箱的并行化完全依赖于 FreeFEM 与 PETSc 库的最新接口。PETSc 库本身包含大量最先进的线性代数库、图形分割器、网格生成和域分解工具,以及 SLEPc 库中的一套特征值求解器。在本工具箱中,GP 方程的静止状态是通过牛顿法计算得出的。使用自适应步长延续算法构建求解分支。FreeFEM 的网格自适应工具与 PETSc 的并行化功能相结合,使得该工具箱在计算静止状态时高效可靠。它们的 BdG 频谱是使用 SLEPc 特征值求解器计算的。我们通过比较工具箱的结果与文献中报道的已知理论和数值结果,对程序进行了广泛的测试和验证:FFEM_BdG_ddm_toolbox.zipCPC 库链接到程序文件:https://doi.org/10.17632/w9hg964wpb.1Licensing 规定:GPLv3编程语言:FreeFEM (v 4.12) 免费软件 (www.freefem.org)问题性质:在模拟单组分或双组分玻色-爱因斯坦凝聚体的格罗斯-皮塔耶夫斯基(Gross-Pitaevskii,GP)方程中可能存在的大量构型中,只有那些被认为具有光谱稳定性(甚至在某些情况下具有弱不稳定性)的构型才极有可能在现实的超冷原子实验中被观测到。要研究解的光谱稳定性,需要对 GP 方程的线性化进行数值研究,后者通常被称为波哥留布夫-德-吉恩(Bogoliubov-de Gennes,BdG)光谱问题。本软件为计算给定二维或三维 GP 配置的 BdG 问题特征值(或模式)提供了高效可靠的工具。然后,可以根据其频谱推断其频谱稳定性(或不稳定性),从而预测(或不预测)其在实验中的可观测性:FreeFEM 中的本工具箱包括以下步骤。首先,使用 P2(片断二次方)Galerkin 三角形(二维)或四面体(三维)有限元对二维(2D)和三维(3D)空间的 GP 方程进行离散化。对于给定的相关配置,FreeFEM 中的网格自适应功能可缩小问题的规模,从而减少工具箱的执行时间。然后,通过牛顿方法获得 GP 方程的静态,该方法的主干是从 PETSc1 库中精挑细选的可靠、高效的线性求解器。在确定静态配置后,采用参数延续法对 GP 方程中的化学势(有效控制 BEC 中的原子数)进行延续,并对延续参数进行步长调整,以追踪此类解的分支。最后,通过使用 SLEPc2 库精确求解参数空间中每一点的基本特征值问题,计算解分支的稳定性(即 BdG 频谱)。本工具箱采用域分解法(DDM)进行三维计算。在计算过程中,工具箱不仅存储解,还存储从 BdG 问题解中产生的特征值和各自的特征向量。我们提供了在单分量和双分量 GP 方程中计算静态配置及其 BdG 频谱的示例:运行时间:几分钟到几小时不等,取决于网格分辨率和空间维度。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Computer Physics Communications
Computer Physics Communications 物理-计算机:跨学科应用
CiteScore
12.10
自引率
3.20%
发文量
287
审稿时长
5.3 months
期刊介绍: The focus of CPC is on contemporary computational methods and techniques and their implementation, the effectiveness of which will normally be evidenced by the author(s) within the context of a substantive problem in physics. Within this setting CPC publishes two types of paper. Computer Programs in Physics (CPiP) These papers describe significant computer programs to be archived in the CPC Program Library which is held in the Mendeley Data repository. The submitted software must be covered by an approved open source licence. Papers and associated computer programs that address a problem of contemporary interest in physics that cannot be solved by current software are particularly encouraged. Computational Physics Papers (CP) These are research papers in, but are not limited to, the following themes across computational physics and related disciplines. mathematical and numerical methods and algorithms; computational models including those associated with the design, control and analysis of experiments; and algebraic computation. Each will normally include software implementation and performance details. The software implementation should, ideally, be available via GitHub, Zenodo or an institutional repository.In addition, research papers on the impact of advanced computer architecture and special purpose computers on computing in the physical sciences and software topics related to, and of importance in, the physical sciences may be considered.
期刊最新文献
An improved version of PyWolf with multithread-based parallelism support A new way to use nonlocal symmetries to determine first integrals of second-order nonlinear ordinary differential equations An algorithm for the incorporation of relevant FVM boundary conditions in the Eulerian SPH framework On-the-fly clustering for exascale molecular dynamics simulations Implementation of magnetic compressional effects at arbitrary wavelength in the global version of GENE
×
引用
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