|
Gravity Engine 12.0
Unity Asset for Gravity
|
Public Member Functions | |
| double[] | CalcAccelerationIJPerM (double[] rji, int i, int j, GravityState.NbodyState[] nbodyStates) |
| Calculate the acceleration between bodies i and j. | |
| double[] | CalcAccelerationIPerParticle (double[] rji, int i, GravityState.NbodyState[] nbodyStates) |
| double[] | CalcJerkIJPerM (double[] rji, int i, int j, GravityState.NbodyState[] nbodyStates) |
| double[] | CalcAccelerationIJPerM (double[] rji, int i, int j, GravityState.NbodyState[] nbodyStates) |
| Calculate the acceleration between bodies i and j. | |
| double[] | CalcAccelerationIPerParticle (double[] rji, int i, GravityState.NbodyState[] nbodyStates) |
| double[] | CalcJerkIJPerM (double[] rji, int i, int j, GravityState.NbodyState[] nbodyStates) |
| double[] ForceR.CalcAccelerationIJPerM | ( | double[] | rji, |
| int | i, | ||
| int | j, | ||
| GravityState.NbodyState[] | nbodyStates | ||
| ) |
Calculate the acceleration between bodies i and j.
Return the aij and aji accelerations because in some case (e.g one is oblate) they will not be equal and opposite!
| rji | |
| i | |
| j | |
| nbodyStates |
Implements IForceDelegate.
| double[] ForceR.CalcAccelerationIPerParticle | ( | double[] | rji, |
| int | i, | ||
| GravityState::NbodyState[] | nbodyStates | ||
| ) |
Implements IForceDelegate.
| double[] ForceR.CalcJerkIJPerM | ( | double[] | rji, |
| int | i, | ||
| int | j, | ||
| GravityState::NbodyState[] | nbodyStates | ||
| ) |
Implements IForceDelegate.