mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-12-23 04:44:03 +01:00
Added elec date for en_pot. #41
This commit is contained in:
parent
cff6b8a47a
commit
64b30dc10e
@ -1199,7 +1199,7 @@ qmckl_exit_code qmckl_provide_en_potential(qmckl_context context)
|
|||||||
if (!ctx->nucleus.provided) return QMCKL_NOT_PROVIDED;
|
if (!ctx->nucleus.provided) return QMCKL_NOT_PROVIDED;
|
||||||
|
|
||||||
/* Compute if necessary */
|
/* Compute if necessary */
|
||||||
if (ctx->nucleus.coord_date > ctx->nucleus.en_pot_date) {
|
if (ctx->electron.coord_new_date > ctx->nucleus.en_pot_date) {
|
||||||
|
|
||||||
/* Allocate array */
|
/* Allocate array */
|
||||||
if (ctx->nucleus.en_pot == NULL) {
|
if (ctx->nucleus.en_pot == NULL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user