Skip to content

Simulating light propagation in a material using Monte Carlo method

Notifications You must be signed in to change notification settings

JasonShiao/MCS_Light_Propagation

Repository files navigation

Monte-Carlo Simulation for Light Propagation in materials

Run CMake

cmake -S . -B build

Build

cmake --build build

Others

  1. When we reduce n for rand()%n/n, the std of number of data between 20 intervals will decrease!

If we need a finer rand with acceptable std -> rand()*5%10000/10000

  1. When step size decreases, the data will be closer to the curve generated from Beer-Lambert law

About

Simulating light propagation in a material using Monte Carlo method

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published