forked from nwchemgit/nwchem
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding wavefunction and operator datatypes.
- Loading branch information
Showing
3 changed files
with
44 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
!----------------------------------------------------------------------- | ||
!> \brief Data type to hold operators | ||
!> | ||
!> The key operators in the model are: | ||
!> - The 1-electron operator (kinetic + nuclear attraction energy) | ||
!> - The 2-electron operator (2-electron repulsion) | ||
!> - The overlap matrix | ||
!> Each of these operators will be stored in a global array. This data | ||
!> type holds all these operators together. | ||
!> | ||
type noft_operators_tp | ||
!> The 1-electron operator (T+V) | ||
integer :: el_1 | ||
!> The 2-electron operator | ||
integer :: el_2 | ||
!> The overlap operator | ||
integer :: s | ||
end type noft_operators_tp | ||
!----------------------------------------------------------------------- |
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,23 @@ | ||
!----------------------------------------------------------------------- | ||
!> \brief Data type to hold wavefunctions | ||
!> | ||
!> The key component of a wavefunction are | ||
!> - The orthogonalizing transformation | ||
!> - The molecular orbitals for alpha and beta electrons | ||
!> - The tilde orbitals for alpha and beta electrons | ||
!> Each of these components will be stored in a global array. This data | ||
!> type holds all these components together. | ||
!> | ||
type noft_wavefunction_tp | ||
!> The orthogonalizing transformation | ||
integer :: so | ||
!> The alpha molecular orbitals | ||
integer :: mo_a | ||
!> The beta molecular orbitals | ||
integer :: mo_b | ||
!> The alpha tilde orbitals | ||
integer :: to_a | ||
!> The beta tilde orbitals | ||
integer :: to_b | ||
end type noft_wavefunction_tp | ||
!----------------------------------------------------------------------- |