SBM

SBM

SBM a is a set of C tools aiming at testing Monte Carlo algorithms for the simulations of diffusion processes in one-dimensional discontinuous media.

Features:

  • SBM, SBMlin Uffink and Hoteit algorithms
  • Four benchmark tests to compare the algorithms:
    • Layer: check the distribution of the particles in the steady state regime.
    • Bimaterial: check the proportions of particles on each side of the interface in the steady state and transient regime.
    • Bimaterial absorbing: check if the first exit time is correctly estimated.
    • Symmetry: check if the density transition function of the scheme is symmetric.
  • A detailed description is given in doi: 10.1016/j.jcp.2016.03.003.

Dependencies

  • Gnu Scientific Library : random numbers, special functions, …
  • Jansson library : for configuring and recording some simulation results in the JSON format. Not used for the main library sbm which may be used as a standalone library.
  • log library: for logging operations, included in the source code.
  • Cmake : to compile the executable.

Densities of the schemes

Densities of the schemes after one step in a discontinuous medium for different starting points close to the interface located at 2.

How to download?

If you are interested to try, download the code via Git repository SBM.

How to install the library and use it?

The executable are compiled using Cmake. More details are given here.

How to cite?

Please cite the following publication if you use SBM in your work:

A. Lejay and G. Pichot, Simulating Diffusion Processes in Discontinuous Media: Benchmark Tests, Journal of Computational Physics, 314, 348-413 (2016). doi: 10.1016/j.jcp.2016.03.003

SBM Licence

This work is licenced under the LGPL. The Licence can be found here.

Any questions?

Please feel free to contact us:

Comments are closed.