geoelements / diffmpm

Differentiable Material Point Method
29 stars 6 forks source link

2d `solve` works now. Bug fixed! #5

Closed chahak13 closed 1 year ago

chahak13 commented 1 year ago

When updating particle velocity, if velocity_update is True, then nodal velocity is assigned to the particle velocity but if velocity_update is False, then velocity due to acceleration is added to the current particle velocity.