Skip to content

This is a C++ project, written in Visual Studio, that implements a type of Variational Integrator based on the Hamilton-Pontryagin Principle. The project allows for exact momentum preservation and correct energy behavior. Accompanied by the integrator is a GUI that allows the users to play around with variables such as step size, material proper…

Notifications You must be signed in to change notification settings

jiexunxu/Variational-Integrator-for-Physical-Simulation

Repository files navigation

Introduction

This repository hosts C++ code that implements one type of variational integrators for physical simulation. The implemented variational integrator is based on the Hamilton-Pontryagin Principle. Resulting integrator have exact momentum preservation and correct energy behavior. Furthermore, external forces and holonomic constraints can be easily applied to the system.

The major component of this project is the proposed numerical integrator and a GUI (like below) that allows the user to control most of the variables (step size, material property etc) in the simulation.

GUI

About

This is a C++ project, written in Visual Studio, that implements a type of Variational Integrator based on the Hamilton-Pontryagin Principle. The project allows for exact momentum preservation and correct energy behavior. Accompanied by the integrator is a GUI that allows the users to play around with variables such as step size, material proper…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published