Skip to content
forked from weka511/smac

Code I have written for course: Statistical Mechanics and Computations

Notifications You must be signed in to change notification settings

Durgarao-Guttula/smac

Repository files navigation

Statistical Mechanics and Computations

homework_n

Programs from homework from course

tutorial_n

Programs from tutorial from course

lecture_n

Programs from lectures from course

Book

Code I have written for course: Statistical Mechanics and Computations and also to familiarize myself with git. Includes exercises from the textbook Statistical Mechanics: Algorithms and Computations by Werner Krauth.

Chapter 1 Monte Carlo Methods

  • smac.c Useful functions

Section 1.1 Popular Games in Monaco

  • 1.1 Implement Algorithm 1.1. Plot error and investigate relationship with N.
  • direct-plot.py
  • 1.2 Implement Algorithm 1.2. Plot error and rejection rate.
  • markov-pi.py
  • 1.3 Store state in file
  • direct.py
  • smacfiletoken.py
  • 1.4 Use table
  • markov-discrete-pebble.py
  • large-markov.pi
  • 1.8 Eigenvalues of transfer matrix
  • transfer.m
  • 1.13 Vectors within Uniform sphere
  • sphere-test.py

Section 1.2 Basic Sampling

  • 1.9 Sample permutations

  • permutation.py

  • permutation-test.py

  • permutation-histogram.py

  • 1.12 Gauss

  • naivegauss.py

  • boxmuller.py

Section 1.3 Statistical data analysis

  • 1.18 Binomial Convolution
  • binomialconvolution.py

Section 1.4 Computing

  • 1.22 Importance sampling
  • direct.gamma-zeta.py
  • markov-zeta.py

Chapter 2 Hard Disks and Spheres

Section 2.2 Boltzmann's Statistical Mechanics

  • directDisksAny.py

About

Code I have written for course: Statistical Mechanics and Computations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.5%
  • M 0.5%