diff --git a/org/qmckl_jastrow.org b/org/qmckl_jastrow.org index d30b674..b0df92a 100644 --- a/org/qmckl_jastrow.org +++ b/org/qmckl_jastrow.org @@ -1423,10 +1423,10 @@ rc = qmckl_set_jastrow_dependencies(context); assert(rc == QMCKL_SUCCESS); /* Check if Jastrow is properly initialized */ -//assert(qmckl_jastrow_provided(context)); +assert(qmckl_jastrow_provided(context)); -//double asymp_jasb[2]; -//rc = qmckl_get_jastrow_asymp_jasb(context, asymp_jasb); +double asymp_jasb[2]; +rc = qmckl_get_jastrow_asymp_jasb(context, asymp_jasb); //// calculate asymp_jasb //assert(fabs(asymp_jasb[0]-0.5323750557252571) < 1.e-12); @@ -1721,14 +1721,14 @@ print("factor_ee :",factor_ee) #+begin_src c :tangle (eval c_test) -///* Check if Jastrow is properly initialized */ -//assert(qmckl_jastrow_provided(context)); -// -//double factor_ee[walk_num]; -//rc = qmckl_get_jastrow_factor_ee(context, factor_ee); -// -//// calculate factor_ee -//assert(fabs(factor_ee[0]+4.282760865958113) < 1.e-12); +/* Check if Jastrow is properly initialized */ +assert(qmckl_jastrow_provided(context)); + +double factor_ee[walk_num]; +rc = qmckl_get_jastrow_factor_ee(context, factor_ee); + +// calculate factor_ee +assert(fabs(factor_ee[0]+4.282760865958113) < 1.e-12); #+end_src