Kinetic energy operators
For the current operator-function constructor and a validated small example, see SPAR: operator representations. This chapter also describes the earlier coordinate-specific KEO routes. The available kinetic energy operator (KEO) routes include:
Linearised KEO: Automatically constructed KEO using the Eckart frame (rigid) or Eckart/Saywitz frame (1D non-rigid) as a Taylor expansion in terms of linearised coordinates;
Curvilinear KEO: Preprogrammed analytic KEO (exact or non-exact) using curvilinear (valence) coordinates and different frames;
External Numerical Taylor-type KEO: Externally generated KEO as a Taylor-type numerical expansion in terms of any user-defined coordinates;
External sum-of-products KEO: Externally generated KEO as a generic sum-of-products expansion via the TROVE KEO builder;
External sum-of-products KEO with a 2D factor: As above, but each term may contain one non-separable function of a pair of modes, whose matrix elements are read from a precomputed table (currently modes 4 and 5). See PH3: 1D-based and 2D-based SPAR kinetic energy operators for the XY3 (PH3) example with both the 1D-based and the 2D-based operators.
Linearised KEO
This is a standard KEO constructed using a general black-boxed algorithm applicable for an arbitrary polyatomic molecule. It has been introduced in the original TROVE paper [TROVE] and also explained in Theory. For the following, it useful to recall that TROVE uses Z-matrix curvilinear coordinates to define the linearised coordinates for a given molecule and selected frame.
Linearised KEO is a default option in TROVE. It requires the following components to be present in the TROVE code:
Coordinate transformation (
TRANSFORM) between the Z-matrix curvilinear coordinates \(\xi_{i}^{\rm Zmat}\) and the target curvilinear coordinates \(\xi_i\) used to generate the linearised coordinates \(\xi_i^{\rm lin}\). For example, for the Z-matrix used for NH3 (see Molecules):
ZMAT
N 0 0 0 0 14.00307401
H1 1 0 0 0 1.00782503223
H2 1 2 0 0 1.00782503223
H3 1 2 3 1 1.00782503223
end
the Z-matrix coordinates \(\xi_{i}^{\rm Zmat}\) are the three bond lengths \(r_1\), \(r_2\) and \(r_3\) and three bond angles \(\alpha_{12}\), \(\alpha_{13}\) and \(\alpha_{23}\). The target \(\xi_{i}\) curvilinear coordinates for the scheme (TRANSFORM) r-s-delta are
where \(\delta = \frac{\pi}{2}-\rho\), where \(\rho\) is the angle between the trisector and any of the bond vectors. The five linearised coordinates \(\xi_i^{\rm lin}\) for a non-rigid reference configuration around \(\delta\) are constructed by linearising \(\xi_i\).
Equilibrium or non-rigid reference structure associated with the frame (
Frame) and/or coordinate transformation (TRANSFORM). For NH3, a non-rigid reference frame associated with the coordinatesr-s-deltais given by (in the centre-of-mass principle axis system):
where \(\delta\) is evaluated in a grid \(\delta_i = [-\delta_b \ldots \delta_b]\).
For the XY3 type (MOLTYPE XY3), the equilibrium structures are implemented as the subroutine ML_b0_XY3.f90 as part of the module mol_xy3.f90.
The internal coordinates type needs to be set to linear (linearised).
Consider a KEO in the general form:
Each term in the linearised KEO is represented by a Taylor expansion in terms of \(\xi_{i}^{\rm lin}\) (or some 1D functions of them) around the (non-) rigid reference configuration, e.g.
where the subscript ‘lin’ is omitted for compactness. This is a sum-of-products form which simplifies the integration with the basis functions.
Analytic curvilinear KEO
A number of analytic curvilinear KEOs are available (see Frames and vibrational coordinates) and associated with the card kinetic_type as part of the KINETIC section, e.g.:
KINETIC
kinetic_type KINETIC_XYZ_EKE_bisect
END
Non-rigid quasi-linear triatomic molecules’s KEOs
The non-rigid quasi-linear KEOs for triatomic molecules implemented in TROVE include:
|
|
basis set |
frames/ |
BASIS expansion |
|---|---|---|---|---|
XY2 |
|
|
|
|
XY2 |
|
|
|
|
XYZ |
|
|
|
|
XYZ |
|
|
|
|
XYZ |
|
|
|
|
XYZ |
|
|
|
|
These are included in the module kin_xy2.f90.
All these analytic KEO are given in a sum-of-products of 1D terms, i.e. similar to the linearised type:
for the KEO coordinates chosen as \(r_1\), \(r_2\) and \(\rho\). Once all the matrix elements of \(f_{l}(r_1)\), \(f_{m}(r_2)\) and \(f_{n}(\alpha)\) are computed, the same TROVE pipeline can be used for any types of coordinates, regardless of if they are linearised or curvilinear.
In the case of analytic XYZ and XY2 KEOs from the table above, the corresponding KEO terms \(G_{\lambda,\lambda'}\) or pseudo-potential function \(U\) depend on \(r_1\) and \(r_2\) as inverse expressions, \(1/r_1\), \(1/r_1^2\), \(1/r_2\), \(1/r_2^2\) and \(1/(r_1 r_2)\). We therefore represent them as sum-of-products expansions in terms of these 1D functions around the non-rigid configuration along the angle \(\rho\):
For example:
These KEOs become singular at the linear geometry. This is resolved by combining them with special basis set functions that exactly cancel these singularities. Such special basis functions linked to the corresponding KEOs include: laguerre-k and sinrho-laguerre-k as listed in the table above.
Moreover, the type of the 1D expansion (basic) terms in Eq. (3) should be set in the basis block for the appropriate mode. The expansion form in terms of \(1/r_1\) and \(1/r_2\) are called rational. Here is an example of the basis block associated with the KEO type KINETIC_XYZ_EKE_bisect:
BASIS
0,'JKtau', Jrot 0, krot 18
1,'numerov','rational', 'morse', range 0,20, r 8, resc 3.0, points 2000, borders -0.3,0.90
2,'numerov','rational', 'morse', range 0,36, r 8, resc 1.5, points 3000, borders -0.4,0.90
3,'laguerre-k','linear','linear', range 0,48, r 8, resc 1.0, points 12000, borders 0.,120.0 deg
END
where the 3rd card rational in the lines 1 and 2 indicate that the KEO is expanded in terms of \(1/r_1\) and \(1/r_2\). Other related cards include:
KinOrder 2
TRANSFORM R-RHO-Z-M2-M3-BISECT
MOLTYPE XY2
REFER-CONF non-RIGID
KINETIC
kinetic_type KINETIC_XYZ_EKE_bisect
END
where KinOrder 2 tells TROVE to expand the KEO \(1/r_1\) and \(1/r_2\) up to the 2nd order.
For intensity calculations, it is also important to link these KEO to the appropriate frame. This is because the dipole moment vectors representations strongly depend on the molecular coordinate system. In the table above, the appropriate frames (TRANSFORM) are also listed.
Analytic KEOs for rigid non-linear triatomic molecules
|
|
basis set |
frames |
|
|
|---|---|---|---|---|---|
XY2 |
|
|
|
|
|
It is included in the module kin_xy2.f90.
The following sum-of-products expansion is assumed:
where \(f_{n}(\alpha)\) is one of the basic-functions types.
The KEO type KINETIC_XY2_EKE_BISECT_COMPACT_RIGID is explained in detail in H2S: a compact SPAR kinetic operator.
How to use analytic KEOs
1. Define the KEO type using the kinetic block:
KINETIC
kinetic_type KINETIC_XYZ_EKE_bisect
END
2. Set the Coords type to local, KEO expansion to 2, choose the appropriate frame/and coordinates and molecule type, set the reference configuration to non-rigid:
KinOrder 2
COORDS local (curvilinear)
TRANSFORM R-RHO-Z-M2-M3-BISECT (FRAME)
MOLTYPE XY2
REFER-CONF NON-RIGID
3. Choose appropriate basis set configuration, i.e. the KEO expansion type (e.g. rational) and the non-rigid basis set type (e.g. laguerre-k):
BASIS
0,'JKtau', Jrot 0, krot 18
1,'numerov','rational', 'morse', range 0,20, r 8, resc 3.0, points 2000, borders -0.3,0.90
2,'numerov','rational', 'morse', range 0,36, r 8, resc 1.5, points 3000, borders -0.4,0.90
3,'laguerre-k','linear','linear', range 0,48, r 8, resc 1.0, points 12000, borders 0.,120.0 deg
END
KEO using “basic-functions”
basic-function
We now generalise the sum-of-products form of the KEO using the concept of “basic-functions”. Let us assume the following generalise sum-of-products form for a given KEO term \(G_{\lambda,\lambda'}(r_1,r_2,...\alpha_1,\alpha_2...\tau_1,\tau_2\ldots)\) (or \(U\)) from Eq. (1):
where we introduced \(q_i\) as a notation for the internal valence coordinates or their combinations used to represent an exact KEO. Here, \(u_{k}(q_i)\) is a 1D generic function of a vibrational coordinate \(q_i\). It should be noted, that a typical internal coordinate \(\xi_i\) in TROVE is a displacement from an equilibrium, e.g.
For example, for the Taylor expansion in Eq. (2), the basis-functions are
In the example from the exact KEO of the quasi-linear molecule from Eq. (3), the basic functions are
In the following, we use the concept of “basic-functions” to introduce externally generated KEOs into the TROVE pipeline.
External Numerical Taylor-type KEO using “basic-functions”
As was mentioned above, TROVE can work with any ro-vibrational KEOs as long as they are represented as sum-of-products of 1D functions of vibrational coordinates. It is possible to input any externally constructed (non-singular) KEO and to be used with the TROVE pipeline. One of the most robust methods is to use the TROVE checkpoints functionality. Therefore, kinetic.chk can be used to input externally constructed KEOs in a numerical form, providing that the format (line and column orders, numbering) is preserved.
Once produced by TROVE, KEO can be saved in an ascii file in a form of expansion coefficients, which fully define it. The structure of the kinetic.chk is explained in Checkpoints.
An example of externally constructed exact KEO for the H2CS molecule using Mathematica can be found in [23MeOwTe] (both as analytic formulas and a Mathematica .nb script), where it was used with TROVE to compute an ExoMol line list. It is given using the “basic-functions” form as given by
This coordinates type (TRANSFORM) and associated frame is R-THETA-TAU (see Molecules).
The Mathemtica script Supp_Info_kinetic_energy_generator_h2cs_paper.nb (see supplementary to [23MeOwTe]) was used to produce the kinetic.chk in a numerical format using these coordinates in a rigid configuration. This can be best explained by a example, see the TROVE input at MOTY spectroscopic model.
Let us start with the basis set block:
BASIS
0,'JKtau', Jrot 0
1,'numerov','BOND-LENGTH', 'morse', range 0,17, resc 1.0, points 1000, borders -0.35,1.00
2,'numerov','BOND-LENGTH', 'morse', range 0, 7, resc 2.0, points 1000, borders -0.5,0.9
2,'numerov','BOND-LENGTH', 'morse', range 0, 7, resc 2.0, points 1000, borders -0.5,0.9
3,'numerov','ANGLE', 'linear', range 0,14, resc 1.0, points 1000, borders -1.2,1.2
3,'numerov','ANGLE', 'linear', range 0,14, resc 1.0, points 1000, borders -1.2,1.2
4,'numerov','DIHEDRAL', 'linear', range 0,14, resc 1.0, points 2000, borders -120., 120.0 deg
END
Here, the expansion types BOND-LENGTH, ANGLE and DIHEDRAL are implemented in TROVE and fully define the 1D expansion terms \(u_{l}(q_l)\) in Eq. (6). In TROVE, the expansion index \(l\) is used as an analogy for the exponent in the Taylor type expansion, Eq (2). The correlation between these indices and their actual forms are as follows.
BOND-LENGTH
Index |
Term |
0 |
1 |
1 |
\(1/r\) |
2 |
\(1/r^2\) |
ANGLE
Index |
Term |
0 |
1 |
1 |
\(\cos\alpha\) |
2 |
\(1/\tan\alpha\) |
3 |
\(1/\sin\alpha\) |
4 |
\(\sin\alpha\) |
5 |
\(1/\tan^2\alpha\) |
6 |
\(1/(\sin\alpha \tan\alpha)\) |
5 |
\(1/\sin^2\alpha\) |
DIHEDRAL
Index |
Term |
0 |
1 |
1 |
\(\cos(\tau/2)\) |
2 |
\(\sin(\tau/2)\) |
3 |
\(\cos^2(\tau/2)\) |
4 |
\(\cos(\tau/2)\sin(\tau/2)\) |
5 |
\(\sin^2(\tau/2)\) |
Other relevant input cards include:
COORDS local
TRANSFORM R-THETA-TAU
MOLTYPE zxy2
REFER-CONF RIGID
The corresponding numerical KEO of H2CS in the form of the checkpoint file kinetic.chk can be also found at MOTY spectroscopic model.
Although efficient in interfacing TROVE with external KEO constructors, the latter scheme “External Numerical Taylor-type” has a few disadvantages:
The 1D basic expansion types must be implemented in TROVE, which reduces its flexibility.
When representing as sum-of-products, TROVE treats it as a Tylor-type expansion of a given order \(N_{\rm kin}\) (defined with
KinOrder). The number of expansion terms grows very quickly with the varying of the expansion types. In the case of the H2CS , the formal expansion order of the KEO terms in Eq. (6) (KinOrder) was 15 (i.e. \(n+l+m+o+p+q\)). This was necessary to incorporate all the terms in the exact KEO of this molecule using the basic terms from the tables above. With this order, the number of the formal expansion terms in TROVE was 74613 (see cardNcoeffinkineti.chk) fr each KEO term \(G_{\lambda,\lambda'}\) and TROVE needed to allocated all of them, even though the actual number of non-zero terms was much smaller, only 208. That is, it is expensive. It should be noted that once inputted into the TROVE pipeline, with thesparserepresentation, TROVE will only work with 208 terms, but initially it would need to assume all 74613.
Ideally, we would like to have a similar functionality of the “External Numerical Taylor-type”, but with more flexibility in constructing KEO and also in the way it is inputted. In response to these requirements, the BASIC-FUNCTION feature has been introduced.
Basic-Function: External sum-of-products KEO of general type
Explicit H2CS function library
The current BASIC-FUNCTION grammar is described in SPAR input syntax and migration.
For the H2CS R-THETA-TAU coordinates, the corresponding library is:
BASIC-FUNCTION KINETIC
Mode 1 2
1 1 R -1 1
2 1 R -2 1
Mode 2 2
1 1 R -1 1
2 1 R -2 1
Mode 3 2
1 1 R -1 1
2 1 R -2 1
Mode 4 7
1 1 COS 1 1
2 1 COT 1 1
3 1 CSC 1 1
4 1 SIN 1 1
5 1 COT 2 1
6 2 COT 1 1 CSC 1 1
7 1 CSC 2 1
Mode 5 7
1 1 COS 1 1
2 1 COT 1 1
3 1 CSC 1 1
4 1 SIN 1 1
5 1 COT 2 1
6 2 COT 1 1 CSC 1 1
7 1 CSC 2 1
Mode 6 5
1 1 COS 1 0.5
2 1 SIN 1 0.5
3 1 COS 2 0.5
4 2 COS 1 0.5 SIN 1 0.5
5 1 SIN 2 0.5
END
Modes 1–3 contain \(1/r\) and \(1/r^2\). Modes 4 and 5 contain, in order,
Mode 6 contains
The mode lists are not interchangeable: the kinetic checkpoint uses these
indices to identify functions. SEC denotes secant; CSC denotes
cosecant. The identity index 0 is implicit. When supplying an explicit
constructor, use the matching automatic kinetic expansion settings.
This block is a syntax and function-map reference, not a standalone
calculation. See Molecular models and example status for the dependencies and current
validation status of the H2CS model.
Structure of kinetic.chk
For the Basic-Function feature, we use the extended format of the checkpoint file kinetic.chk, see Checkpoints. It has the following form
0 7 93 <--- Gvib Npoints,Norder,Ncoeff
1 1 1 0 3.86412653967 0 0 0 0 0 0
1 2 1 0 2.80960448197 0 0 0 1 0 0
1 3 1 0 2.80960448197 0 0 0 0 1 0
1 4 1 0 -2.80960448197 0 1 0 4 0 0
1 5 1 0 -2.80960448197 0 0 1 0 4 0
1 6 1 0 0 0 0 0 0 0 0
2 1 1 0 2.80960448197 0 0 0 1 0 0
2 2 1 0 36.2630831225 0 0 0 0 0 0
.....
where the first three integer numbers are \(N_{\rm points}\), \(N_{\rm order}\) and \(N_{\rm coeff}\) with \(N_{\rm coeff}\) is the number of non-zero coefficients. The columns of the main body are as follows:
----- ----- ---- --- ---------------- ---- ---- ---- ---- ----- ----
1 2 3 4 5 6 7 8 9 10 11
----- ----- ---- --- ---------------- ---- ---- ---- ---- ----- ----
1 1 1 0 3.86412653967 0 0 0 0 0 0
1 2 1 0 2.80960448197 0 0 0 1 0 0
1 3 1 0 2.80960448197 0 0 0 0 1 0
.....
The first 5 columns are as before:
col 1: the value of the index \(\lambda\) in \(G_{\lambda,\lambda'}^{\rm vib}\)
col 2: the value of the index \(\lambda'\) in \(G_{\lambda,\lambda'}^{\rm vib}\)
col 3: expansion index \(n\):
col 4: The non-rigid grid point \(k\) (\(\alpha_k\)), zero for the rigid and \(k=0\ldots N_{\rm ponits}\)
col 5: Value of the expansion parameter \(g_{\lambda,\lambda'}[n](\alpha_k)\).
col 6: \(i_1\)
col 7: \(i_2\)
col 8: \(i_3\)
col 9: \(i_4\)
col 10: \(i_5\)
col 11: \(i_6\) (i.e. \(i_M\)).
Special Expansion Automatic type in the basis set block
Finally, the expansion basic functions now have to be specified in the kinetic part of the basis block as the automatic type as in the following example:
BASIS
0,'JKtau', Jrot 0
1,'numerov','AUTOMATIC', 'morse', range 0, 8, resc 1.0, points 1000, borders -0.35,0.9
2,'numerov','AUTOMATIC', 'morse', range 0, 4, resc 2.0, points 1000, borders -0.5,0.9
2,'numerov','AUTOMATIC', 'morse', range 0, 4, resc 2.0, points 1000, borders -0.5,0.9
3,'numerov','AUTOMATIC', 'linear', range 0, 8, resc 1.0, points 1000, borders -1.0,1.0
3,'numerov','AUTOMATIC', 'linear', range 0, 8, resc 1.0, points 1000, borders -1.0,1.0
4,'numerov','AUTOMATIC', 'linear', range 0, 8, resc 1.0, points 2000, borders -120., 120.0 deg
END
This will make sure that the correct expansion functions are used when computing KEO matrix elements.
Coordinate transformations that return absolute values rather than displacements (for example R-SYMPHI-BETA for XY3) use the related types AUTO and, for a harmonic basis, AUTO-HARMON; see SPAR input syntax and migration and PH3: 1D-based and 2D-based SPAR kinetic energy operators.
For more on the basic functions with examples see below.
Examples for KEO Basic-functions feature