forked from psi4/psi4
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Attempt docs fix * Force GHA * auto-generated samples from docs build * Update CMakeLists.txt Co-authored-by: Lori A. Burns <[email protected]> * Update doc/sphinxman/source/notes_c.rst Co-authored-by: Lori A. Burns <[email protected]> * Update doc/sphinxman/source/notes_c.rst Co-authored-by: GitHub Action <[email protected]> Co-authored-by: Lori A. Burns <[email protected]>
- Loading branch information
1 parent
9f7b865
commit 478584c
Showing
97 changed files
with
1,244 additions
and
243 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#! LR-PE-ADC(1)/sto-3g formaldehyde in presence of 6 water molecules | ||
#! cross-reference against PE-CIS from Psi4 itself | ||
|
||
molecule formaldehyde { | ||
C 2.0092420208996 3.8300915804899 0.8199294419789 | ||
O 2.1078857690998 2.0406638776593 2.1812021228452 | ||
H 2.0682421748693 5.7438044586615 1.5798996515014 | ||
H 1.8588483602149 3.6361694243085 -1.2192956060942 | ||
symmetry c1 | ||
units au | ||
no_reorient | ||
no_com | ||
} | ||
|
||
set { | ||
reference rhf | ||
basis sto-3g | ||
roots_per_irrep [5] | ||
qc_module adcc | ||
pe true | ||
scf_type pk | ||
tdscf_states 5 | ||
tdscf_tda true | ||
} | ||
|
||
set pe { | ||
potfile fa_6w.pot | ||
} | ||
|
||
|
||
_, wfn = energy('td-hf', return_wfn=True) | ||
ref_energies = [] | ||
for i in range(5): | ||
ref_energies.append(wfn.variable(f'TD-HF ROOT 0 -> ROOT {i+1} EXCITATION ENERGY - A SYMMETRY')) | ||
|
||
_, wfn = properties('adc(1)', properties=["oscillator_strength", "dipole"], environment='linear_response', return_wfn=True) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#! LR-PE-ADC(1)/sto-3g formaldehyde in presence of 6 water molecules | ||
#! cross-reference against PE-CIS from Psi4 itself | ||
|
||
molecule formaldehyde { | ||
C 2.0092420208996 3.8300915804899 0.8199294419789 | ||
O 2.1078857690998 2.0406638776593 2.1812021228452 | ||
H 2.0682421748693 5.7438044586615 1.5798996515014 | ||
H 1.8588483602149 3.6361694243085 -1.2192956060942 | ||
symmetry c1 | ||
units au | ||
no_reorient | ||
no_com | ||
} | ||
|
||
set { | ||
reference rhf | ||
basis sto-3g | ||
roots_per_irrep [5] | ||
qc_module adcc | ||
pe true | ||
scf_type pk | ||
tdscf_states 5 | ||
tdscf_tda true | ||
} | ||
|
||
set pe { | ||
potfile fa_6w.pot | ||
} | ||
|
||
|
||
_, wfn = energy('td-hf', return_wfn=True) | ||
ref_energies = [] | ||
for i in range(5): | ||
ref_energies.append(wfn.variable(f'TD-HF ROOT 0 -> ROOT {i+1} EXCITATION ENERGY - A SYMMETRY')) | ||
|
||
_, wfn = properties('adc(1)', properties=["oscillator_strength", "dipole"], environment='linear_response', return_wfn=True) | ||
|
||
compare_arrays(np.array([ref_energies]).T, wfn.variable("ADC(1) excitation energies").np, #TEST | ||
1e-5, "ADC(1) excitation energies") #TEST |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#! ADIIS test case, from 10.1063/1.3304922 | ||
|
||
molecule { | ||
2 1 | ||
Cd 0.0000000000 0.0000000000 0.0000000000 | ||
N 0.0000000000 0.0000000000 -2.2600010635 | ||
N -0.6854437203 0.0000000000 -4.3480354859 | ||
C 0.6760533303 0.0000000000 -4.3850694419 | ||
C 1.0852404753 0.0000000000 -3.0912317094 | ||
C -1.0447523879 0.0000000000 -3.0602202054 | ||
H 1.2315299626 0.0000000000 -5.3007589304 | ||
H 2.0886410569 0.0000000000 -2.7110772355 | ||
H -2.0687499916 0.0000000000 -2.7265149874 | ||
H -1.3131700977 0.0000000000 -5.1747180497 | ||
} | ||
|
||
set guess core # With this guess, un-accelerated DIIS will fail. | ||
set scf_type pk | ||
set basis 3-21G | ||
set scf_initial_accelerator adiis | ||
set maxiter 15 | ||
energy = energy('scf') | ||
|
||
compare_values(-5663.1433914266744978, energy, 6, "SCF Energy") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#! ADIIS test case, from 10.1063/1.3304922 | ||
|
||
molecule { | ||
2 1 | ||
Cd 0.0000000000 0.0000000000 0.0000000000 | ||
N 0.0000000000 0.0000000000 -2.2600010635 | ||
N -0.6854437203 0.0000000000 -4.3480354859 | ||
C 0.6760533303 0.0000000000 -4.3850694419 | ||
C 1.0852404753 0.0000000000 -3.0912317094 | ||
C -1.0447523879 0.0000000000 -3.0602202054 | ||
H 1.2315299626 0.0000000000 -5.3007589304 | ||
H 2.0886410569 0.0000000000 -2.7110772355 | ||
H -2.0687499916 0.0000000000 -2.7265149874 | ||
H -1.3131700977 0.0000000000 -5.1747180497 | ||
} | ||
|
||
set guess core # With this guess, un-accelerated DIIS will fail. | ||
set scf_type pk | ||
set basis 3-21G | ||
set scf_initial_accelerator adiis | ||
set maxiter 15 | ||
energy = energy('scf') | ||
|
||
compare_values(-5663.1433914266744978, energy, 6, "SCF Energy") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#! EDIIS test case from 10.1063/1.1470195 | ||
|
||
molecule { | ||
U | ||
F 1 1.98 | ||
F 1 1.98 2 109.4712 | ||
F 1 1.98 2 109.4712 3 120.0000 | ||
F 1 1.98 2 109.4712 3 -120.0000 | ||
} | ||
|
||
set guess gwh # With this guess, un-accelerated DIIS will fail | ||
set scf_type pk | ||
set basis lanl2dz | ||
set scf_initial_accelerator ediis | ||
set maxiter 28 | ||
energy = energy('b3lyp') | ||
|
||
compare_values(-451.2300583940044021, energy, 6, "SCF Energy") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#! EDIIS test case from 10.1063/1.1470195 | ||
|
||
molecule { | ||
U | ||
F 1 1.98 | ||
F 1 1.98 2 109.4712 | ||
F 1 1.98 2 109.4712 3 120.0000 | ||
F 1 1.98 2 109.4712 3 -120.0000 | ||
} | ||
|
||
set guess gwh # With this guess, un-accelerated DIIS will fail | ||
set scf_type pk | ||
set basis lanl2dz | ||
set scf_initial_accelerator ediis | ||
set maxiter 28 | ||
energy = energy('b3lyp') | ||
|
||
compare_values(-451.2300583940044021, energy, 6, "SCF Energy") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.