1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-07-18 00:43:51 +02:00

Reinstated tests for factor_en. #22

This commit is contained in:
vijay gopal chilkuri 2021-07-08 11:53:13 +05:30
parent 0575638e5b
commit be341f3afd

View File

@ -2436,14 +2436,14 @@ print("factor_en :",factor_en)
#+begin_src c :tangle (eval c_test)
///* Check if Jastrow is properly initialized */
//assert(qmckl_jastrow_provided(context));
//
//double factor_en[walk_num];
//rc = qmckl_get_jastrow_factor_en(context, factor_en);
//
//// calculate factor_en
//assert(fabs(factor_en[0]+5.865822569188727) < 1.e-12);
/* Check if Jastrow is properly initialized */
assert(qmckl_jastrow_provided(context));
double factor_en[walk_num];
rc = qmckl_get_jastrow_factor_en(context, factor_en);
// calculate factor_en
assert(fabs(factor_en[0]+5.865822569188727) < 1.e-12);
#+end_src