mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2025-01-08 20:33:40 +01:00
Added provider to repulsion in e_pot. #41
This commit is contained in:
parent
ca61af7a3d
commit
a6e625016c
@ -841,6 +841,14 @@ qmckl_exit_code qmckl_provide_potential_energy(qmckl_context context) {
|
|||||||
NULL);
|
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);
|
rc = qmckl_provide_en_potential(ctx);
|
||||||
if (rc != QMCKL_SUCCESS) {
|
if (rc != QMCKL_SUCCESS) {
|
||||||
return qmckl_failwith( context,
|
return qmckl_failwith( context,
|
||||||
|
Loading…
Reference in New Issue
Block a user