1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-12-22 20:36:01 +01:00

Added provider to repulsion in e_pot. #41

This commit is contained in:
v1j4y 2021-10-13 18:13:13 +02:00
parent ca61af7a3d
commit a6e625016c

View File

@ -841,6 +841,14 @@ qmckl_exit_code qmckl_provide_potential_energy(qmckl_context context) {
NULL);
}
rc = qmckl_provide_nucleus_repulsion(ctx);
if (rc != QMCKL_SUCCESS) {
return qmckl_failwith( context,
QMCKL_NOT_PROVIDED,
"qmckl_nucleus_repulsion",
NULL);
}
rc = qmckl_provide_en_potential(ctx);
if (rc != QMCKL_SUCCESS) {
return qmckl_failwith( context,