mdapy: A flexible and efficient analysis software for molecular dynamics simulations

Python(编程语言) 计算机科学 计算科学 韦尔莱积分法 软件 编译程序 分子动力学 库达 程序设计语言 理论计算机科学 并行计算 物理 量子力学
作者
Yong-Chao Wu,Jian-Li Shao
出处
期刊:Computer Physics Communications [Elsevier BV]
卷期号:290: 108764-108764 被引量:5
标识
DOI:10.1016/j.cpc.2023.108764
摘要

The mdapy is a library for pre- and postprocessing molecular dynamics simulation data. Benefitting from the just-in-time compile technology of TaiChi mdapy can be written in pure Python while possessing similar speed to those written in C++. mdapy is designed with highly paralleled and makes full advantages of modern computer resources on both multicore CPU and GPU architecture. The package implements a fast module to find the neighbors of particles in both free and periodic boundaries, based on which it offers a wide variety of methods to analyze atomic environments, such as standard centrosymmetry parameters, radial distribution function and newer methods, such as atomic entropy fingerprint. In addition, mdapy can be used to create the geometric structure of polycrystals with metallic or graphene grain boundaries by Voronoi diagram. mdapy can directly read the DUMP and DATA format defined in LAMMPS code, and, in practice, it accepts any other format by converting it into NumPy ndarray format. This design philosophy enables seamless integration with abundant scientific ecosystems in the Python community and easy cooperation with other analysis codes like OVITO or freud. Program Title: mdapy CPC Library link to program files: https://doi.org/10.17632/dtdkxvcsc9.1 Developer's repository link: https://github.com/mushroomfire/mdapy Code Ocean capsule: https://codeocean.com/capsule/5271472 Licensing provisions: BSD 3-clause Programming language: Python, C++ Nature of problem: Atomic environment analysis and generation of the initial structure are important in molecular dynamics simulations. Many analysis methods relying on particle neighbors, such as radial distribution functions and atomic entropy, are computationally intensive and need to be carefully implemented to scale to large systems. Traditional code is often written in C++ or Fortran to guarantee performance while causing difficulty in installation and secondary development due to the complexity of the programming language. Solution method: mdapy is written in parallel to quickly perform neighbor finding, provides a set of analysis methods and creates an atomic geometry structure on multicore CPU and GPU. Over 95 percent of mdapy is written in Python with a uniform API to call. All data are stored in NumPy ndarray, making users easy to install, use and secondary develop. Additional comments including restrictions and unusual features: 1. mdapy provides fast parallel implementations of neighbor finding in periodic and free boundary system. 2. mdapy can generate a polycrystalline model with graphene grain boundaries. 3. mdapy is helpful for analyzing the melting process by the mean squared displacement and Lindemann index at the atomic level. 4. mdapy is very easy to install via pip install mdapy without any compile steps and can be run on Windows, Linux and Mac OS with Python 3.7-3.10. 5. mdapy has detailed documentation to make it easier to use.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
爆米花应助桃子采纳,获得30
刚刚
害人精x完成签到,获得积分10
2秒前
2秒前
3秒前
研友_VZG7GZ应助王金金采纳,获得10
5秒前
111发布了新的文献求助10
6秒前
NexusExplorer应助沉静的梦秋采纳,获得10
6秒前
希望天下0贩的0应助有钱采纳,获得30
6秒前
共享精神应助DANNI采纳,获得10
7秒前
冷酷男人完成签到,获得积分10
8秒前
翠花发布了新的文献求助10
9秒前
香菇蛋发布了新的文献求助10
9秒前
顾矜应助z7采纳,获得30
9秒前
超级的飞莲完成签到,获得积分20
10秒前
13秒前
14秒前
14秒前
Orange应助小恩采纳,获得10
16秒前
16秒前
16秒前
年轻的孤晴完成签到 ,获得积分10
17秒前
17秒前
17秒前
18秒前
SCI硬通货完成签到 ,获得积分10
20秒前
20秒前
21秒前
夏目贵者完成签到,获得积分10
21秒前
Ducal发布了新的文献求助10
21秒前
YY完成签到,获得积分10
22秒前
22秒前
123应助壮观的惋庭采纳,获得10
22秒前
z7发布了新的文献求助30
23秒前
斯文败类应助何何采纳,获得10
23秒前
htzz发布了新的文献求助10
23秒前
王金金完成签到,获得积分10
24秒前
悦耳映真发布了新的文献求助10
24秒前
马户发布了新的文献求助30
25秒前
香菇蛋完成签到,获得积分10
26秒前
Jerry完成签到,获得积分10
26秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Developing Genetic Editing Tools for Lysobacter 2000
卤化钙钛矿人工突触的研究 2000
Моделирование процессов самоорганизации в кристаллообразующих системах 1000
History of U.S. Space Surveillance and Satellite Cataloging 1000
Malcolm Fraser : a biography 700
Handbook of Optical Systems,Volume 6:Advanced Physical Optics 666
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6512956
求助须知:如何正确求助?哪些是违规求助? 8306439
关于积分的说明 17746384
捐赠科研通 5615135
什么是DOI,文献DOI怎么找? 2923975
邀请新用户注册赠送积分活动 1901150
关于科研通互助平台的介绍 1762850