2016-04-07 17:54:13 +02:00
|
|
|
program mrsc2
|
2016-04-01 23:31:48 +02:00
|
|
|
implicit none
|
2016-04-07 17:54:13 +02:00
|
|
|
double precision, allocatable :: energy(:)
|
|
|
|
allocate (energy(N_states))
|
|
|
|
|
2016-04-01 23:31:48 +02:00
|
|
|
!mrmode : 1=mrcepa0, 2=mrsc2 add, 3=mrsc2 sub
|
|
|
|
mrmode = 2
|
2016-04-07 17:54:13 +02:00
|
|
|
|
|
|
|
read_wf = .True.
|
|
|
|
SOFT_TOUCH read_wf
|
2016-04-01 23:31:48 +02:00
|
|
|
call print_cas_coefs
|
2016-04-07 17:54:13 +02:00
|
|
|
call set_generators_bitmasks_as_holes_and_particles
|
|
|
|
call run(N_states,energy)
|
|
|
|
if(do_pt2_end)then
|
|
|
|
call run_pt2(N_states,energy)
|
|
|
|
endif
|
|
|
|
deallocate(energy)
|
2016-04-01 23:31:48 +02:00
|
|
|
end
|
|
|
|
|
|
|
|
|