4#include "ParamHandler.h"
45 out.
Minit = P.get<
size_t>(
"Minit");
46 out.
Qinit = P.get<
size_t>(
"Qinit");
47 out.
Mlimit = P.get<
size_t>(
"Mlimit");
49 out.
tol_state = P.get<
double>(
"tol_state");
64 double tmp1 = P.get<
double>(
"max_alpha");
65 size_t lim = P.get<
size_t>(
"lim_alpha");
66 out.
max_alpha_rsvd = [tmp1,lim] (
size_t i) {
return (i<lim)? tmp1:0.;};
68 tmp1 = P.get<
double>(
"min_alpha");
69 out.
min_alpha_rsvd = [tmp1,lim] (
size_t i) {
return (i<lim)? tmp1:0.;};
71 tmp1 = P.get<
double>(
"eps_svd");
72 out.
eps_svd = [tmp1] (
size_t i) {
return tmp1;};
74 size_t tmp2 = P.get<
size_t>(
"Mincr_abs");
75 out.
Mincr_abs = [tmp2] (
size_t i) {
return tmp2;};
77 tmp2 = P.get<
size_t>(
"Mincr_per");
78 out.
Mincr_per = [tmp2] (
size_t i) {
return tmp2;};
80 tmp1 = P.get<
double>(
"Mincr_rel");
81 out.
Mincr_rel = [tmp1] (
size_t i) {
return tmp1;};
83 tmp2 = P.get<
size_t>(
"min_Nsv");
84 out.
min_Nsv = [tmp2] (
size_t i) {
return tmp2;};
86 int tmp3 = P.get<
int>(
"max_Nrich");
87 out.
max_Nrich = [tmp3] (
size_t i) {
return tmp3;};
103 out.
Minit = P.get<
size_t>(
"Minit");
104 out.
Qinit = P.get<
size_t>(
"Qinit");
105 out.
Mlimit = P.get<
size_t>(
"Mlimit");
107 out.
tol_var = P.get<
double>(
"tol_var");
108 out.
tol_state = P.get<
double>(
"tol_state");
121 size_t tmp1 = P.get<
double>(
"max_deltaM");
122 size_t lim = P.get<
size_t>(
"lim_deltaM");
123 out.
max_deltaM = [tmp1,lim] (
size_t i) {
return (i<lim)? tmp1:0.;};
125 size_t tmp2 = P.get<
size_t>(
"Mincr_abs");
126 out.
Mincr_abs = [tmp2] (
size_t i) {
return tmp2;};
128 tmp1 = P.get<
double>(
"Mincr_rel");
129 out.
Mincr_rel = [tmp1] (
size_t i) {
return tmp1;};
VUMPS::CONTROL::GLOB get_VumpsGlobParam(const vector< Param > ¶ms={}) const
std::map< string, std::any > defaults
VUMPS::CONTROL::DYN get_VumpsDynParam(const vector< Param > ¶ms={}) const
bool TRIVIALLY_CONSTRUCTED
ParamReturner(const std::map< string, std::any > &defaults_input)
DMRG::CONTROL::DYN get_DmrgDynParam(const vector< Param > ¶ms={}) const
DMRG::CONTROL::GLOB get_DmrgGlobParam(const vector< Param > ¶ms={}) const
function< double(size_t)> eps_svd
function< int(size_t)> max_Nrich
function< size_t(size_t)> Mincr_per
function< size_t(size_t)> Mincr_abs
function< double(size_t)> max_alpha_rsvd
function< size_t(size_t)> min_Nsv
function< double(size_t)> Mincr_rel
function< double(size_t)> min_alpha_rsvd
DMRG::CONVTEST::OPTION CONVTEST
function< size_t(size_t)> max_deltaM
function< double(size_t)> Mincr_rel
function< size_t(size_t)> Mincr_abs