Skip to content

MariaSun/Parallel_Mie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Parallel_Mie

The package performs Electric Monte Carlo Mie scattering routine in parallel using MPI interface.

To compile and run the package one would need to install OpenMP (say, https://github.com/firemodels/fds/wiki/Installing-Open-MPI-on-OS-X)

The paclage uses pre-excisting subroutines. The links and references are provided in the comments in first lines of the .c-files

Incoming plane-wave photon beam is generated into 1X1 mum ring. The scattered photons' position, weight and amplitude are calculated in photon.c (main-function). Library function mesh.c redistributes the photons into a mesh, adding up the wieghts of the photons arriving at the same sells of the detector.

MMA notebook gives the example of the output of the code. The corresponding pront statement is in mesh.c.

About

The package performs Mie scattering routine in parallel using MPI interface.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors