Code author: Lori A. Burns
Section author: Lori A. Burns
Function to define a multistage energy method from combinations of basis set extrapolations and delta corrections and condense the components into a minimum number of calculations.
Aliases : | cbs() |
---|---|
Returns: | (float) – Total electronic energy in Hartrees |
Psi variables: |
Caution
Some features are not yet implemented. Buy a developer a coffee.
As represented in the equation below, a CBS energy method is defined in four sequential stages (scf, corl, delta, delta2) covering treatment of the reference total energy, the correlation energy, a delta correction to the correlation energy, and a second delta correction. Each is activated by its stage_wfn keyword and is only allowed if all preceding stages are active.
Here, is an energy or energy extrapolation scheme, and the following also hold.
A translation of this ungainly equation to example [5] below is as follows. In words, this is a double- and triple-zeta 2-point Helgaker-extrapolated CCSD(T) coupled-cluster correlation correction appended to a triple- and quadruple-zeta 2-point Helgaker-extrapolated MP2 correlation energy appended to a SCF/aug-cc-pVQZ reference energy.
The presence of a stage_wfn keyword is the indicator to incorporate (and check for stage_basis and stage_scheme keywords) and compute that stage in defining the CBS energy.
The cbs() function requires, at a minimum, name='scf' and scf_basis keywords to be specified for reference-step only jobs and name and corl_basis keywords for correlated jobs.
The following energy methods have been set up for cbs().
|
|
|
|
|
Parameters: |
|
---|
Currently, the basis set set through set commands have no influence on a cbs calculation.
Parameters: |
|
---|
Transformations of the energy through basis set extrapolation for each stage of the CBS definition. A complaint is generated if number of basis sets in stage_basis does not exactly satisfy requirements of stage_scheme. An exception is the default, 'highest_1', which uses the best basis set available. See Extrapolation Schemes for all available schemes.
Parameters: |
|
---|---|
Examples : |
>>> # [1] replicates with cbs() the simple model chemistry scf/cc-pVDZ: set basis cc-pVDZ energy('scf')
>>> cbs('scf', scf_basis='cc-pVDZ')
>>> # [2] replicates with cbs() the simple model chemistry mp2/jun-cc-pVDZ: set basis jun-cc-pVDZ energy('mp2')
>>> cbs('mp2', corl_basis='jun-cc-pVDZ')
>>> # [3] DTQ-zeta extrapolated scf reference energy
>>> cbs('scf', scf_basis='cc-pV[DTQ]Z', scf_scheme=scf_xtpl_helgaker_3)
>>> # [4] DT-zeta extrapolated mp2 correlation energy atop a T-zeta reference
>>> cbs('mp2', corl_basis='cc-pv[dt]z', corl_scheme=corl_xtpl_helgaker_2)
>>> # [5] a DT-zeta extrapolated coupled-cluster correction atop a TQ-zeta extrapolated mp2 correlation energy atop a Q-zeta reference
>>> cbs('conv-mp2', corl_basis='aug-cc-pv[tq]z', corl_scheme=corl_xtpl_helgaker_2, delta_wfn='ccsd(t)', delta_basis='aug-cc-pv[dt]z', delta_scheme=corl_xtpl_helgaker_2)
>>> # [6] a D-zeta ccsd(t) correction atop a DT-zeta extrapolated ccsd cluster correction atop a TQ-zeta extrapolated mp2 correlation energy atop a Q-zeta reference
>>> cbs('conv-mp2', corl_basis='aug-cc-pv[tq]z', corl_scheme=corl_xtpl_helgaker_2, delta_wfn='ccsd', delta_basis='aug-cc-pv[dt]z', delta_scheme=corl_xtpl_helgaker_2, delta2_wfn='ccsd(t)', delta2_wfn_lesser='ccsd', delta2_basis='aug-cc-pvdz')
>>> # [7] cbs() coupled with database()
>>> database('conv-mp2', 'BASIC', subset=['h2o','nh3'], symm='on', func=cbs, corl_basis='cc-pV[tq]z', corl_scheme=corl_xtpl_helgaker_2, delta_wfn='ccsd(t)', delta_basis='sto-3g')
At the beginning of a cbs() job is printed a listing of the individual energy calculations which will be performed. The output snippet below is from the example job [2] above. It shows first each model chemistry needed to compute the aggregate model chemistry requested through cbs(). Then, since, for example, an energy('ccsd(t)') yields CCSD(T), CCSD, MP2, and SCF energy values, the wrapper condenses this task list into the second list of minimum number of calculations which will actually be run.
Naive listing of computations required.
scf / aug-cc-pvqz for SCF TOTAL ENERGY
mp2 / aug-cc-pvtz for MP2 CORRELATION ENERGY
mp2 / aug-cc-pvqz for MP2 CORRELATION ENERGY
ccsd(t) / aug-cc-pvdz for CCSD(T) CORRELATION ENERGY
ccsd(t) / aug-cc-pvtz for CCSD(T) CORRELATION ENERGY
mp2 / aug-cc-pvdz for MP2 CORRELATION ENERGY
mp2 / aug-cc-pvtz for MP2 CORRELATION ENERGY
Enlightened listing of computations required.
mp2 / aug-cc-pvqz for MP2 CORRELATION ENERGY
ccsd(t) / aug-cc-pvdz for CCSD(T) CORRELATION ENERGY
ccsd(t) / aug-cc-pvtz for CCSD(T) CORRELATION ENERGY
At the end of a cbs() job is printed a summary section like the one below. First, in the components section, are listed the results for each model chemistry available, whether required for the cbs job (*) or not. Next, in the stages section, are listed the results for each extrapolation. The energies of this section must be dotted with the weightings in column Wt to get the total cbs energy. Finally, in the CBS section, are listed the results for each stage of the cbs procedure. The stage energies of this section sum outright to the total cbs energy.
==> Components <==
----------------------------------------------------------------------------------
Method / Basis Rqd Energy [H] Variable
----------------------------------------------------------------------------------
scf / aug-cc-pvqz * -1.11916375 SCF TOTAL ENERGY
mp2 / aug-cc-pvqz * -0.03407997 MP2 CORRELATION ENERGY
scf / aug-cc-pvdz -1.11662884 SCF TOTAL ENERGY
mp2 / aug-cc-pvdz * -0.02881480 MP2 CORRELATION ENERGY
ccsd(t) / aug-cc-pvdz * -0.03893812 CCSD(T) CORRELATION ENERGY
ccsd / aug-cc-pvdz -0.03893812 CCSD CORRELATION ENERGY
scf / aug-cc-pvtz -1.11881134 SCF TOTAL ENERGY
mp2 / aug-cc-pvtz * -0.03288936 MP2 CORRELATION ENERGY
ccsd(t) / aug-cc-pvtz * -0.04201004 CCSD(T) CORRELATION ENERGY
ccsd / aug-cc-pvtz -0.04201004 CCSD CORRELATION ENERGY
----------------------------------------------------------------------------------
==> Stages <==
----------------------------------------------------------------------------------
Stage Method / Basis Wt Energy [H] Scheme
----------------------------------------------------------------------------------
scf scf / aug-cc-pvqz 1 -1.11916375 highest_1
corl mp2 / aug-cc-pv[tq]z 1 -0.03494879 corl_xtpl_helgaker_2
delta ccsd(t) / aug-cc-pv[dt]z 1 -0.04330347 corl_xtpl_helgaker_2
delta mp2 / aug-cc-pv[dt]z -1 -0.03460497 corl_xtpl_helgaker_2
----------------------------------------------------------------------------------
==> CBS <==
----------------------------------------------------------------------------------
Stage Method / Basis Energy [H] Scheme
----------------------------------------------------------------------------------
scf scf / aug-cc-pvqz -1.11916375 highest_1
corl mp2 / aug-cc-pv[tq]z -0.03494879 corl_xtpl_helgaker_2
delta ccsd(t) - mp2 / aug-cc-pv[dt]z -0.00869851 corl_xtpl_helgaker_2
total CBS -1.16281105
----------------------------------------------------------------------------------
Scheme for total or correlation energies with a single basis or the highest zeta-level among an array of bases. Used by complete_basis_set().
Extrapolation scheme for reference energies with two adjacent zeta-level bases. Used by complete_basis_set().
Extrapolation scheme for reference energies with three adjacent zeta-level bases. Used by complete_basis_set().
Extrapolation scheme for correlation energies with two adjacent zeta-level bases. Used by complete_basis_set().