Skip to content

MPCG solver implemenation for cloth simulation. Term project for MATH 607E (Numerical Methods for PDEs), 2021WT1 at UBC.

Notifications You must be signed in to change notification settings

ericchen321/mpcg_solver_for_cloth_sim

Repository files navigation

MATH 607E (2021WT1) Term Project: The Modified Preconditioned Conjugate Gradient (MPCG) Method for Cloth Simulation

Contains source code and the project report.

Summary

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.

File Structure

  • sim.ipynb: MPCG-integrated cloth simulator
  • solvers/: Contains various solvers - SD (Steepest Descent), CG (Conjugate Gradient), MPCG
  • visualizations/: code to visualize stuff for the final report
  • docs/: contains the final report.

About

MPCG solver implemenation for cloth simulation. Term project for MATH 607E (Numerical Methods for PDEs), 2021WT1 at UBC.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published