|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjat.forces.GravitationalBody
jat.forces.Sun
public class Sun
Simple class to obtain the gravitational effect of the Sun.
| Constructor Summary | |
|---|---|
Sun()
Default constructor. |
|
Sun(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)
|
| 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 Sun()
public Sun(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 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 | |||||||||