Coder Social home page Coder Social logo

modify_lammps_data's Introduction

@reach me at [email protected]

modify_lammps_data

Delete bonds, angles and dihedrals type and arrange it to a new lammps data file, For example: At most you can delete 1 bond, 1 angle and 1 dihedral type at a time.

Note1.

You can delete only one combination of bond, angle or dihedral type at a time

Note2.

Your input LAMMPS data should start from "Atom" Section, shown below

Example Input file shown below as well as provided in the main directory of this tool

1 1 3 0.000000 8.051000 -4.466000 -3.810000 #CS
2 1 9 0.000000 7.372000 -4.735000 -3.027000 #HS
3 1 9 0.000000 7.548000 -4.524000 -4.753000 #HS

Bonds

1 7 1 2
2 7 1 3
3 8 1 4

Angles

1 15 2 1 3
2 16 2 1 4
3 8 2 1 5
4 16 3 1 4

Dihedrals

1 11 2 1 4 14
2 11 2 1 4 18
3 11 2 1 4 10

Note3.

After building modified LAMMPS data, you need to see the total number of remaining bonds, angles and dihedrals, also if you deleted 2 types of bonds out of 8 types then remaining 6 bond types should be updated in the header section of LAMMPS Data file.

modify_lammps_data's People

Contributors

kishantchem avatar

Stargazers

 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.