[ase-users] Geometry Constraints abinit calculations
Ask Hjorth Larsen
asklarsen at gmail.com
Fri Aug 31 14:01:28 CEST 2018
Dear Willem,
Den fre. 31. aug. 2018 kl. 10.14 skrev Offermans Willem via ase-users
<ase-users at listserv.fysik.dtu.dk>:
>
> Dear ASE friends,
>
> I try to do some geometry optimisation with abinit. I like to fix some atoms in my defined slab of Pd atoms.
>
> I have added the following to my python script:
>
> # Fix layers:
> mask = [atom.tag > 2 for atom in slab]
> slab.set_constraint(FixAtoms(mask=mask))
>
> I would expect that these constraints would translate to some *fix* variables in abinit input file. However, there are no parameters concerning geometry constraints in the abinit input files.
>
> Neither can I find some code concerning geometry constraints in ../ase/calculators/abinit.py
>
> Do I miss something?
Constraints are for use with ASE optimizers. The calculator does not
know about them. There are nevertheless some calculators which choose
to include representations of e.g. FixAtoms constraints in the input
files in order to facilitate the use of internal optimizers. But as
you see, Abinit is not one of them.
Best regards
Ask
>
>
> Met vriendelijke groeten,
> Mit freundlichen Grüßen,
>
>
> Willem Offermans
> Researcher Electrocatalysis SCT
> VITO NV | Boeretang 200 | 2400 Mol
> Phone:+32(0)14335263 Mobile:+32(0)492182073
>
> Willem.Offermans at Vito.be
>
>
> Indien u VITO Mol bezoekt, hou aub er dan rekening mee dat de hoofdingang voortaan enkel bereikbaar is vanuit de richting Dessel-Retie, niet vanuit richting Mol, zie vito.be/route.
> If you plan to visit VITO at Mol, then please note that the main entrance can only be reached coming from Dessel-Retie and no longer coming from Mol, see vito.be/en/contact/locations.
> VITO Disclaimer: http://www.vito.be/e-maildisclaimer
> _______________________________________________
> ase-users mailing list
> ase-users at listserv.fysik.dtu.dk
> https://listserv.fysik.dtu.dk/mailman/listinfo/ase-users
More information about the ase-users
mailing list