Code Monkey home page Code Monkey logo

3dgridcode's Introduction

3DGridCode

3DGridCode

3D Grid code used in PH5023 Monte Carlo Radiation Transport (MCRT) techniques @ St Andrews University

How to run

Using Make

First Download the code from this link

Then open a terminal and change directories to the codes location and unzip it.

Then type make into your terminal to compile the code.

Then type ./mcgrid to run the code.

Using FPM

First Download the code from this link

Then open a terminal and change directories to the codes location and unzip it.

Then type fpm run --profile release to compile and run the code.

Details on installing FPM on your platform can be found here.

Documentation

Documentation of the API can be found here.

Explanation of the code and the MCRT method can be found here.

Make & GFortran

Check version, or whether installed, by opening terminal and typing make --version and gfortran --version

Make

Mac: Install the xcode developer tools, found here. If make is still not installed, open terminal and type xcode-select - - install.

Linux (Debian): Open a terminal and install by typing sudo apt-get install build-essential.

GFortran

Mac: Homebrew offers an easy install via brew install gcc. The binaries can be installed directly from the gfortran maintainers, and additional info can be found here.

Linux (Debian): Open a terminal and install by typing sudo apt install gfortran.

More details on GFortran may be found here.

References

Code was adapted and heavily modified from K. Woods code found here.

This code (3DGridCode) formed the basis of the following research projects:

Depth Penetration of Light into Skin as a Function of Wavelength from 200 to 1000 nm

Development of a Predictive Monte Carlo Radiative Transfer Model for Ablative Fractional Skin Lasers

Imaging in thick samples, a phased Monte Carlo radiation transfer algorithm

Simulation of Intraoperative PDT for Glioblastoma using Monte Carlo Radiative Transport

3dgridcode's People

Contributors

lewisfish avatar i-brnrd avatar

Stargazers

 avatar

Watchers

 avatar Kostas Georgiou avatar

Forkers

i-brnrd

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.