10
0
mirror of https://gitlab.com/scemama/eplf synced 2024-09-27 20:20:44 +02:00
eplf/src/det.irp.f

37 lines
697 B
FortranFixed
Raw Normal View History

2009-10-12 17:37:07 +02:00
BEGIN_PROVIDER [ integer, det_num ]
implicit none
BEGIN_DOC
! Number of determinants
END_DOC
det_num = 1
call get_determinants_det_num(det_num)
if (det_num < 1) then
call abrt(irp_here,'det_num should be > 0')
endif
END_PROVIDER
BEGIN_PROVIDER [ integer, det, (elec_alpha_num-mo_closed_num,det_num,2) ]
&BEGIN_PROVIDER [ real, det_coef, (det_num) ]
implicit none
BEGIN_DOC
! det : Description of the active orbitals of the determinants
2010-04-28 16:07:18 +02:00
2009-10-12 17:37:07 +02:00
! det_coef : Determinant coefficients
END_DOC
2010-04-28 16:07:18 +02:00
if (elec_alpha_num > mo_closed_num) then
det = 0
call get_determinants_det_occ(det)
endif
2009-10-12 17:37:07 +02:00
det_coef = 0.
2010-04-28 16:07:18 +02:00
det_coef(1) = 1.
2009-10-12 17:37:07 +02:00
call get_determinants_det_coef(det_coef)
END_PROVIDER