Skip to content

v0.0.9

Compare
Choose a tag to compare
@Q-Minh Q-Minh released this 05 Nov 03:43
· 259 commits to master since this release

Full Changelog: v0.0.8...v0.0.9

Changes:

  • Simplify pbat.fem interface by exposing one-liner function call to construct your classical FEM matrices
  • Support higher-order parameter fields like mass density, loading, material parameters, by defining them at quadrature points
  • Enhance and improve our mini library for compile-time matrix computations, now usable from both CPU and GPU code
  • Use mini library throughout the code base to make fem, geometry and physics code device-agnostic.
  • We also expose helper functions to get/set mini matrices from/to memory buffers. This allows us to easily implement algorithms on both CPU and GPU with minimal coding.
  • We implement a VBD integrator on the CPU, and make the GPU VBD integrator follow the same construction interface via vbd::Data, a builder type.
  • The vbd.py example can now run on both CPU and GPU!

Bug fixes:

  • Our type-erased HyperElasticPotential interface was double allocating/deleting underlying concrete potential types. We make sure that only the actually correct underlying potential is chosen.