ezpzbz / aiida-catmat

Collection of AiiDA WorkChains Developed in CATMAT project
MIT License
3 stars 1 forks source link

[Feature] Improve OCV #43

Closed ezpzbz closed 3 years ago

ezpzbz commented 4 years ago

context

I am currently facing cases where we have already calculated the lithiated phases and then, we chose few to calculate OCV on. Although AiiDA caching can be handy in not running the same calculation twice, it might not be enabled all the time. Therefore, it would be nice to have the workchain improved to handle these cases.

solution

We defined an input which would be specific to VaspOcvWorkChain as relaxed_discharged_structure. If it exists in the inputs, workchain would skip run_discharged.