aiidalab / aiidalab-qe

AiiDAlab App for Quantum ESPRESSO
https://aiidalab-qe.readthedocs.io/
MIT License
9 stars 14 forks source link

Handling Molecules #734

Open AndresOrtegaGuerrero opened 1 month ago

AndresOrtegaGuerrero commented 1 month ago

The current app misses the possibility of treating properly Molecules and tricks have to be used in this case: the user has to override defaults and reduce k-point mesh accuracy to have only 1 k-point.

Moreover, Bandstructure is not deactivated.

AndresOrtegaGuerrero commented 1 month ago

@cpignedoli

cpignedoli commented 1 month ago

I would add a simple pre-check of the structure:

superstar54 commented 1 month ago

Thanks, @cpignedoli , for the suggestions.

what about other plugins?

This pre-check is done in step 1 when the user confirms the structure, so it applies to all plugins.

if the structure has no cell add a std cell (e.g. +5A in each direction) treat it as a molecule and inform the user of the action taken pointing out how this can be overridden

One suggestion of the cell size: since in PW, we usually use MT correction for an isolated system, we need to add a cell that guaranteed the cell is twice as large as charge density (~the molecule's size).