Abstract We present a 2-dimensional Hartree–Fock–Roothaan code to calculate wave functions and energies of light to heavy atoms in strong external magnetic fields, as they occur in the vicinity of neutron stars. The code enhances the previously presented HFFER II method, resulting in a very high precision for the energies with typical deviations less than 1% compared to extremely precise fixed-phase diffusion quantum Monte Carlo calculations. Despite this high precision the code is highly optimized regarding speed and reliability, which allows calculating large amounts of states in short time, even with small-scale computing clusters. Program summary Program title: 2DLHFR Catalogue identifier: AETE_v1_0 Program summary URL: http://cpc.cs.qub.ac.uk/summaries/AETE_v1_0.html Program obtainable from: CPC Program Library, Queen’s University, Belfast, N. Ireland Licensing provisions: Standard CPC licence, http://cpc.cs.qub.ac.uk/licence/licence.html No. of lines in distributed program, including test data, etc.: 121429 No. of bytes in distributed program, including test data, etc.: 561163 Distribution format: tar.gz Programming language: Fortran 95. Computer: Cluster of 1-15 Fujitsu ESPRIMO P920. Operating system: Linux. Has the code been vectorized or parallelized?: Yes, parallelized using MPI. Tested on 2–60 processors. RAM: At least 1 GByte per core Classification: 2.1. External routines: GFortran, LAPACK, BLAS, MPI Nature of problem: The modeling of highly magnetized atmospheres of neutron stars and magnetic white dwarfs is a difficult task and is further complicated by the lack of atomic data. The absorption features in the thermal emission spectra of neutron stars are still not fully understood, which leads to different interpretations and thus large uncertainties for the atmospheric parameters, such as the magnetic field strength, the gravitational redshift, or the predominant atomic composition. Therefore, a fast and reliable program to scan through the large parameter space is necessary. Solution method: The strong magnetic fields present on neutron stars favor a wave function expansion in terms of Landau channels. Contrary to previous attempts we use a full 2-dimensional basis and assign individual z-wave functions to each Landau channel. This allows for an accurate description of the single-particle orbitals. These are combined in a Slater determinant, resulting in Hartree–Fock–Roothaan equations, which are solved iteratively. As initial wave functions we rely on the solutions calculated by the HFFERII program and reuse the optimized B -spline basis sets and Landau coefficients to maximize the speed of the program presented here. Restrictions: Intense magnetic field strengths B / Z 2 ≳ 5 × 10 4 T are required to yield accurate results. Unusual features: 2DLHFR is based upon the wave functions calculated with the HFFERII program package, presented in [C. Schimeczek, D. Engel, G. Wunner, Comp. Phys. Comm. 183 (2012) 1502]. In turn, the results of this program may be enhanced beyond the Hartree–Fock limit with quantum Monte Carlo methods, as is shown in the accompanying paper. Additional comments: The gfortran compiler is recommended for this program ( http://gcc.gnu.org/onlinedocs/gfortran/ ). Running time: Seconds to minutes
[1]
Sebastian Boblest,et al.
Ground states of helium to neon and their ions in strong magnetic fields
,
2014
.
[2]
P. Schmelcher,et al.
Higher-angular-momentum states of the helium atom in a strong magnetic field
,
2001
.
[3]
F. Ozel.
Surface emission from neutron stars and implications for the physics of their interiors.
,
2012,
Reports on progress in physics. Physical Society.
[4]
J. Lattimer,et al.
The Physics of Neutron Stars
,
2004,
Science.
[5]
J. Heyl,et al.
Hydrogen and helium atoms in strong magnetic fields
,
2008,
0806.3113.
[6]
S. Jordan.
Models of white dwarfs with high magnetic fields.
,
1992
.
[7]
C. Hailey,et al.
Atomic Calculation for the Atmospheres of Strongly Magnetized Neutron Stars
,
2001,
astro-ph/0109214.
[8]
Zeeman tomography of magnetic white dwarfs - I. Reconstruction of the field geometry from synthetic spectra
,
2002,
astro-ph/0205294.
[9]
Hanns Ruder,et al.
Atoms in strong magnetic fields
,
1987
.
[10]
Density-functional-theory calculations of matter in strong magnetic fields. I. Atoms and molecules
,
2006,
astro-ph/0607166.
[11]
J. Main,et al.
Quantum Monte Carlo studies of the ground states of heavy atoms in neutron-star magnetic fields
,
2007,
0711.4958.
[12]
C. Schimeczek,et al.
A highly optimized code for calculating atomic data at neutron star magnetic field strengths using a doubly self-consistent Hartree-Fock-Roothaan method
,
2014,
Comput. Phys. Commun..
[13]
The helium atom in a strong magnetic field
,
1999,
physics/9902059.
[14]
G. Wunner,et al.
A fast parallel code for calculating energies and oscillator strengths of many-electron atoms at neutron star magnetic field strengths in adiabatic approximation
,
2009,
Comput. Phys. Commun..
[15]
D. Lai,et al.
Physics of strongly magnetized neutron stars
,
2006,
astro-ph/0606674.
[16]
C. Hailey,et al.
Submitted to ApJ Preprint typeset using L ATEX style emulateapj v. 11/12/01 DETAILED ATMOSPHERE MODELLING FOR THE NEUTRON STAR 1E1207.4-5209: EVIDENCE OF OXYGEN/NEON ATMOSPHERE
,
2006
.
[17]
Sebastian Boblest,et al.
Fixed-phase correlation-function quantum Monte Carlo calculations for ground and excited states of helium in neutron-star magnetic fields
,
2013
.
[18]
Sebastian Boblest,et al.
Atomic ground states in strong magnetic fields: Electron configurations and energy levels
,
2013
.
[19]
Sebastian Boblest,et al.
Multi-electron systems in strong magnetic fields II: A fixed-phase diffusion quantum Monte Carlo application based on trial functions from a Hartree-Fock-Roothaan method
,
2014,
Comput. Phys. Commun..
[20]
D. Wickramasinghe,et al.
Magnetism in Isolated and Binary White Dwarfs
,
2000
.
[21]
D. Ceperley,et al.
Released-phase quantum Monte Carlo method
,
1997
.
[22]
Johansson,et al.
Exact solution for a hydrogen atom in a magnetic field of arbitrary strength.
,
1996,
Physical Review A. Atomic, Molecular, and Optical Physics.