Code Monkey home page Code Monkey logo

cylammps's Introduction

Introduction

Library

CyLammps is a python library used to analyze molecular dynamics simulations. Simulations are produced by LAMMPS. All the quantity calculated are really important to study the mechanical properties of amorphous materials. Among the others there is the coarse-grained stress and the stress spatial autocorrelation functions.

I used Cython as a programming language in order to translate the code into an optimized C code and to compile it as a Python extension module. This allows me to obtain very fast program execution and to preserve the advantages of Python.

Compile the code

To compile the extension in the current directory do:

python setup.py build_ext --inplace

Then, to import the extension module in your python code use:

from CyLammps import *

Publications

This code was used quite a lot by me in the following papers:

  1. Plastic ridge formation in a compressed thin amorphous film

  2. Neural Networks Reveal the Impact of the Vibrational Dynamics in the Prediction of the Long-Time Mobility of Molecular Glassformers

  3. Nanoscale Elastoplastic Wrinkling of Ultrathin Molecular Films

cylammps's People

Contributors

gianfranco95 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.