[ase-users] Function delete atoms within a certain distance
Michael Walter
Michael.Walter at fmf.uni-freiburg.de
Mon Nov 18 21:03:33 CET 2019
Am Mo., 18. Nov. 2019 um 19:01 Uhr schrieb Daria Tombolelli via ase-users <
ase-users at listserv.fysik.dtu.dk>:
> Hi all,
> ASE users.
>
> Is there an already implemented function that greps atoms within a certain
> distance from other atoms?
>
you might want to use the function find_connected() implemented in
gpaw.cluster.Cluster (
https://gitlab.com/gpaw/gpaw/blob/master/gpaw/cluster.py#L40)
Michael
> To explain: I have an equilibrated water box and want to insert a molecule
> in it and delete the water molecules that happen to be within 2Ang from any
> atom of the molecule.
>
> I wrote myself a function of course but I was wondering if there might be
> already a function implemented that I have been able to find.
>
> Best regards,
> Daria Tombolelli
> _______________________________________________
> ase-users mailing list
> ase-users at listserv.fysik.dtu.dk
> https://listserv.fysik.dtu.dk/mailman/listinfo/ase-users
--
------------------------------------------
PD Dr Michael Walter
Addresses:
- Fraunhofer IWM, Wöhlerstrasse 11, D-79108 Freiburg i. Br., Germany
Tel.: +49 761 5142 296
- FIT Freiburg Centre for Interactive Materials and Bioinspired
Technologies, Georges-Köhler-Allee 105, 79110 Freiburg, Germany
Tel: +49 761 203 95072
email: Michael.Walter at fmf.uni-freiburg.de
www: http://www.functional-nanosystems.uni-freiburg.de/People/PDWalter/group
publications: http://scholar.google.com/citations?user=vlmryKEAAAAJ&hl=en
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.fysik.dtu.dk/pipermail/ase-users/attachments/20191118/d7449c30/attachment.html>
More information about the ase-users
mailing list