Skip to main content

Module potential

Module potential 

Source

Functionsยง

drpot
drpot computes partial derivatives of Roche potential with respect to position at p for mass ratio q.
drpot1
drpot1 computes partial derivatives of asynchronous Roche potential with respect to position at p for mass ratio q.
drpot2
drpot2 computes partial derivatives of asynchronous Roche potential with respect to position at p for mass ratio q.
rpot
rpot computes the Roche potential at a given point. This is for the standard synchronised Roche geometry
rpot1
rpot1 computes the Roche potential at a given point allowing for non-synchronous rotation of the primary.
rpot2
rpot2 computes the Roche potential at a given point allowing for non-synchronous rotation of the secondary.
rpot_grad
rpot_grad computes the gradient in phi, lambda space of the Roche potential. phi refers to the orbital phase, lambda to a multiplier that specified the position of a point from an origin plus the multiplier time lambda.
rpot_val
rpot_val computes the value of the Roche potential for a specific value of phi & lambda. phi refers to the orbital phase, lambda to a multiplier that specified the position of a point from an origin plus the multiplier time lambda.
rpot_val_grad
rpot_val_grad computes the value & gradient in phi, lambda space of the Roche potential. phi orbital phase, lambda a multiplier that specified the position of a point from an origin plus the multiplier times lambda.