(Work in progress) Demos projects in the book: Scientific Computing for Physicists
Please make sure you have Julia installed on your local machine. If not, please download and install it with juliaup.
- Clone this repository to your local machine:
$ git clone https://github.com/GiggleLiu/ScientificComputingDemos.git
- Initialize the environment first by running the following command in the terminal:
$ make init-PhysicsSimulation
- Run the demos by running the following command in the terminal:
$ make test-PhysicsSimulation $ make example-PhysicsSimulation
make-test-%
is used to run the tests in thePhysicsSimulation
directory.make-example-%
is used to run the examples in thePhysicsSimulation
directory. ThePhysicsSimulation
is the name of the directory where the demos are located. You can replace it with the name of the directory where the demos are located.
- MyFirstPackage - Lorenz attractor
- SimpleLinearAlgebra - Implement LU decomposition, QR decomposition and FFT et al.
- ImageProcessing - FFT and SVD for image processing
- CompressedSensing - Compressed sensing for image compression
- GraphClustering - Spectral clustering algorithm
- KernelPCA - Kernel method and Kernel PCA
- PhysicsSimulation - Simulate a spring system, leapfrog method, and eigenvalue problem
- LatticeBoltzmannModel - Lattice Boltzmann Fluid Dynamics
- LatticeGasCA - Lattice gas cellular automata
- IsingModel - Ferromagnetic Ising model using the Monte Carlo method
- Spinglass - Spin glass model using tensor networks and simulated annealing.
- SimpleTensorNetwork - Tensor networks for solving spin glass and inference problems