Rapidly find the points lying inside a cut-off radius

This completely vectorized code helps you find all points within a cut-off radius from given point.
1,1K Downloads
Aktualisiert 11 Jun 2020

Lizenz anzeigen

Say, in applications such as Molecular Dynamics, you may be required to find out which atoms lye within a cut-off radius (for example, the Van-der Waals distance of interaction, or say that interaction distance for the Tersoff Brenner Potential, etc..).

In any other applications, you may be required to identify a set of points lying within a circle.

This code helps you do that job, very fast. This code is completely vectorized and is fast.

Please try the code testrun.m to know how to use this code. Thank you.

Zitieren als

sunil anandatheertha (2024). Rapidly find the points lying inside a cut-off radius (https://www.mathworks.com/matlabcentral/fileexchange/35791-rapidly-find-the-points-lying-inside-a-cut-off-radius), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2016a
Kompatibel mit R2016a bis R2020a
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Chemistry finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Veröffentlicht Versionshinweise
2.0

Faster

1.0.0.0