10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-12-22 20:35:19 +01:00

Rename module AOs MOs into {}_Basis

This commit is contained in:
Thomas Applencourt 2015-06-24 09:37:38 +02:00
parent ac37c2dab8
commit 90bec251cb
22 changed files with 29 additions and 29 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 100 KiB

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@ -1 +1 @@
MOs MO_Basis

View File

@ -1 +1 @@
MOs Pseudo MO_Basis Pseudo

View File

@ -6,7 +6,7 @@ Needed Modules
.. image:: tree_dependency.png .. image:: tree_dependency.png
* `MOs <http://github.com/LCPQ/quantum_package/tree/master/src/MOs>`_ * `MO_Basis <http://github.com/LCPQ/quantum_package/tree/master/src/MO_Basis>`_
* `Pseudo <http://github.com/LCPQ/quantum_package/tree/master/src/Pseudo>`_ * `Pseudo <http://github.com/LCPQ/quantum_package/tree/master/src/Pseudo>`_
Documentation Documentation

View File

@ -0,0 +1 @@
AO_Basis Electrons

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -30,7 +30,7 @@ subroutine mo_as_eigvectors_of_mo_matrix(matrix,n,m,label)
double precision, allocatable :: mo_coef_new(:,:), R(:,:),eigvalues(:) double precision, allocatable :: mo_coef_new(:,:), R(:,:),eigvalues(:)
!DIR$ ATTRIBUTES ALIGN : $IRP_ALIGN :: mo_coef_new, R !DIR$ ATTRIBUTES ALIGN : $IRP_ALIGN :: mo_coef_new, R
call write_time(output_mos) call write_time(output_mo_basis)
if (m /= mo_tot_num) then if (m /= mo_tot_num) then
print *, irp_here, ': Error : m/= mo_tot_num' print *, irp_here, ': Error : m/= mo_tot_num'
stop 1 stop 1
@ -40,21 +40,21 @@ subroutine mo_as_eigvectors_of_mo_matrix(matrix,n,m,label)
call lapack_diag(eigvalues,R,matrix,size(matrix,1),size(matrix,2)) call lapack_diag(eigvalues,R,matrix,size(matrix,1),size(matrix,2))
integer :: i integer :: i
write (output_mos,'(A)'), 'MOs are now **'//trim(label)//'**' write (output_mo_basis,'(A)'), 'MOs are now **'//trim(label)//'**'
write (output_mos,'(A)'), '' write (output_mo_basis,'(A)'), ''
write (output_mos,'(A)'), 'Eigenvalues' write (output_mo_basis,'(A)'), 'Eigenvalues'
write (output_mos,'(A)'), '-----------' write (output_mo_basis,'(A)'), '-----------'
write (output_mos,'(A)'), '' write (output_mo_basis,'(A)'), ''
write (output_mos,'(A)'), '======== ================' write (output_mo_basis,'(A)'), '======== ================'
do i = 1, m do i = 1, m
write (output_mos,'(I8,X,F16.10)'), i,eigvalues(i) write (output_mo_basis,'(I8,X,F16.10)'), i,eigvalues(i)
enddo enddo
write (output_mos,'(A)'), '======== ================' write (output_mo_basis,'(A)'), '======== ================'
write (output_mos,'(A)'), '' write (output_mo_basis,'(A)'), ''
call dgemm('N','N',ao_num,m,m,1.d0,mo_coef_new,size(mo_coef_new,1),R,size(R,1),0.d0,mo_coef,size(mo_coef,1)) call dgemm('N','N',ao_num,m,m,1.d0,mo_coef_new,size(mo_coef_new,1),R,size(R,1),0.d0,mo_coef,size(mo_coef,1))
deallocate(mo_coef_new,R,eigvalues) deallocate(mo_coef_new,R,eigvalues)
call write_time(output_mos) call write_time(output_mo_basis)
mo_label = label mo_label = label
SOFT_TOUCH mo_coef mo_label SOFT_TOUCH mo_coef mo_label
@ -69,7 +69,7 @@ subroutine mo_as_eigvectors_of_mo_matrix_sort_by_observable(matrix,observable,n,
integer,allocatable :: iorder(:) integer,allocatable :: iorder(:)
!DIR$ ATTRIBUTES ALIGN : $IRP_ALIGN :: mo_coef_new, R !DIR$ ATTRIBUTES ALIGN : $IRP_ALIGN :: mo_coef_new, R
call write_time(output_mos) call write_time(output_mo_basis)
if (m /= mo_tot_num) then if (m /= mo_tot_num) then
print *, irp_here, ': Error : m/= mo_tot_num' print *, irp_here, ': Error : m/= mo_tot_num'
stop 1 stop 1
@ -120,21 +120,21 @@ subroutine mo_as_eigvectors_of_mo_matrix_sort_by_observable(matrix,observable,n,
print*,'' print*,''
enddo enddo
write (output_mos,'(A)'), 'MOs are now **'//trim(label)//'**' write (output_mo_basis,'(A)'), 'MOs are now **'//trim(label)//'**'
write (output_mos,'(A)'), '' write (output_mo_basis,'(A)'), ''
write (output_mos,'(A)'), 'Eigenvalues' write (output_mo_basis,'(A)'), 'Eigenvalues'
write (output_mos,'(A)'), '-----------' write (output_mo_basis,'(A)'), '-----------'
write (output_mos,'(A)'), '' write (output_mo_basis,'(A)'), ''
write (output_mos,'(A)'), '======== ================' write (output_mo_basis,'(A)'), '======== ================'
do i = 1, m do i = 1, m
write (output_mos,'(I8,X,F16.10)'), i,eigvalues(i) write (output_mo_basis,'(I8,X,F16.10)'), i,eigvalues(i)
enddo enddo
write (output_mos,'(A)'), '======== ================' write (output_mo_basis,'(A)'), '======== ================'
write (output_mos,'(A)'), '' write (output_mo_basis,'(A)'), ''
call dgemm('N','N',ao_num,m,m,1.d0,mo_coef_new,size(mo_coef_new,1),R,size(R,1),0.d0,mo_coef,size(mo_coef,1)) call dgemm('N','N',ao_num,m,m,1.d0,mo_coef_new,size(mo_coef_new,1),R,size(R,1),0.d0,mo_coef,size(mo_coef,1))
deallocate(mo_coef_new,R,eigvalues) deallocate(mo_coef_new,R,eigvalues)
call write_time(output_mos) call write_time(output_mo_basis)
mo_label = label mo_label = label
SOFT_TOUCH mo_coef mo_label SOFT_TOUCH mo_coef mo_label
@ -168,12 +168,12 @@ subroutine mo_sort_by_observable(observable,label)
enddo enddo
enddo enddo
write (output_mos,'(A)'), 'MOs are now **'//trim(label)//'**' write (output_mo_basis,'(A)'), 'MOs are now **'//trim(label)//'**'
write (output_mos,'(A)'), '' write (output_mo_basis,'(A)'), ''
deallocate(mo_coef_new,value) deallocate(mo_coef_new,value)
! call write_time(output_mos) ! call write_time(output_mo_basis)
mo_label = label mo_label = label
SOFT_TOUCH mo_coef mo_label SOFT_TOUCH mo_coef mo_label

View File

@ -1 +0,0 @@
AOs Electrons