MATH 607E (2021WT1) Term Project: The Modified Preconditioned Conjugate Gradient (MPCG) Method for Cloth Simulation
Contains source code and the project report.
Investigated the Preconditioned Conjugate Gradient (PCG) method following Shewchuk's introductory text. Implemented Baraff and Witkin's MPCG solver and integrated it to my 4x4 square-shaped cloth simulator.
sim.ipynb
: MPCG-integrated cloth simulatorsolvers/
: Contains various solvers - SD (Steepest Descent), CG (Conjugate Gradient), MPCGvisualizations/
: code to visualize stuff for the final reportdocs/
: contains the final report.