Giter Site home page Giter Site logo

oned_rd's Introduction

oned_rd

code to test 1D reaction diffusion

to compile, type: make

#EXECUTABLES rd_pair_oned_rewgt --calculates the association probability for a pair of particles in 1D vs time: p_assoc(t|x0), given an initial separation x0. Takes in x0 as a commandline input: e.g. if x0=1.1--> ./rd_pair_oned_rewght 1.1

--Model parameters are hard-coded (ka, D, sigma)

rd_trap_rewgt_1D --calculate the probability of being in a bound state between a trap molecule A surrounded by NB B molecules in 1D. theory is pBound= KeqB0/(1+KeqB0), where B0=NB/(L-sigma) (units of nm), and Keq=ka/kb (units of nm). outputs pBound vs time. Also outputs means of pBound for each repeat, performs multiple repeats. Takes NB as a commandline input: e.g. if NB=15 ./rd_trap_rewgt_1D 15

rd_trap_Events_rewgt1D --calculates bound probability, but stops when maxevents have converged, so at the simulation end, the pBound value should be closer to correct. Not as good for error estimates, and do not time average because outputs only when events occur.

oned_rd's People

Contributors

mjohn218 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.