10
0
mirror of https://github.com/LCPQ/quantum_package synced 2025-04-16 13:39:32 +02:00

Selectors and generators default -> 0.999 of norm

This commit is contained in:
Anthony Scemama 2014-09-06 01:01:44 +02:00
parent cf475aedf7
commit 17c71c3162
3 changed files with 24 additions and 35 deletions

View File

@ -18,8 +18,8 @@ cis_dressed
determinants determinants
n_states 1 n_states 1
n_det_max_jacobi 5000 n_det_max_jacobi 5000
threshold_generators 1.0 threshold_generators 0.999
threshold_selectors 1.0 threshold_selectors 0.999
read_wf False read_wf False
full_ci full_ci

View File

@ -1,22 +1,16 @@
use bitmasks use bitmasks
BEGIN_PROVIDER [ double precision, threshold_generators ] BEGIN_SHELL [ /usr/bin/python ]
implicit none from ezfio_with_default import EZFIO_Provider
BEGIN_DOC T = EZFIO_Provider()
! Percentage of the norm of the state-averaged wave function to T.set_type ( "double precision" )
! consider for the generators T.set_name ( "threshold_generators" )
END_DOC T.set_doc ( "Percentage of the norm of the state-averaged wave function to consider for the generators" )
logical :: exists T.set_ezfio_dir ( "determinants" )
PROVIDE ezfio_filename T.set_ezfio_name( "threshold_generators" )
call ezfio_has_determinants_threshold_generators(exists) T.set_output ( "output_dets" )
if (exists) then print T
call ezfio_get_determinants_threshold_generators(threshold_generators) END_SHELL
else
threshold_generators = 0.99d0
endif
call write_double(output_Dets,threshold_generators,'Threshold on generators')
END_PROVIDER
BEGIN_PROVIDER [ integer, N_det_generators ] BEGIN_PROVIDER [ integer, N_det_generators ]
implicit none implicit none

View File

@ -1,21 +1,16 @@
use bitmasks use bitmasks
BEGIN_PROVIDER [ double precision, threshold_selectors ] BEGIN_SHELL [ /usr/bin/python ]
implicit none from ezfio_with_default import EZFIO_Provider
BEGIN_DOC T = EZFIO_Provider()
! Percentage of the norm of the state-averaged wave function to T.set_type ( "double precision" )
! consider for the selectors T.set_name ( "threshold_selectors" )
END_DOC T.set_doc ( "Percentage of the norm of the state-averaged wave function to consider for the selectors" )
logical :: exists T.set_ezfio_dir ( "determinants" )
PROVIDE ezfio_filename T.set_ezfio_name( "threshold_selectors" )
call ezfio_has_determinants_threshold_selectors(exists) T.set_output ( "output_dets" )
if (exists) then print T
call ezfio_get_determinants_threshold_selectors(threshold_selectors) END_SHELL
else
threshold_selectors = 0.99d0
endif
call write_double(output_Dets,threshold_selectors,'Threshold on selectors')
END_PROVIDER
BEGIN_PROVIDER [ integer, psi_selectors_size ] BEGIN_PROVIDER [ integer, psi_selectors_size ]
implicit none implicit none