Code Monkey home page Code Monkey logo

polymercpp's Introduction

PolymerCpp

2D and 3D wormlike chain generator for Python and written in C++.

A wormlike chain generated by PolymerCpp

PolymerCpp is a small program for generating three-dimensional wormlike chains (WLC), a common and relatively simple model in polymer physics. A WLC describes a semi-flexible polymer, i.e. one that is rigid over short length scales and flexible over long ones. The characteristic length scale that separates these two regimes is known as the persistence length.

PolymerCpp provides a number of Python functions that exposes the C++ routines for generating 3D WLCs, including

  1. infinitesimally thin WLCs
  2. self-avoiding WLCs

PolymerCpp was written by Marcel Stefko and Kyle M. Douglass in the Laboratory of Experimental Biophysics for modeling DNA.

Important Note: The self-avoiding wormlike chain in this program does not produce the predicted scaling behavior for the moments (radius of gyration and end-to-end distance). Do not use the self-avoiding chain if you require exact agreement with the Flory theory.

Documentation

PolymerCpp documentation may be found at http://polymercpp.readthedocs.io/en/latest/

Important Note: The PolymerCpp API is not yet fixed and may change between versions.

License

PolymerCpp is licensed under the GNU General Public License, version 3. See the LICENSE file for more information.

PolymerCpp uses the Eigen library, which is licensed under the Mozilla Public License. For more information about Eigen, visit its website: http://eigen.tuxfamily.org/index.php?title=Main_Page

polymercpp's People

Contributors

kmdouglass avatar mstefko 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.