Skip to content

Commit

Permalink
Merge pull request #300 from LLNL/bugFix/dem_pybind
Browse files Browse the repository at this point in the history
exposing DEM variable to python
  • Loading branch information
jmpearl authored Aug 29, 2024
2 parents a696f9a + 1ecd592 commit f9d06ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/PYB11/DEM/LinearSpringDEM.py
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,6 @@ def setMomentOfInertia(self):
tangentialBeta = PYB11property("Scalar", "tangentialBeta", "tangentialBeta", doc="a damping parameter")
collisionDuration = PYB11property("Scalar", "collisionDuration", "collisionDuration", doc="duration of a contact")

momentOfInertia = PYB11property("const FieldList<%(Dimension)s, Scalar>&","momentOfInertia", returnpolicy="reference_internal")
momentOfInertia = PYB11property("const FieldList<%(Dimension)s, Scalar>&","momentOfInertia", returnpolicy="reference_internal")
maximumOverlap = PYB11property("const FieldList<%(Dimension)s, Scalar>&","maximumOverlap", returnpolicy="reference_internal")
newMaximumOverlap = PYB11property("const FieldList<%(Dimension)s, Scalar>&","newMaximumOverlap", returnpolicy="reference_internal")

0 comments on commit f9d06ca

Please sign in to comment.