Skip to content

Commit

Permalink
require values of zpsp for load as core
Browse files Browse the repository at this point in the history
  • Loading branch information
aoterodelaroza committed Feb 16, 2024
1 parent fc7fd8e commit 6bf142f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/[email protected]
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,10 @@ module subroutine field_new(f,seed,c,id,sptr,errmsg,ti)
end if
else
call f%set_options(seed%elseopt,errmsg) ! I need the zpsp now
if (all(f%zpsp < 0)) then
errmsg = "need zpsp values for load as core"
return
end if
call c%promolecular_grid(f%grid,seed%n,zpsp=f%zpsp)
f%name = "<generated>, core grid"
end if
Expand Down

0 comments on commit 6bf142f

Please sign in to comment.