siesta-project / aiida_siesta_plugin

Source code for the AiiDA-Siesta package (plugin and workflows). See wiki
Other
6 stars 11 forks source link

Optical #113

Closed bosonie closed 2 years ago

bosonie commented 2 years ago

Support for optical calculations

bosonie commented 2 years ago

From my side, this is ready to be merged @albgar

albgar commented 2 years ago

It is good. Just minor comments:

The **EpsilonWorkChain** is a simple extension of the **SietaBaseWorkChain** 
that introduces a post-processing step to obtain the low frequency dielectric
constant..

In fact, it is the electronic contribution to the static dielectric constant. (For polar systems there is an extra lattice contribution)

bosonie commented 2 years ago

Thanks @albgar, I fixed the example and the documentation you reported.

The example_kgridcutoff.py is not part of the package, probably in your local repo? In any case, great you spot the error in the other example. This is the risk to have several PRs open, I changed systematically all the examples in the refactoring but this one was on a different branch!

Regarding the utils/protocols_system/input_generators.py the syntax you see is correct since get_kpoints_mesh return a 2x3 array where the first line is the mesh and the second is the displacements.

The epsilon output is not required due to a bad design of the BaseRestartWorkChain I believe. I do not remember exactly but I'll look into it.

For now I marge, so we go on.