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:
parent
ca61af7a3d
commit
a6e625016c
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user