bcfriesen / sb_solver Goto Github PK
View Code? Open in Web Editor NEWcalculates ion populations in thermal equilibrium by solving the Saha-Boltzmann equation
License: MIT License
calculates ion populations in thermal equilibrium by solving the Saha-Boltzmann equation
License: MIT License
/------------\ | DESCRIPTION | \------------/ This program calculates ion populations in homogeneous matter in thermal equilibrium by solving the Saha-Boltzmann equation. Currently it only works for hydrogen, but it can be extended to any mixture of atoms. /-----------------------\ | SOFTWARE DEPENDENCIES | \-----------------------/ - Fortran compiler - CMake /--------------------------\ | COMPILATION INSTRUCTIONS | \--------------------------/ CMake writes Makefiles for you, so that you (and I) don't have to. Compiling is simple: cd sb_solver mkdir build cd build cmake .. make Then use the included namelist (it expects the build directory to be called "build" so you have to change that if you called it something else): cd .. ./run /--------------------\ | READING THE OUTPUT | \--------------------/ The output is just a file with a bunch of columns of data. The first column is the temperature in Kelvin. The rest of the columns are the ion populations. In the case of pure hydrogen, for example, the columns are [temperature] [n_HI / n_H] [n_HII / n_H] ... ... ... /------------\ | REFERENCES | \------------/ "Radiative Transfer in Stellar Atmospheres" by Rob Rutten. This is a free PDF containing his lecture notes: http://www.staff.science.uu.nl/~rutte101/rrweb/rjr-edu/coursenotes/rutten_rtsa_notes_2003.pdf
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.