PH3: 1D-based and 2D-based SPAR kinetic energy operators
This page describes two kinetic energy operators (KEOs) for pyramidal XY3
molecules. Both are generated outside TROVE, read from kinetic.chk, and
use the SPAR coordinates R-SYMPHI-BETA. No built-in XY3 KEO is involved.
The two operators differ only in how they treat the bending pair
\((s_4,s_5)\):
1D-based SPAR KEO. Every term is a product of one-dimensional basic functions, as in Eq. (1) of SPAR: operator representations. The stretching and umbrella factors are exact; the \((s_4,s_5)\) dependence is a Taylor expansion of order \(N\). TROVE integrates all factors with its standard 1D machinery.
2D-based SPAR KEO. Every term is a product of 1D functions of \(r_1,r_2,r_3,\beta\) and one two-dimensional function of \((s_4,s_5)\). The 2D functions are not expanded in powers. Their matrix elements in the harmonic-oscillator basis of modes 4 and 5 are computed outside TROVE by 2D quadrature and read from
keo_2d_s4s5.chk.
The coordinates and the 2D integration were added on the
xy3-exact-2d-keo branch. This page was checked against commit
a3902fd (23 October 2026). The validation covers energies and
\(\mathcal{C}_{3\mathrm{v}}(\mathrm{M})\) symmetry labels of
31PH3 up to J = 4 for the 1D-based operator and up to J = 1
for the 2D-based operator. Intensities, the inversion (D3h(M)) problem, and
other isotopologues have not been validated.
Coordinates R-SYMPHI-BETA
Let \(\mathbf e_i\) be the unit vector along the X–Yi bond and \(\mathbf n\) the trisector, the unit vector that makes the same angle \(\beta\) with all three bonds:
Let \(\phi_i\) be the dihedral angle between the two half-planes that contain \(\mathbf n\) and the bonds \(j\) and \(k\) (\(\{i,j,k\}=\{1,2,3\}\)), so that \(\phi_1+\phi_2+\phi_3=2\pi\). The six vibrational coordinates are
Mode |
Coordinate |
Note |
|---|---|---|
1, 2, 3 |
\(\xi_i=r_i\) |
Bond lengths in Å |
4 |
\(\xi_4=s_4=(2\phi_1-\phi_2-\phi_3)/\sqrt6\) |
First component of the \(E\) bending pair |
5 |
\(\xi_5=s_5=(\phi_2-\phi_3)/\sqrt2\) |
Second component of the \(E\) bending pair |
6 |
\(\xi_6=\beta\) |
Umbrella angle between each bond and \(\mathbf n\), in radians |
The bond angle \(\alpha_i\) between the bonds \(j\) and \(k\) follows from \(\sin(\alpha_i/2)=\sin\beta\,\sin(\phi_i/2)\). At the symmetric reference geometry \(s_4=s_5=0\), all three \(r_i=r_{\rm e}\), and
The EQUILIBRIUM block keeps the usual XY3 local values
\(r_{\rm e}\) and \(\alpha_{\rm e}\); TROVE converts them with the
coordinate transformation. For the PH3 inputs,
\(r_{\rm e}=1.4118221\) Å and \(\alpha_{\rm e}=93.3685^\circ\),
which give \(\beta_{\rm e}=0.997545\) rad (57.1551°).
The coordinates are not displacements. The bond lengths and \(\beta\)
are used as absolute values, so the BASIS borders are absolute
(for example 0.91–3.51 Å for \(r_i\) and 0.40–1.50 rad for
\(\beta\)). Use the AUTO (or, for a harmonic basis,
AUTO-HARMON) kinetic expansion type, which evaluates the basic
functions at the raw coordinate. Do not use AUTOMATIC: it adds the
reference value to the coordinate a second time (see SPAR input syntax and migration).
In \(\mathcal{C}_{3\mathrm{v}}(\mathrm{M})\) the bond lengths are
permuted, \((s_4,s_5)\) transform as the \(E\) representation with
the same matrices as for R-SYMPHI-DELTA, and \(\beta\) is invariant.
In D3h(M) the operations that contain \(E^*\) also map \(\beta\) to
\(\pi-\beta\). The transformation and the symmetry operations are
implemented in ML_coordinate_transform_XY3 and
ML_symmetry_transformation_XY3 in mol_xy3.f90.
The two external operators below are derived in the frame with the \(z\) axis along \(\mathbf n\). The \(x\) axis is fixed by requiring that the azimuthal angles of the three bonds deviate from 0, \(2\pi/3\) and \(4\pi/3\) by amounts that sum to zero. This frame is a property of the KEO file; a dipole moment function used with these operators must be expressed in the same frame.
Structure of the exact operator
Each element of \(G_{\rm vib}\), \(G_{\rm rot}\), \(G_{\rm cor}\) and the pseudopotential \(U\) is linear in the inverse masses of the central atom and of the three equivalent Y atoms. In these coordinates and this frame every term has the form
with \(a_i\in\{0,1,2\}\) and
The two generators described below stop if any other dependence on \(\beta\) appears. Both find these five functions only: the exact operator used for the 2D-based KEO, and the Taylor operator up to \(N=4\). Only \(F_L\) couples \(s_4\) and \(s_5\); all other factors are already one-dimensional basic functions. The two representations differ in how they treat \(F_L\).
Because of the mass factorisation, both kinetic.chk files use the
BASIC-FUNCTION MASS format (see SPAR operator files and conventions). The mass index
\(\ell_0=1\) selects the mass of ZMAT atom 1 (P) and
\(\ell_0=2\) the mass of atom 2 (H). The three Y masses must be equal.
1D-based SPAR KEO
Representation
The 2D factors are replaced by their Taylor expansions,
so that every term is a product of the basic functions below. The example uses \(N=4\).
Mode |
Index |
Function |
|---|---|---|
1, 2, 3 |
1, 2 |
\(r_i^{-1}\), \(r_i^{-2}\) |
4, 5 |
\(n=1,\ldots,N\) |
\(s^n\) |
6 |
1, 2, 3, 4 |
\(\csc^2\beta\), \(\cot\beta\), \(\sin\beta\cos\beta\), \(\sin^2\beta\) |
In the input this library reads:
BASIC-FUNCTION mass
Mode 1 2
1 1 I -1 1.00000000000000
2 1 I -2 1.00000000000000
Mode 2 2
1 1 I -1 1.00000000000000
2 1 I -2 1.00000000000000
Mode 3 2
1 1 I -1 1.00000000000000
2 1 I -2 1.00000000000000
Mode 4 4
1 1 I 1 1.00000000000000
2 1 I 2 1.00000000000000
3 1 I 3 1.00000000000000
4 1 I 4 1.00000000000000
Mode 5 4
1 1 I 1 1.00000000000000
2 1 I 2 1.00000000000000
3 1 I 3 1.00000000000000
4 1 I 4 1.00000000000000
Mode 6 4
1 1 Csc 2 1.00000000000000
2 1 Cot 1 1.00000000000000
3 2 Sin 1 1.00000000000000 Cos 1 1.00000000000000
4 1 Sin 2 1.00000000000000
END
The second number of a factor is a power: Csc 2 1.0 is
\(\csc^2\beta\), not \(\csc 2\beta\). Index 0 is the implicit
constant.
The operator file
The first records of kinetic.chk are:
1 1 1 <- g_vib
1 1 1 0 1.00000000000000e+00 1 0 0 0 0 0 0
1 1 2 0 1.00000000000000e+00 2 0 0 0 0 0 0
1 2 1 0 1.00000000000000e+00 1 0 0 0 0 0 0
1 2 2 0 -1.50000000000000e+00 1 0 0 0 0 0 4
1 2 3 0 6.12372435695794e-01 1 0 0 0 0 1 4
The columns are k1 k2 term grid coefficient l0 l1 ... l6. The first two
records give \(G^{\rm vib}_{11}=m_{\rm P}^{-1}+m_{\rm H}^{-1}\); the
next two start \(G^{\rm vib}_{12}=m_{\rm P}^{-1}
(1-\tfrac32\sin^2\beta+\ldots)\), which equals
\(m_{\rm P}^{-1}\cos\alpha_3\) at \(s_4=s_5=0\). The file contains
2457 \(G_{\rm vib}\), 1271 \(G_{\rm rot}\), 1737 \(G_{\rm cor}\)
and 170 pseudopotential records (5635 in total). The largest index is 2 for
the stretches and 4 for the other modes; \(i_4+i_5\le4\).
The generator
generate_xy3_spar_keo.py
derives the operator with the \(t\)–\(s\) matrix formalism. It
uses exact arithmetic in the number field
\(\mathbb Q(\sqrt2,\sqrt3)\), so the coefficients carry no rounding
error before they are written. Run it in an otherwise empty directory:
python3 generate_xy3_spar_keo.py
The script needs Python 3 and NumPy (NumPy is used only for the final check) and takes about 10 s. It writes its files next to the script:
kinetic.chk: the mass-factorised operator forBASIC-FUNCTION MASS. This is the file used below.kinetic_nomass.chk: the same operator with the 31PH3 masses multiplied in. TROVE’s energy-unit conversion is not applied, so this file cannot be used as aBASIC-FUNCTION KINETICcheckpoint without rescaling.combination.chk: the function library in the earlier four-field constructor syntax. TROVE does not read it; theBASIC-FUNCTIONblock of the input is authoritative.
Finally, the script compares the operator with a direct numerical inversion of the \(12\times12\) Cartesian \(t\) matrix, in the generator’s unscaled units (Da, Å). At \(s_4=s_5=0\) with unequal bond lengths the largest \(G\) errors are below \(10^{-15}\). At \((s_4,s_5)=(0.02,-0.015)\) they are at most \(2.3\times10^{-10}\), consistent with the fifth-order truncation. The pseudopotential agrees within the error of its finite-difference reference (a few times \(10^{-6}\)).
Basis set and staged run
BASIS
0,'JKtau', Jrot 0
1,'numerov','AUTO', 'morse(x-xe)', range 0, 7, resc 2.0, points 2000, borders 0.91, 3.51
1,'numerov','AUTO', 'morse(x-xe)', range 0, 7, resc 2.0, points 2000, borders 0.91, 3.51
1,'numerov','AUTO', 'morse(x-xe)', range 0, 7, resc 2.0, points 2000, borders 0.91, 3.51
2,'harmonic','AUTO-HARMON', 'x-xe', range 0,14, resc 1.0, points 4000, reduced 3, nocheck, borders -2.50, 2.50
2,'harmonic','AUTO-HARMON', 'x-xe', range 0,14, resc 1.0, points 4000, reduced 3, nocheck, borders -2.50, 2.50
3,'numerov','AUTO', 'x-xe', range 0,14, resc 1.0, points 2000, borders 0.40, 1.50
END
The coordinates split into three contracted classes: the stretches
(class 1), the bending pair \((s_4,s_5)\) (class 2), and \(\beta\)
(class 3). The primitive basis therefore factorises as 3D + 2D + 1D. Modes
4 and 5 use harmonic-oscillator functions. TROVE integrates the basic
functions numerically on the grid given by points and borders.
Choose the borders so that the highest harmonic function (here
\(v=14\)) has decayed at the grid ends. The classical turning point of
\(v=14\) lies at \(|s|\approx1.54\), so borders of \(\pm1.5\)
are too narrow at polyad 14; the example uses \(\pm2.5\).
reduced 3 selects the reduced Hamiltonian used to contract the class.
nocheck skips the test that the one-dimensional reference Hamiltonians
of the modes in the class are identical.
The full calculation uses three inputs:
PH3_SPAR_1D_P14_step1.inp(J = 0, saves the contracted matrix elements),PH3_SPAR_1D_P14_step2.inp(model j=0; converts the matrix elements to the J = 0 representation), andPH3_SPAR_1D_P14_step3_J1.inp(J = 1; changeJrotfor other J).
Generate kinetic.chk in the working directory, then run the three
stages, for example:
python3 generate_xy3_spar_keo.py
/path/to/j-trove.x < PH3_SPAR_1D_P14_step1.inp > step1.out
/path/to/j-trove.x < PH3_SPAR_1D_P14_step2.inp > step2.out
/path/to/j-trove.x < PH3_SPAR_1D_P14_step3_J1.inp > step3_J1.out
Step 1 computes the potential expansion from the POTEN block. Steps 1
and 3 end with End of TROVE, step 2 with ...done!. A J > 0 run
prints energies relative to the J = 0 zero-point energy if the file
j0eigen_descr0_1.chk is present. That file is written by a step-3 run
with Jrot 0. Without it, the energies are relative to the minimum of
the potential.
The step-3 input uses the syevr diagonaliser. For J = 1 its 11 142
eigenvalues were identical to those of syevd at the printed precision,
and the run was 21 times faster than with syev.
A smaller self-contained example at polyad 6 with Taylor order \(N=8\)
(17 646 records in kinetic.chk) is provided in inputs/PH3/1D_SPAR
together with make_spar_kinetic.py and run.sh.
2D-based SPAR KEO
Representation
Here the 2D factors are kept exact. They are expanded in one set of 2D functions \(\Phi_k\), shared by all terms of all components:
Each \(\Phi_k\) is labelled by a pair \((i_4,i_5)\), in order of
increasing \(i_4+i_5\): (1,0), (0,1), (2,0), (1,1), (0,2), and so on.
The label (0,0) denotes the constant. These pairs are labels, not powers.
In kinetic.chk they occupy the columns l4 and l5; the other
columns keep their 1D meaning. Such a kinetic.chk is meaningful only
together with the keo_2d_s4s5.chk generated with it.
Because every \(\Phi_k\) vanishes at \(s_4=s_5=0\), as does every monomial \(s_4^{i_4}s_5^{i_5}\) with \(i_4+i_5>0\), the KEO at the reference geometry is the same whether a label is read as \(\Phi_k\) or as a monomial. TROVE uses this value to estimate the harmonic parameters of modes 4 and 5. Beyond the reference geometry, the 2D table must be used.
Construction of the 2D functions
The generator exact_2d_keo.py (in inputs/PH3 of the repository;
download) evaluates the exact
operator on a polar grid with \((s_4,s_5)=\rho(\cos\theta,\sin\theta)\).
It uses 80 Gauss–Legendre points in \(\rho\in[0,R]\) and 96 equally
spaced values of \(\theta\). The dependence on \(r_i\) and
\(\beta\) stays analytic, as in Eq. (1). For every
component, mass index, stretching powers and \(\beta\) function, the
script collects \(F_L(s_4,s_5)-F_L(0,0)\) on the grid. It then performs
a singular value decomposition of all these functions, weighted by
\(\exp(-\rho^2/4f_t^2)\) and the quadrature weights. The leading
\(N_r\) singular vectors define the \(\Phi_k\).
For PH3 the functions span a space of numerical rank 63. With \(N_r=63\) and \(R=2.45\), the 63rd and 64th singular values are \(1.5\times10^{-9}\) and \(2.3\times10^{-15}\), and the largest reconstruction error, weighted with the Gaussian envelope, is \(6\times10^{-16}\). In the region sampled by the basis functions the SVD therefore adds no significant approximation. The 63 labels fit into \(0\le i_4,i_5\le8\), which defines \(k_{\max}=8\).
The 2D integral table
For the harmonic-oscillator functions \(\psi_v\) of modes 4 and 5, the generator computes
with the one-dimensional operator densities
where \(\psi'=d\psi/ds\). These follow the derivative placement of TROVE’s 1D KEO matrix elements. For a term of \(G^{\rm vib}_{k_1k_2}\), the label \(o_4\) is 0 if neither \(k_1\) nor \(k_2\) equals 4, 1 if only \(k_2=4\), 2 if only \(k_1=4\), and 3 if both equal 4. \(o_5\) follows the same rule for mode 5. This needs the nine combinations (0,0), (1,0), (2,0), (0,1), (0,2), (3,0), (0,3), (2,1) and (1,2). \(G_{\rm rot}\) and \(U\) use (0,0). For the symmetrised Coriolis term of mode 4, TROVE uses the sum of (1,0) and (2,0); for mode 5, the sum of (0,1) and (0,2).
The table replaces the product of the 1D matrix elements of modes 4 and 5
in the routines that build the vibrational, rotational, Coriolis and
pseudopotential matrix elements. TROVE holds the whole array
\((0{:}3,0{:}3,0{:}k_{\max},0{:}k_{\max},0{:}v_{\max},\ldots)\) in
memory: \(16(k_{\max}+1)^2(v_{\max}+1)^4\) double-precision numbers,
25 MB for \(v_{\max}=6\) and 525 MB for \(v_{\max}=14\). By default
the generator writes only the non-zero elements, as ASCII text
(1 382 976 entries and about 83 MB for \(v_{\max}=6\)); --binary
writes the whole array as a binary stream file instead. Both formats are
described in SPAR operator files and conventions.
Requirements and checks
There is no input keyword. TROVE reads keo_2d_s4s5.chk whenever the file
exists in the working directory and prints, for an ASCII table:
Loaded exact 2D (s4,s5) KEO integrals from keo_2d_s4s5.chk (ASCII): kmax= 8, vmax= 6, entries= 1382976
(without (ASCII) and the entry count for a binary table). Look for this
line. TROVE stops with a message (PTread_me2d_s4s5: ...) if:
there are fewer than five modes;
modes 4 and 5 do not form a contracted class of their own;
\(v_{\max}\) of the table is smaller than the basis range of mode 4 or 5;
\(k_{\max}\) is smaller than the largest index of modes 4 and 5 in \(G_{\rm vib}\), \(G_{\rm rot}\) or \(G_{\rm cor}\);
an ASCII entry lies outside the ranges given in the header, or the number of entries disagrees with the header;
the file cannot be opened or read.
TROVE does not check, and the user must ensure, that:
modes 4 and 5 use the
harmonicprimitive basis with the length parameter \(f_t\) passed to the generator (--ft). TROVE prints \(f_t\) as the first number of theparamsline of this basis, for exampleparams = 0.28658334 1145.16544179 0.00000000;the quadrature radius (
--rmax) agrees with thebordersof modes 4 and 5;kinetic.chkandkeo_2d_s4s5.chkcome from the same generator run;the
BASIC-FUNCTIONblock defines at least \(k_{\max}\) functions for modes 4 and 5. The example listsI 1toI 8as placeholders so that the labels are valid indices.
The presence of the file alone changes the KEO integration, so remove it
before running unrelated calculations in the same directory. A Fortran
stop returns exit status 0; check the output for the message and for
End of TROVE.
The file is needed whenever TROVE computes KEO matrix elements, which in the examples happens in step 1. Two workflows were tested:
Without
model j=0(theinputs/PH3example): steps 1 and 2 keep the classes. Keep the file in the directory; both runs load it.With
model j=0(the staged workflow of the 1D-based example): the conversion and J > 0 runs merge the classes, andPTread_me2d_s4s5stops with “modes 4 and 5 must form a separate class”. Rename or removekeo_2d_s4s5.chkafter step 1. The contracted matrix elements saved in step 1 already contain the 2D integrals.
Running the example
The repository directories inputs/PH3 and inputs/PH3/2D_exact
contain the generator, a README, and two inputs at polyad 6:
PH3_exact2D_P6_J0.inp
and PH3_exact2D_P6_J1.inp
(inputs/PH3/2D_exact also includes a precomputed kinetic.chk, a
compressed keo_2d_s4s5.chk.xz, and run.sh).
Their basis rows for modes 4 and 5 are
Run, in one directory:
python3 exact_2d_keo.py --mode exact --vmax 6 --out-dir .
/path/to/j-trove.x < PH3_exact2D_P6_J0.inp > PH3_exact2D_P6_J0.out
/path/to/j-trove.x < PH3_exact2D_P6_J1.inp > PH3_exact2D_P6_J1.out
The generator needs NumPy and SciPy and takes a few seconds. Its options must agree with the TROVE input:
Option |
Meaning and required value |
|---|---|
|
|
|
At least the basis range of modes 4 and 5 ( |
|
\(f_t\) from the |
|
Quadrature radius \(R\); use the |
|
Taylor mode only. The exact mode uses \(k_{\max}=8\) and \(N_r=63\), set in the script. |
|
Write the table as a binary stream file instead of ASCII. |
|
Output directory. |
Keep KinOrder 16, the BASIC-FUNCTION block, and the three classes of
the BASIS block as in the example.
Checking the 2D integration
With --mode taylor --kmax N and a 1D-based kinetic.chk of order
\(N\), the 2D route must reproduce TROVE’s 1D \(\times\) 1D
integration. For PH3 with \(N=4\) at polyad 6, the energies of all 174
J = 0 and 518 J = 1 levels were identical at the printed precision
(\(10^{-6}\,\mathrm{cm}^{-1}\)). This holds with
reduced 2, POST and, for J = 0, also with reduced 3, nocheck.
Validation
The SPAR calculations below used commit ae08647 with a binary 2D table,
built with gfortran (-O3 -march=x86-64-v3 -fopenmp). The polyad-6
example was repeated with a3902fd and an ASCII table; all 174 J = 0 and
518 J = 1 energies were identical. The comparison calculation, labelled
R-ALPHA below, was run earlier with TROVE’s built-in linearised KEO
(COORDS LINEAR, TRANSFORM R-ALPHA, KinOrder 6), the same
potential, and the same polyad cut-off. Its own KEO is a sixth-order
expansion and it uses a 3D bending basis. The differences from R-ALPHA
therefore compare two approximate routes; they are not errors of either
SPAR KEO.
Band centres at polyad 14
Band |
Γ |
1D-based (Taylor, N = 4) |
2D-based (exact) |
1D − 2D |
R-ALPHA |
|---|---|---|---|---|---|
ZPE |
A1 |
5214.0561 |
5214.0559 |
0.0002 |
5214.0615 |
ν2 |
A1 |
992.1033 |
992.1060 |
−0.0027 |
992.1365 |
ν4 |
E |
1118.3008 |
1118.3066 |
−0.0058 |
1118.3158 |
2ν2 |
A1 |
1972.3979 |
1972.4012 |
−0.0032 |
1972.5815 |
ν2 + ν4 |
E |
2108.0754 |
2108.0933 |
−0.0180 |
2108.1403 |
2ν4 |
A1 |
2226.6854 |
2226.7355 |
−0.0501 |
2226.8041 |
2ν4 |
E |
2234.8512 |
2234.8710 |
−0.0198 |
2234.9097 |
ν1 |
A1 |
2321.1075 |
2321.1091 |
−0.0017 |
2321.1186 |
ν3 |
E |
2326.8547 |
2326.8553 |
−0.0007 |
2326.8681 |
3ν2 |
A1 |
2939.9619 |
2939.9645 |
−0.0026 |
2940.8581 |
3ν4 |
E |
3332.9974 |
3333.1397 |
−0.1423 |
3333.4300 |
The three calculations have the same number of J = 0 levels (5151). Differences are computed from the unrounded energies. The Taylor truncation in \((s_4,s_5)\) matters mainly for bending overtones. Over all levels with the same symmetry and index, the largest difference between the 1D- and 2D-based results is 0.14 cm-1 below 4000 cm-1, 0.66 cm-1 below 6000 cm-1, and 2.2 cm-1 below 8000 cm-1.
Rotational levels
For J = 1–4 the 1D-based KEO and R-ALPHA give the same number of levels of each total symmetry below 5000 cm-1. Taking the levels of each symmetry in energy order, the rotational labels \((\Gamma_{\rm rot};J,K,\tau)\) agree for every level below 3000 cm-1 and for all but one below 4000 cm-1; at higher energies, nearly degenerate levels are ordered differently in the two calculations. The R-ALPHA J = 4 output does not contain the E block.
J |
Γ |
\((\Gamma_{\rm rot};J,K,\tau)\) |
1D-based |
R-ALPHA |
2D-based |
|---|---|---|---|---|---|
1 |
E |
(E; 1, 1, 0) |
8.371093 |
8.371072 |
8.371080 |
1 |
A2 |
(A2; 1, 0, 1) |
8.904314 |
8.904217 |
8.904203 |
2 |
E |
(E; 2, 2, 0) |
24.577967 |
24.577979 |
|
2 |
E |
(E; 2, 1, 0) |
26.177272 |
26.177051 |
|
2 |
A1 |
(A1; 2, 0, 0) |
26.709810 |
26.709512 |
|
3 |
A2 |
(A2; 3, 3, 1) |
48.616459 |
48.616555 |
|
3 |
A1 |
(A1; 3, 3, 0) |
48.616462 |
48.616557 |
|
3 |
E |
(E; 3, 2, 0) |
51.282479 |
51.282182 |
|
3 |
E |
(E; 3, 1, 0) |
52.878714 |
52.878181 |
|
3 |
A2 |
(A2; 3, 0, 1) |
53.410231 |
53.409619 |
|
4 |
A1 |
(A1; 4, 3, 0) |
84.214684 |
84.214352 |
|
4 |
A2 |
(A2; 4, 3, 1) |
84.214699 |
84.214367 |
|
4 |
A1 |
(A1; 4, 0, 0) |
88.996217 |
88.995160 |
The tiny \(K=3\) splittings, 2–3\(\times10^{-6}\) cm-1 at J = 3 and \(1.5\times10^{-5}\) cm-1 at J = 4, agree with R-ALPHA at the printed precision. For the 2D-based KEO at J = 1, the lowest \(\nu_2\) and \(\nu_4\) rovibrational levels differ from the 1D-based ones by 0.0003 to 0.012 cm-1.
Polyad-6 example
The inputs/PH3/2D_exact and inputs/PH3/1D_SPAR examples give the
following values (cm-1, relative to the respective J = 0 ZPE:
5214.173894 cm-1 for the 2D-based KEO and 5214.173918 cm-1
for the 1D-based KEO at \(N=8\)). The fifth and sixth columns show the
1D-based operator at Taylor orders \(N=8\) (from inputs/PH3/1D_SPAR)
and \(N=4\) in the same basis.
J |
Γ |
State |
2D-based (exact) |
1D-based (N = 8) |
1D-based (N = 4) |
1D(4) − 2D |
|---|---|---|---|---|---|---|
0 |
A1 |
ν2 |
992.4200 |
992.4200 |
992.4172 |
−0.0027 |
0 |
E |
ν4 |
1118.4931 |
1118.4932 |
1118.4864 |
−0.0067 |
0 |
A1 |
2ν2 |
1973.8687 |
1973.8687 |
1973.8649 |
−0.0038 |
0 |
E |
ν2 + ν4 |
2109.0113 |
2109.0115 |
2108.9914 |
−0.0200 |
0 |
A1 |
2ν4 |
2227.2674 |
2227.2677 |
2227.2149 |
−0.0524 |
0 |
E |
2ν4 |
2235.4937 |
2235.4942 |
2235.4675 |
−0.0262 |
0 |
A1 |
ν1 |
2321.6121 |
2321.6121 |
2321.6105 |
−0.0016 |
0 |
E |
ν3 |
2327.2029 |
2327.2029 |
2327.2022 |
−0.0007 |
1 |
E |
ground state, K = 1 |
8.3712 |
8.3712 |
8.3712 |
0.0000 |
1 |
A2 |
ground state, K = 0 |
8.9045 |
8.9045 |
8.9046 |
0.0001 |
1 |
E |
ν2, K = 1 |
1000.6400 |
1000.6400 |
1000.6377 |
−0.0023 |
1 |
A2 |
ν2, K = 0 |
1000.9660 |
1000.9661 |
1000.9642 |
−0.0018 |
1 |
E |
ν4 |
1123.3475 |
1123.3477 |
1123.3464 |
−0.0011 |
1 |
E |
ν4 |
1127.6001 |
1127.6002 |
1127.5935 |
−0.0066 |
1 |
A1 |
ν4 |
1130.3632 |
1130.3633 |
1130.3513 |
−0.0120 |
1 |
A2 |
ν4 |
1130.7113 |
1130.7114 |
1130.6983 |
−0.0130 |
Reproducibility checks
The downloadable step-1 input, run in a clean directory with only
kinetic.chk, reproduces the J = 0 energies of the original run to \(10^{-6}\) cm-1. Reruns of the J = 1–4 stages agree with the original runs to \(5\times10^{-5}\) cm-1, with identical rotational labels.generate_xy3_spar_keo.pyreproduces thekinetic.chkused here byte for byte.exact_2d_keo.pyis not bit-reproducible: rounding in the SVD can move a few coefficients across the \(10^{-14}\) cut-off, so the number of records varies by a few (27 846 to 27 848 for PH3). This had no effect on the printed energies.The vibrational labels \((v_4,v_5)\) of the 2D harmonic class are products of 1D harmonic-oscillator labels. For degenerate overtones the printed assignment can switch between equivalent labels, for example (2, 0) and (0, 2), between builds or between the 1D and 2D routes. The energies and the symmetry labels do not change. Compare energies and symmetries, not \((v_4,v_5)\).
Resources at polyad 14
Quantity |
R-ALPHA |
1D-based |
2D-based |
|---|---|---|---|
Primitive class structure |
3D + 3D |
3D + 2D + 1D |
3D + 2D + 1D |
Potential expansion terms |
3002 |
1662 |
1662 |
KEO records in |
(built in) |
5635 |
27 846 |
Peak memory (TROVE’s |
11.9 GB |
1.3 GB |
1.9 GB |
Wall-clock time (TROVE timer) |
3286 s |
78 s |
157 s |
The R-ALPHA run used a different build and BLAS library, and the wall-clock times depend on the BLAS library. The 1D- and 2D-based runs used multithreaded OpenBLAS; with the reference (single-threaded) BLAS, step 1 of the 1D-based calculation took 426 s. The memory reduction and the smaller potential expansion are consequences of the 3D + 2D + 1D class structure. The 2D-based run also holds the 525 MB table.
Choosing a representation
The 1D-based KEO uses only the standard SPAR route and works with any basis for modes 4 and 5. Its error comes from the Taylor order in \((s_4,s_5)\). At \(N=4\) this is a few \(10^{-3}\) cm-1 for the fundamentals and grows for the bending overtones.
The 2D-based KEO has no expansion error in \((s_4,s_5)\) beyond the quadrature and the (here negligible) SVD truncation. It requires a harmonic basis for modes 4 and 5 with a matching \(f_t\), a separate class for them, and a table that grows as \((v_{\max}+1)^4\). The implementation is specific to modes 4 and 5 and to the file name
keo_2d_s4s5.chk.Both operators are exact in \(r_i\) and \(\beta\). Both apply, through the mass index, to XY3 isotopologues with three equivalent Y nuclei, but only 31PH3 has been tested.