|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjat.forces.AtmosphericDrag
public abstract class AtmosphericDrag
The AtmosphericDrag class computes the acceleration due to drag on a satellite using an Earth atmosphere model that conforms to the computeDensity abstract method.
| Field Summary | |
|---|---|
double |
omega_e
Rotation rate of the Earth (taken from Constants.omega_e) |
| Constructor Summary | |
|---|---|
AtmosphericDrag(double cd,
double area,
double mass)
Constructor |
|
AtmosphericDrag(Spacecraft sc)
Constructor using the Spacecraft class for parameters |
|
| Method Summary | |
|---|---|
VectorN |
acceleration(EarthRef eRef,
Spacecraft sc)
Deprecated. |
VectorN |
acceleration(Time t,
BodyRef bRef,
Spacecraft sc)
Implemented from the ForceModel interface |
void |
compute(Time t,
BodyRef ref,
VectorN r,
VectorN v)
Computes the acceleration due to drag in m/s^2. |
abstract double |
computeDensity(Time t,
BodyRef ref,
VectorN r)
Abstract class requires the subclass to compute the atmospheric density. |
VectorN |
dragAccel()
Return the acceleration due to drag |
VectorN |
partialCd()
Return the partial derivative of acceleration wrt Cd |
Matrix |
partialV()
Return the partial derivative of acceleration wrt velocity |
void |
updateMass(double mass)
Update the mass |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public double omega_e
| Constructor Detail |
|---|
public AtmosphericDrag(double cd,
double area,
double mass)
cd - coefficient of dragarea - drag cross-sectional areamass - masspublic AtmosphericDrag(Spacecraft sc)
sc - Spacecraft parameters| Method Detail |
|---|
public abstract double computeDensity(Time t,
BodyRef ref,
VectorN r)
ref - EarthRef object.r - Position vector.
public VectorN dragAccel()
public Matrix partialV()
public VectorN partialCd()
public void updateMass(double mass)
mass - the new mass
public void compute(Time t,
BodyRef ref,
VectorN r,
VectorN v)
ref - EarthRef object.r - ECI position vector in meters.v - ECI velocity vector in meters.
public VectorN acceleration(Time t,
BodyRef bRef,
Spacecraft sc)
acceleration in interface ForceModelt - Time reference objectbRef - Earth reference objectsc - Spacecraft parameters and state
ForceModel.acceleration(jat.spacetime.Time, jat.spacetime.BodyRef, jat.spacecraft.Spacecraft)
public VectorN acceleration(EarthRef eRef,
Spacecraft sc)
acceleration in interface EarthForceModeleRef - Earth reference objectsc - Spacecraft parameters and state
EarthForceModel.acceleration(jat.timeRef.EarthRef, jat.spacecraft.Spacecraft)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||