This is the take-home project of the curriculum: Advanced Computational Physics.

The main projects consist of:

Applying-MPI-to-solve-the-multiplication-of-random-matrix-and-vector

Two modes:
Master and Slave modes.
Equivalent modes. curriculum

Monte Carlo method to a special kind of 1D Ising model

This program aims to apply simple Monte Carlo method to solve a special kind of Ising model with the ext-nearest-neighbor interactions. The traditional Ising model only consists of the nearest neighbor interactions, and it can be dividied into 2 types: ferromagnetic model and antiferromagnetic model. In the program, you can set J_2 = 0 to realize the general ferromagnetic model and antiferromagnetic models. Changing J_2, you will see a critical point in very low temperature (nearly zero), which is a special property not shown in 1D Ising models. image

The shooting method

Applying the shooting method to solve the single electron Schrodinger equation in one-dimensional double well V (x) = - x ^ 2 + x ^ {4} / 20. The turning point is X_ m=2. The lowest three eigenvalues and normalized wave function are obtained by ergodic method. The physical constants are all 1.

Requirements

C++ Language

Citation

This code is the product of work carried out by the group of PMI lab, Sun Yat-sen University. If the code helps, consider giving us a shout-out in your publications.