mirror of
https://github.com/QuantumPackage/qp2.git
synced 2024-09-12 10:48:31 +02:00
Merge pull request #191 from Ydrnan/qp2_dev
output print dipole for n_states >= 1 + read_wf true
This commit is contained in:
commit
b70ae8dc58
@ -57,11 +57,20 @@ END_PROVIDER
|
|||||||
|
|
||||||
subroutine print_dipole_moments
|
subroutine print_dipole_moments
|
||||||
implicit none
|
implicit none
|
||||||
|
integer :: i
|
||||||
print*, ''
|
print*, ''
|
||||||
print*, ''
|
print*, ''
|
||||||
print*, '****************************************'
|
print*, '****************************************'
|
||||||
print*, 'x_dipole_moment = ',x_dipole_moment
|
write(*,'(A10)',advance='no') ' State : '
|
||||||
print*, 'y_dipole_moment = ',y_dipole_moment
|
do i = 1,N_states
|
||||||
print*, 'z_dipole_moment = ',z_dipole_moment
|
write(*,'(i16)',advance='no') i
|
||||||
|
end do
|
||||||
|
write(*,*) ''
|
||||||
|
write(*,'(A17,100(1pE16.8))') 'x_dipole_moment = ',x_dipole_moment
|
||||||
|
write(*,'(A17,100(1pE16.8))') 'y_dipole_moment = ',y_dipole_moment
|
||||||
|
write(*,'(A17,100(1pE16.8))') 'z_dipole_moment = ',z_dipole_moment
|
||||||
|
!print*, 'x_dipole_moment = ',x_dipole_moment
|
||||||
|
!print*, 'y_dipole_moment = ',y_dipole_moment
|
||||||
|
!print*, 'z_dipole_moment = ',z_dipole_moment
|
||||||
print*, '****************************************'
|
print*, '****************************************'
|
||||||
end
|
end
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
program print_dipole
|
program print_dipole
|
||||||
implicit none
|
implicit none
|
||||||
|
read_wf = .True.
|
||||||
|
TOUCH read_wf
|
||||||
call print_dipole_moments
|
call print_dipole_moments
|
||||||
|
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user