Extending and Modifying LAMMPS Writing Your Own Source Code: A pragmatic guide to extending LAMMPS as per custom simulation requirements (Paperback)
暫譯: 擴展與修改 LAMMPS:撰寫自訂源代碼的實用指南
Mubin, Shafat, Li, Jichen
- 出版商: Packt Publishing
- 出版日期: 2021-02-19
- 售價: $1,800
- 貴賓價: 9.5 折 $1,710
- 語言: 英文
- 頁數: 394
- 裝訂: Quality Paper - also called trade paper
- ISBN: 1800562268
- ISBN-13: 9781800562264
-
相關分類:
生物資訊 Bioinformatics
立即出貨 (庫存=1)
相關主題
商品描述
Understand the LAMMPS source code and modify it to meet your research needs, and run simulations for bespoke applications involving forces, thermostats, pair potentials and more with ease
Key Features
- Understand the structure of the LAMMPS source code
- Implement custom features in the LAMMPS source code to meet your research needs
- Run example simulations involving forces, thermostats, and pair potentials based on implemented features
Book Description
LAMMPS is one of the most widely used tools for running simulations for research in molecular dynamics. While the tool itself is fairly easy to use, more often than not you'll need to customize it to meet your specific simulation requirements. Extending and Modifying LAMMPS bridges this learning gap and helps you achieve this by writing custom code to add new features to LAMMPS source code. Written by ardent supporters of LAMMPS, this practical guide will enable you to extend the capabilities of LAMMPS with the help of step-by-step explanations of essential concepts, practical examples, and self-assessment questions.
This LAMMPS book provides a hands-on approach to implementing associated methodologies that will get you up and running and productive in no time. You'll begin with a short introduction to the internal mechanisms of LAMMPS, and gradually transition to an overview of the source code along with a tutorial on modifying it. As you advance, you'll understand the structure, syntax, and organization of LAMMPS source code, and be able to write your own source code extensions to LAMMPS that implement features beyond the ones available in standard downloadable versions.
By the end of this book, you'll have learned how to add your own extensions and modifications to the LAMMPS source code that can implement features that suit your simulation requirements.
What you will learn
- Identify how LAMMPS input script commands are parsed within the source code
- Understand the architecture of the source code
- Relate source code elements to simulated quantities
- Learn how stored quantities are accessed within the source code
- Explore the mechanisms controlling pair styles, computes, and fixes
- Modify the source code to implement custom features in LAMMPS
Who this book is for
This book is for students, faculty members, and researchers who are currently using LAMMPS or considering switching to LAMMPS, have a basic knowledge of how to use LAMMPS, and are looking to extend LAMMPS source code for research purposes. This book is not a tutorial on using LAMMPS or writing LAMMPS scripts, and it is assumed that the reader is comfortable with the basic LAMMPS syntax. The book is geared toward users with little to no experience in source code editing. Familiarity with C++ programming is helpful but not necessary.
商品描述(中文翻譯)
**了解 LAMMPS 原始碼並修改以滿足您的研究需求,輕鬆運行涉及力、恆溫器、對勢能等的定制應用模擬**
#### 主要特點
- 了解 LAMMPS 原始碼的結構
- 在 LAMMPS 原始碼中實現自定義功能以滿足您的研究需求
- 根據實現的功能運行涉及力、恆溫器和對勢能的示例模擬
#### 書籍描述
LAMMPS 是進行分子動力學研究模擬的最廣泛使用的工具之一。雖然該工具本身相當易於使用,但您往往需要對其進行自定義以滿足特定的模擬要求。《擴展與修改 LAMMPS》填補了這一學習空白,幫助您通過編寫自定義代碼來為 LAMMPS 原始碼添加新功能。這本實用指南由 LAMMPS 的熱心支持者撰寫,將通過逐步解釋基本概念、實用示例和自我評估問題,幫助您擴展 LAMMPS 的功能。
這本 LAMMPS 書籍提供了一種實踐方法來實施相關方法論,讓您迅速上手並提高生產力。您將從對 LAMMPS 內部機制的簡短介紹開始,逐漸過渡到原始碼的概述以及修改它的教程。隨著進展,您將了解 LAMMPS 原始碼的結構、語法和組織,並能夠編寫自己的 LAMMPS 原始碼擴展,實現超出標準可下載版本的功能。
在本書結束時,您將學會如何為 LAMMPS 原始碼添加自己的擴展和修改,以實現符合您模擬需求的功能。
#### 您將學到什麼
- 確定 LAMMPS 輸入腳本命令如何在原始碼中解析
- 了解原始碼的架構
- 將原始碼元素與模擬量相關聯
- 學習如何在原始碼中訪問存儲的量
- 探索控制對樣式、計算和修正的機制
- 修改原始碼以在 LAMMPS 中實現自定義功能
#### 本書適合誰
本書適合目前使用 LAMMPS 或考慮轉向 LAMMPS 的學生、教職員和研究人員,具備基本的 LAMMPS 使用知識,並希望擴展 LAMMPS 原始碼以進行研究。這本書不是使用 LAMMPS 或編寫 LAMMPS 腳本的教程,假設讀者對基本的 LAMMPS 語法感到舒適。本書針對幾乎沒有原始碼編輯經驗的用戶。熟悉 C++ 編程是有幫助的,但不是必要的。
作者簡介
Dr. Shafat Mubin (PhD, Physics, Penn State) is an assistant professor of physics at Valdosta State University. Since his graduate student days, he has worked with molecular simulations using primarily LAMMPS and has investigated a variety of simulation systems employing a wide array of techniques. He possesses extensive experience in writing custom routines and extending the LAMMPS source code, and hosts his own website to instruct and demonstrate the same to other users. At present, he is engaged in computational physics research including molecular simulations, and endeavours to train undergraduate students in computational techniques to help them better prepare for careers in physics.
Jichen Li (graduated from Qingdao University of Science and Technology) is now studying for his master's degree at the University of Science and Technology of China. He used LAMMPS to conduct many molecular simulations to explore the relationship between polymer microstructure and macro mechanical and rheological properties. He developed several modeling and post-processing frameworks for LAMMPS and had a certain understanding of its program architecture. He dedicated to the community construction and wrote many columns and tutorials for LAMMPS starters. At present, he is working on the trans-scale simulation and the combination of deep learning and simulation.
作者簡介(中文翻譯)
Dr. Shafat Mubin(物理學博士,賓州州立大學)是瓦爾多斯塔州立大學的物理助理教授。自研究生時期以來,他主要使用 LAMMPS 進行分子模擬,並研究了各種模擬系統,採用多種技術。他在編寫自定義例程和擴展 LAMMPS 源代碼方面擁有豐富的經驗,並擁有自己的网站,以指導和展示這些內容給其他用戶。目前,他從事計算物理研究,包括分子模擬,並努力培訓本科生掌握計算技術,以幫助他們更好地為物理學職業做好準備。
Jichen Li(畢業於青島科技大學)目前在中國科學技術大學攻讀碩士學位。他使用 LAMMPS 進行了許多分子模擬,以探索聚合物微觀結構與宏觀機械和流變性質之間的關係。他為 LAMMPS 開發了幾個建模和後處理框架,並對其程式架構有一定的了解。他致力於社區建設,為 LAMMPS 初學者撰寫了許多專欄和教程。目前,他正在研究跨尺度模擬以及深度學習與模擬的結合。
目錄大綱
- MD Theory and Simulation Practices
- LAMMPS Syntax and Source Code Repository
- Source Code Structure and Stages of Execution
- Accessing Information by Variables, Arrays, and Methods
- Understanding Pair Styles
- Understanding Computes
- Understanding Fixes
- Exploring Supporting Classes
- Modifying Pair Potentials
- Modifying Force Applications
- Modifying Thermostats
- Appendix A: Building LAMMPS with CMake
- Appendix B: Debugging Programs
- Appendix C: Getting Familiar with MPI
- Appendix D: Compatibility with Version 29Oct20
目錄大綱(中文翻譯)
- MD Theory and Simulation Practices
- LAMMPS Syntax and Source Code Repository
- Source Code Structure and Stages of Execution
- Accessing Information by Variables, Arrays, and Methods
- Understanding Pair Styles
- Understanding Computes
- Understanding Fixes
- Exploring Supporting Classes
- Modifying Pair Potentials
- Modifying Force Applications
- Modifying Thermostats
- Appendix A: Building LAMMPS with CMake
- Appendix B: Debugging Programs
- Appendix C: Getting Familiar with MPI
- Appendix D: Compatibility with Version 29Oct20