mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-08-17 10:51:44 +02:00
Check if electron is provided in provide shell vgl.
This commit is contained in:
parent
97ad53fd76
commit
7bac20bfae
@ -1872,6 +1872,13 @@ qmckl_exit_code qmckl_provide_ao_basis_shell_vgl(qmckl_context context)
|
|||||||
NULL);
|
NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!(ctx->electron.provided)) {
|
||||||
|
return qmckl_failwith( context,
|
||||||
|
QMCKL_NOT_PROVIDED,
|
||||||
|
"qmckl_electron",
|
||||||
|
NULL);
|
||||||
|
}
|
||||||
|
|
||||||
/* Compute if necessary */
|
/* Compute if necessary */
|
||||||
if (ctx->electron.coord_new_date > ctx->ao_basis.shell_vgl_date) {
|
if (ctx->electron.coord_new_date > ctx->ao_basis.shell_vgl_date) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user