mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-12-23 04:44:03 +01:00
Renamed nucleus_kappa to rescale_factor_kappa after merge. #17
This commit is contained in:
parent
4c3479d1bd
commit
5a9f6da803
@ -710,8 +710,9 @@ int64_t walk_num = chbrclf_walk_num;
|
|||||||
int64_t elec_num = chbrclf_elec_num;
|
int64_t elec_num = chbrclf_elec_num;
|
||||||
int64_t elec_up_num = chbrclf_elec_up_num;
|
int64_t elec_up_num = chbrclf_elec_up_num;
|
||||||
int64_t elec_dn_num = chbrclf_elec_dn_num;
|
int64_t elec_dn_num = chbrclf_elec_dn_num;
|
||||||
double rescale_factor_kappa_ee = 2.0;
|
double rescale_factor_kappa_ee = 1.0;
|
||||||
double rescale_factor_kappa_en = 3.0;
|
double rescale_factor_kappa_en = 1.0;
|
||||||
|
double nucl_rescale_factor_kappa = 1.0;
|
||||||
double* elec_coord = &(chbrclf_elec_coord[0][0][0]);
|
double* elec_coord = &(chbrclf_elec_coord[0][0][0]);
|
||||||
|
|
||||||
int64_t nucl_num = chbrclf_nucl_num;
|
int64_t nucl_num = chbrclf_nucl_num;
|
||||||
@ -2299,7 +2300,7 @@ assert(qmckl_electron_provided(context));
|
|||||||
rc = qmckl_set_nucleus_num (context, nucl_num);
|
rc = qmckl_set_nucleus_num (context, nucl_num);
|
||||||
assert(rc == QMCKL_SUCCESS);
|
assert(rc == QMCKL_SUCCESS);
|
||||||
|
|
||||||
rc = qmckl_set_nucleus_kappa (context, nucl_rescale_factor_kappa);
|
rc = qmckl_set_nucleus_rescale_factor (context, nucl_rescale_factor_kappa);
|
||||||
assert(rc == QMCKL_SUCCESS);
|
assert(rc == QMCKL_SUCCESS);
|
||||||
|
|
||||||
rc = qmckl_set_nucleus_charge (context, charge);
|
rc = qmckl_set_nucleus_charge (context, charge);
|
||||||
|
@ -426,7 +426,7 @@ qmckl_set_nucleus_rescale_factor(qmckl_context context, const double rescale_fac
|
|||||||
if (rescale_factor_kappa <= 0.0) {
|
if (rescale_factor_kappa <= 0.0) {
|
||||||
return qmckl_failwith( context,
|
return qmckl_failwith( context,
|
||||||
QMCKL_INVALID_ARG_2,
|
QMCKL_INVALID_ARG_2,
|
||||||
"qmckl_set_nucleus_kappa",
|
"qmckl_set_nucleus_rescale_factor",
|
||||||
"rescale_factor_kappa cannot be <= 0.");
|
"rescale_factor_kappa cannot be <= 0.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user