10
0
mirror of https://github.com/LCPQ/quantum_package synced 2024-11-09 07:33:53 +01:00
quantum_package/plugins/mrcepa0/mrcepa0.irp.f

30 lines
579 B
Fortran
Raw Normal View History

2016-03-04 16:52:46 +01:00
program mrcepa0
implicit none
2016-04-07 17:54:13 +02:00
double precision, allocatable :: energy(:)
allocate (energy(N_states))
2016-05-20 09:44:22 +02:00
!mrmode : 1=mrcepa0, 2=mrsc2 add, 3=mrcc
mrmode = 1
2016-04-07 17:54:13 +02:00
read_wf = .True.
SOFT_TOUCH read_wf
call set_generators_bitmasks_as_holes_and_particles
2016-11-15 18:39:44 +01:00
if (.True.) then
integer :: i,j
do j=1,N_states
do i=1,N_det
psi_coef(i,j) = CI_eigenvectors(i,j)
enddo
enddo
TOUCH psi_coef
endif
call print_cas_coefs
2016-04-07 17:54:13 +02:00
call run(N_states,energy)
if(do_pt2_end)then
call run_pt2(N_states,energy)
endif
deallocate(energy)
2016-03-04 16:52:46 +01:00
end