JesseBonanno / IndeterminateBeam

A solver for 1D indeterminate beams
MIT License
67 stars 18 forks source link

Get reactions at specified coordinate #9

Closed JesseBonanno closed 3 years ago

JesseBonanno commented 3 years ago

Currently is easy to visually get a reaction force from plot, or can get it indirectly - but there is no explicit and simple way to get reaction forces.

Ideally would want to pass a function an x coordinate and if there is a support there it returns the reaction forces otherwise it returns None.

I think best way to go about this would be to add self.reactions dictionary during analyse, and rename the existing self._reactions to something that makes it more obvious that the function of that attribute is to help with plotting.

JesseBonanno commented 3 years ago

Created a funciton to be used rather than an attribute. I have fixed this in 8375408328ce35c290a344eb47502878777b11b6