This is a tutorial for elastodynamic contact simulation using MUDA (a CUDA programming paradigm).
The basic architecture of the simulators follows @liminchen's Numpy version solid-sim-tutorial.
The tutorial (written by a beginner of simulation) aims at helping beginners learn how to write simple CUDA codes for efficient solid simulations on the GPU. An introductory section for the first example of this tutorial can be found at https://phys-sim-book.github.io/lec4.6-gpu_accel.html.
- Clone the repository
git clone https://github.com/Roushelfy/solid-sim-muda
cd solid-sim-muda
git submodule update --init --recursive
- build with cmake
mkdir build
cd build
cmake ..
cmake --build .
Eigen3==3.4.0
CMake>=3.29
CUDA>=11.0