Skip to content

milkpku/IGsim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IGsim - A tiny C++ library for FEM based deformable object simulation

IGsim is a tiny C++ FEM simulation library. It has implemented functions which calculate deformation energy, force and sitffness matrix of neo-hookean material and some other tools which are handy for 3D FEM based simulation.

It is a header-only library, mainly mimic the design philosophy of libigl. You do not need to compile anything to use, just include IGsim headers (e.g. #include <IGsim/elastic_neohookean.h>) and run. Most are tailored to operate on a generic triangle mesh stored in an n-by-3 matrix of vertex positions V, an m-by-3 matrix of triangle indices F or an m-by-4 matrix of tetrahedron indices T.

IGsim uses the Eigen library heavily, mainly as input/output data container and matrix algebra interface. The representation of meshes is coordinated with libigl, and you can refer to libigl's tutorial for more information.

About

A tiny C++ library for FEM based deformable object simulation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published