Giter Site home page Giter Site logo

mygrmonty's Introduction

igrmonty

A monte carlo code for relativistic radiative transport, including synchrotron emission and absorption, bremsstrahlung emission (absorption is negligible), and compton scattering.

For publications, please cite this journal article: Dolence, J.C., Gammie, C.F., Moscibrodzka, M., and Leung, P.K.: 2009, ApJS 184, 387. https://ui.adsabs.harvard.edu/abs/2009ApJS..184..387D/abstract And this repository: https://github.com/AFD-Illinois/igrmonty

Substantial contributions made by Ben Ryan George Wong Ricardo Castro-Yarza Chi-kwan Chan

prepped for public release cfg 18 Apr 2020

quick-and-dirty overview

... can be found here.

adding new electron distribution functions

  1. add new names/parameters to src/model_radiation.h

  2. add absorptivity to src/radiation.c:alpha_inv_abs(...)

  3. add eDF in src/hotcross.c:dNdgammae_[X], modifying dNdgammae as appropriate

4a. modify eDF functions in src/compton.c - dfdgam(...) - fdist(...) -- note overlap with dNdgammae in src/hotcross.c

4b. ensure src/compton.c:sample_beta_distr_num(...) produces reasonable results on edge cases

5a. implement jnu_[X] and int_jnu_[X] in src/jnu_mixed.c. it's likely the integral calls into a table

5b. modify switches in src/jnu_mixed.c -- jnu(...), jnu_ratio_brems(...), int_jnu(...)

mygrmonty's People

Contributors

gnwong avatar rndsrc avatar brryan avatar cfgammie 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.