|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjat.forces.GravitationalBody
jat.forces.Moon
public class Moon
Simple class to model the gravitational attraction of the moon.
| Constructor Summary | |
|---|---|
Moon()
Default constructor |
|
Moon(boolean usematlab)
For use with matlab |
|
Moon(double mjd_utc)
Allows the initialization of the Moon vector using DE405 ephemerides |
|
Moon(double grav_mass,
VectorN r,
VectorN v)
Constructor |
|
| Method Summary | |
|---|---|
VectorN |
acceleration(EarthRef eRef,
Spacecraft sc)
Compute the acceleration. |
VectorN |
acceleration(Time t,
BodyRef bRef,
Spacecraft sc)
Call the relevant methods to compute the acceleration. |
static void |
main(java.lang.String[] args)
|
void |
print(EarthRef ref)
|
| Methods inherited from class jat.forces.GravitationalBody |
|---|
accelPointMass, getPosition, getVelocity, updatePosition, updateVelocity |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Moon()
public Moon(double mjd_utc)
mjd_utc - Modified Julian Date in Universal Coordinated Timepublic Moon(boolean usematlab)
public Moon(double grav_mass,
VectorN r,
VectorN v)
grav_mass - [m^3/s^2]r - position [m]v - velocity [m/s]| Method Detail |
|---|
public VectorN acceleration(EarthRef eRef,
Spacecraft sc)
acceleration in interface EarthForceModelacceleration in class GravitationalBodyeRef - Earth Referencesc - Spacecraft parameters and state
public VectorN acceleration(Time t,
BodyRef bRef,
Spacecraft sc)
acceleration in interface ForceModelacceleration in class GravitationalBodyt - Time reference classbRef - Body reference classsc - Spacecraft parameters and state
public void print(EarthRef ref)
public static void main(java.lang.String[] args)
throws java.io.IOException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||