2017-10-10 09:39:58 +02:00
|
|
|
open Core
|
2015-12-19 02:35:13 +01:00
|
|
|
|
|
|
|
|
2016-03-17 15:41:47 +01:00
|
|
|
let simulation_nucl_fitcusp_factor = lazy(
|
|
|
|
let default =
|
2016-03-17 15:51:45 +01:00
|
|
|
1.
|
2016-03-17 15:41:47 +01:00
|
|
|
in
|
|
|
|
if (Ezfio.has_pseudo_do_pseudo ()) then
|
|
|
|
if (Ezfio.get_pseudo_do_pseudo ()) then
|
|
|
|
0.
|
|
|
|
else
|
|
|
|
default
|
2016-01-12 23:57:45 +01:00
|
|
|
else
|
2016-03-17 15:41:47 +01:00
|
|
|
default
|
2016-01-12 23:57:45 +01:00
|
|
|
)
|
2015-12-19 02:35:13 +01:00
|
|
|
|
2016-03-17 15:51:45 +01:00
|
|
|
let electrons_elec_walk_num = lazy ( 100 )
|
|
|
|
let electrons_elec_walk_num_tot = lazy ( 1000 )
|
2016-01-18 20:17:37 +01:00
|
|
|
let jastrow_jast_type = lazy ( "None" )
|
|
|
|
let simulation_block_time = lazy ( 30 )
|
2016-03-17 15:41:47 +01:00
|
|
|
let simulation_ci_threshold = lazy ( 1.e-8 )
|
2016-01-18 20:17:37 +01:00
|
|
|
let simulation_method = lazy ( "VMC" )
|
|
|
|
let simulation_sampling = lazy ( "Langevin" )
|
|
|
|
let simulation_stop_time = lazy ( 3600 )
|
|
|
|
let simulation_time_step = lazy ( 0.15 )
|
2016-03-17 15:41:47 +01:00
|
|
|
let simulation_srmc_projection_time = lazy ( 1. )
|
2015-12-19 02:35:13 +01:00
|
|
|
|
|
|
|
let reset_defaults () =
|
|
|
|
List.iter ~f:(fun x -> Sys.remove ( (Lazy.force Qputils.ezfio_filename) ^ x))
|
|
|
|
[ "/electrons/elec_walk_num" ;
|
|
|
|
"/electrons/elec_walk_num_tot" ;
|
|
|
|
"/jastrow/jast_type" ;
|
|
|
|
"/simulation/block_time" ;
|
|
|
|
"/simulation/ci_threshold" ;
|
|
|
|
"/simulation/method" ;
|
|
|
|
"/simulation/sampling" ;
|
|
|
|
"/simulation/stop_time" ;
|
2016-03-17 15:41:47 +01:00
|
|
|
"/simulation/time_step" ;
|
|
|
|
"/simulation/nucl_fitcusp_factor" ]
|
2015-12-19 02:35:13 +01:00
|
|
|
|