-
High-order finite element method for atomic structure calculations
Authors:
Ondřej Čertík,
John E. Pask,
Isuru Fernando,
Rohit Goswami,
N. Sukumar,
Lee A. Collins,
Gianmarco Manzini,
Jiří Vackář
Abstract:
We introduce \texttt{featom}, an open source code that implements a high-order finite element solver for the radial Schrödinger, Dirac, and Kohn-Sham equations. The formulation accommodates various mesh types, such as uniform or exponential, and the convergence can be systematically controlled by increasing the number and/or polynomial order of the finite element basis functions. The Dirac equatio…
▽ More
We introduce \texttt{featom}, an open source code that implements a high-order finite element solver for the radial Schrödinger, Dirac, and Kohn-Sham equations. The formulation accommodates various mesh types, such as uniform or exponential, and the convergence can be systematically controlled by increasing the number and/or polynomial order of the finite element basis functions. The Dirac equation is solved using a squared Hamiltonian approach to eliminate spurious states. To address the slow convergence of the $κ=\pm1$ states due to divergent derivatives at the origin, we incorporate known asymptotic forms into the solutions. We achieve a high level of accuracy ($10^{-8}$ Hartree) for total energies and eigenvalues of heavy atoms such as uranium in both Schrödinger and Dirac Kohn-Sham solutions. We provide detailed convergence studies and computational parameters required to attain commonly required accuracies. Finally, we compare our results with known analytic results as well as the results of other methods. In particular, we calculate benchmark results for atomic numbers ($Z$) from 1 to 92, verifying current benchmarks. We demonstrate significant speedup compared to the state-of-the-art shooting solver \texttt{dftatom}. An efficient, modular Fortran 2008 implementation, is provided under an open source, permissive license, including examples and tests, wherein particular emphasis is placed on the independence (no global variables), reusability, and generality of the individual routines.
△ Less
Submitted 14 December, 2023; v1 submitted 11 July, 2023;
originally announced July 2023.
-
The State of Fortran
Authors:
Laurence Kedward,
Balint Aradi,
Ondrej Certik,
Milan Curcic,
Sebastian Ehlert,
Philipp Engel,
Rohit Goswami,
Michael Hirsch,
Asdrubal Lozada-Blanco,
Vincent Magnin,
Arjen Markus,
Emanuele Pagone,
Ivan Pribec,
Brad Richardson,
Harris Snyder,
John Urban,
Jeremie Vandenplas
Abstract:
A community of developers has formed to modernize the Fortran ecosystem. In this article, we describe the high-level features of Fortran that continue to make it a good choice for scientists and engineers in the 21st century. Ongoing efforts include the development of a Fortran standard library and package manager, the fostering of a friendly and welcoming online community, improved compiler suppo…
▽ More
A community of developers has formed to modernize the Fortran ecosystem. In this article, we describe the high-level features of Fortran that continue to make it a good choice for scientists and engineers in the 21st century. Ongoing efforts include the development of a Fortran standard library and package manager, the fostering of a friendly and welcoming online community, improved compiler support, and language feature development. The lessons learned are common across contemporary programming languages and help reduce the learning curve and increase adoption of Fortran.
△ Less
Submitted 30 March, 2022; v1 submitted 28 March, 2022;
originally announced March 2022.
-
Toward Modern Fortran Tooling and a Thriving Developer Community
Authors:
Milan Curcic,
Ondřej Čertík,
Brad Richardson,
Sebastian Ehlert,
Laurence Kedward,
Arjen Markus,
Ivan Pribec,
Jérémie Vandenplas
Abstract:
Fortran is the oldest high-level programming language that remains in use today and is one of the dominant languages used for compute-intensive scientific and engineering applications. However, Fortran has not kept up with the modern software development practices and tooling in the internet era. As a consequence, the Fortran developer experience has diminished. Specifically, lack of a rich genera…
▽ More
Fortran is the oldest high-level programming language that remains in use today and is one of the dominant languages used for compute-intensive scientific and engineering applications. However, Fortran has not kept up with the modern software development practices and tooling in the internet era. As a consequence, the Fortran developer experience has diminished. Specifically, lack of a rich general-purpose library ecosystem, modern tools for building and packaging Fortran libraries and applications, and online learning resources, has made it difficult for Fortran to attract and retain new users. To address this problem, an open source community has formed on GitHub in 2019 and began to work on the initial set of core tools: a standard library, a build system and package manager, and a community-curated website for Fortran. In this paper we report on the progress to date and outline the next steps.
△ Less
Submitted 15 September, 2021;
originally announced September 2021.
-
Review of the First Charged-Particle Transport Coefficient Comparison Workshop
Authors:
P. E. Grabowski,
S. B. Hansen,
M. S. Murillo,
L. G. Stanton,
F. R. Graziani,
A. B. Zylstra,
S. D. Baalrud,
P. Arnault,
A. D. Baczewski,
L. X. Benedict,
C. Blancard,
O. Certik,
J. Clerouin,
L. A. Collins,
S. Copeland,
A. A. Correa,
J. Dai,
J. Daligault,
M. P. Desjarlais,
M. W. C. Dharma-wardana,
G. Faussurier,
J. Haack,
T. Haxhimali,
A. Hayes-Sterbenz,
Y. Hou
, et al. (20 additional authors not shown)
Abstract:
We present the results of the first Charged-Particle Transport Coefficient Code Comparison Workshop, which was held in Albuquerque, NM October 4-6, 2016. In this first workshop, scientists from eight institutions and four countries gathered to compare calculations of transport coefficients including thermal and electrical conduction, electron-ion coupling, inter-ion diffusion, ion viscosity, and c…
▽ More
We present the results of the first Charged-Particle Transport Coefficient Code Comparison Workshop, which was held in Albuquerque, NM October 4-6, 2016. In this first workshop, scientists from eight institutions and four countries gathered to compare calculations of transport coefficients including thermal and electrical conduction, electron-ion coupling, inter-ion diffusion, ion viscosity, and charged particle stop** powers. Here, we give general background on Coulomb coupling and computational expense, review where some transport coefficients appear in hydrodynamic equations, and present the submitted data. Large variations are found when either the relevant Coulomb coupling parameter is large or computational expense causes difficulties. Understanding the general accuracy and uncertainty associated with such transport coefficients is important for quantifying errors in hydrodynamic simulations of inertial confinement fusion and high-energy density experiments.
△ Less
Submitted 29 September, 2020; v1 submitted 1 July, 2020;
originally announced July 2020.
-
The $p$- and $hp$-versions of the virtual element method for elliptic eigenvalue problems
Authors:
O. Certik,
F. Gardini,
G. Manzini,
L. Mascotto,
G. Vacca
Abstract:
We discuss the $p$- and the $hp$-versions of the virtual element method for the approximation of eigenpairs of elliptic operators with a potential term on polygonal meshes. An application of this model is provided by the Schrödinger equation with a pseudo-potential term. We present in details the analysis of the p-version of the method, proving exponential convergence in the case of analytic eigen…
▽ More
We discuss the $p$- and the $hp$-versions of the virtual element method for the approximation of eigenpairs of elliptic operators with a potential term on polygonal meshes. An application of this model is provided by the Schrödinger equation with a pseudo-potential term. We present in details the analysis of the p-version of the method, proving exponential convergence in the case of analytic eigenfunctions. The theoretical results are supplied with a wide set of experiments. We also show numerically that, in the case of eigenfunctions with finite Sobolev regularity, an exponential approximation of the eigenvalues in terms of the cubic root of the number of degrees of freedom can be obtained by employing $hp$-refinements. Importantly, the geometric flexibility of polygonal meshes is exploited in the construction of the $hp$-spaces.
△ Less
Submitted 21 December, 2018;
originally announced December 2018.
-
The virtual element method for eigenvalue problems with potential terms on polytopal meshes
Authors:
Ondrej Certik,
Francesca Gardini,
Gianmarco Manzini,
Giuseppe Vacca
Abstract:
We extend the conforming virtual element method to the numerical resolution of eigenvalue problems with potential terms on a polytopal mesh. An important application is that of the Schrodinger equation with a pseudopotential term. This model is a fundamental element in the numerical resolution of more complex problems from the Density Functional Theory. The VEM is based on the construction of the…
▽ More
We extend the conforming virtual element method to the numerical resolution of eigenvalue problems with potential terms on a polytopal mesh. An important application is that of the Schrodinger equation with a pseudopotential term. This model is a fundamental element in the numerical resolution of more complex problems from the Density Functional Theory. The VEM is based on the construction of the discrete bilinear forms of the variational formulation through certain polynomial projection operators that are directly computable from the degrees of freedom. The method shows a great flexibility with respect to the meshes and provide a correct spectral approximation with optimal convergence rates. This point is discussed from both the theoretical and the numerical viewpoint. The performance of the method is numerically investigated by solving the Quantum Harmonic Oscillator problem with the harmonic potential and a singular eigenvalue problem with zero potential for the first eigenvalues.
△ Less
Submitted 31 March, 2018;
originally announced April 2018.
-
dftatom: A robust and general Schrödinger and Dirac solver for atomic structure calculations
Authors:
Ondřej Čertík,
John E. Pask,
Jiří Vackář
Abstract:
A robust and general solver for the radial Schrödinger, Dirac, and Kohn--Sham equations is presented. The formulation admits general potentials and meshes: uniform, exponential, or other defined by nodal distribution and derivative functions. For a given mesh type, convergence can be controlled systematically by increasing the number of grid points. Radial integrations are carried out using a comb…
▽ More
A robust and general solver for the radial Schrödinger, Dirac, and Kohn--Sham equations is presented. The formulation admits general potentials and meshes: uniform, exponential, or other defined by nodal distribution and derivative functions. For a given mesh type, convergence can be controlled systematically by increasing the number of grid points. Radial integrations are carried out using a combination of asymptotic forms, Runge-Kutta, and implicit Adams methods. Eigenfunctions are determined by a combination of bisection and perturbation methods for robustness and speed. An outward Poisson integration is employed to increase accuracy in the core region, allowing absolute accuracies of $10^{-8}$ Hartree to be attained for total energies of heavy atoms such as uranium. Detailed convergence studies are presented and computational parameters are provided to achieve accuracies commonly required in practice. Comparisons to analytic and current-benchmark density-functional results for atomic number $Z$ = 1--92 are presented, verifying and providing a refinement to current benchmarks. An efficient, modular Fortran 95 implementation, \ttt{dftatom}, is provided as open source, including examples, tests, and wrappers for interface to other languages; wherein particular emphasis is placed on the independence (no global variables), reusability, and generality of the individual routines.
△ Less
Submitted 2 February, 2013; v1 submitted 8 September, 2012;
originally announced September 2012.
-
Numerical solution of the radial Dirac equation in pseudopotential construction
Authors:
Ondrej Certik
Abstract:
In the present work we study numerical solution of the radial Dirac equation in a specific case - ab-initio pseudopotential generating process - which is needed within the electronic structure calculations using a Density Functional Theory (DFT) combined with a pseudopotential method. We give a brief introduction to DFT, derive the radial Dirac and Schrodinger equations, show how to solve them b…
▽ More
In the present work we study numerical solution of the radial Dirac equation in a specific case - ab-initio pseudopotential generating process - which is needed within the electronic structure calculations using a Density Functional Theory (DFT) combined with a pseudopotential method. We give a brief introduction to DFT, derive the radial Dirac and Schrodinger equations, show how to solve them both for a given energy and as an eigenvalue problem using a known asymptotic behavior of the solution. Next we compare the nonrelativistic and relativistic eigenvalues for one electron atom. Finally we state a few words about the computer implementation.
△ Less
Submitted 19 October, 2007; v1 submitted 17 October, 2007;
originally announced October 2007.
-
Simple derivation of the special theory of relativity without the speed of light axiom
Authors:
Ondrej Certik
Abstract:
We show a very simple yet rigorous derivation of the invariance of the space-time interval (and hence the whole special relativity) just from the isotropy, homogeneity and a principle of relativity, without the need of the speed of light axiom. This article is intended as a textbook explanation of the special relativity.
We show a very simple yet rigorous derivation of the invariance of the space-time interval (and hence the whole special relativity) just from the isotropy, homogeneity and a principle of relativity, without the need of the speed of light axiom. This article is intended as a textbook explanation of the special relativity.
△ Less
Submitted 17 October, 2007;
originally announced October 2007.
-
Integral and fractional Quantum Hall Ising ferromagnets
Authors:
K. Vyborny,
O. Certik,
D. Pfannkuche,
D. Wodzinski,
A. Wojs,
J. J. Quinn
Abstract:
We compare quantum Hall systems at filling factor 2 to those at filling factors 2/3 and 2/5, corresponding to the exact filling of two lowest electron or composite fermion (CF) Landau levels. The two fractional states are examples of CF liquids with spin dynamics. There is a close analogy between the ferromagnetic (spin polarization P=1) and paramagnetic (P=0) incompressible ground states that o…
▽ More
We compare quantum Hall systems at filling factor 2 to those at filling factors 2/3 and 2/5, corresponding to the exact filling of two lowest electron or composite fermion (CF) Landau levels. The two fractional states are examples of CF liquids with spin dynamics. There is a close analogy between the ferromagnetic (spin polarization P=1) and paramagnetic (P=0) incompressible ground states that occur in all three systems in the limits of large and small Zeeman spin splitting. However, the excitation spectra are different. At filling factor 2, we find spin domains at half-polarization (P=1/2), while antiferromagnetic order seems most favorable in the CF systems. The transition between P=0 and 1, as seen when e.g. the magnetic field is tilted, is also studied by exact diagonalization in toroidal and spherical geometries. The essential role of an effective CF-CF interaction is discussed, and the experimentally observed incompresible half-polarized state is found in some models.
△ Less
Submitted 29 September, 2006;
originally announced September 2006.
-
Transport gap in a nu=1/3 quantum Hall system: a probe for skyrmions
Authors:
A. F. Dethlefsen,
R. J. Haug,
K. Vyborny,
O. Certik,
A. Wojs
Abstract:
The dependence of the activated gap on magnetic field is studied for the fractional filling factor~1/3. By comparing the experimental results with results from exact diagonalization calculations we are able to identify the excitation of a small antiskyrmion in the low-field regime and a cross-over to spinless excitations at higher magnetic fields. The effect of sample quality is studied. On the…
▽ More
The dependence of the activated gap on magnetic field is studied for the fractional filling factor~1/3. By comparing the experimental results with results from exact diagonalization calculations we are able to identify the excitation of a small antiskyrmion in the low-field regime and a cross-over to spinless excitations at higher magnetic fields. The effect of sample quality is studied. On the side of the theory, comparison between different geometries (torus and sphere) and different sizes is carried out. Under inclusion of Landau level mixing and finite thickness, we obtain a good agreement between calculated energies and experimental results.
△ Less
Submitted 17 March, 2006;
originally announced March 2006.