public class IsotropicDrag extends Object implements DragSensitive
The model of this spacecraft is a simple spherical model, this means that all coefficients are constant and do not depend of the direction.
BoxAndSolarArraySpacecraft
,
IsotropicRadiationCNES95Convention
DRAG_COEFFICIENT
Constructor and Description |
---|
IsotropicDrag(double crossSection,
double dragCoeff)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
FieldVector3D<DerivativeStructure> |
dragAcceleration(AbsoluteDate date,
Frame frame,
FieldVector3D<DerivativeStructure> position,
FieldRotation<DerivativeStructure> rotation,
DerivativeStructure mass,
DerivativeStructure density,
FieldVector3D<DerivativeStructure> relativeVelocity)
Compute the acceleration due to drag, with state derivatives.
|
Vector3D |
dragAcceleration(AbsoluteDate date,
Frame frame,
Vector3D position,
Rotation rotation,
double mass,
double density,
Vector3D relativeVelocity)
Compute the acceleration due to drag.
|
FieldVector3D<DerivativeStructure> |
dragAcceleration(AbsoluteDate date,
Frame frame,
Vector3D position,
Rotation rotation,
double mass,
double density,
Vector3D relativeVelocity,
String paramName)
Compute acceleration due to drag, with parameters derivatives.
|
double |
getDragCoefficient()
Get the drag coefficient.
|
void |
setDragCoefficient(double value)
Set the drag coefficient.
|
public IsotropicDrag(double crossSection, double dragCoeff)
crossSection
- Surface (m²)dragCoeff
- drag coefficientpublic Vector3D dragAcceleration(AbsoluteDate date, Frame frame, Vector3D position, Rotation rotation, double mass, double density, Vector3D relativeVelocity)
The computation includes all spacecraft specific characteristics like shape, area and coefficients.
dragAcceleration
in interface DragSensitive
date
- current dateframe
- inertial reference frame for state (both orbit and attitude)position
- position of spacecraft in reference framerotation
- orientation (attitude) of the spacecraft with respect to reference framemass
- current massdensity
- atmospheric density at spacecraft positionrelativeVelocity
- relative velocity of atmosphere with respect to spacecraft,
in the same inertial frame as spacecraft orbit (m/s)public FieldVector3D<DerivativeStructure> dragAcceleration(AbsoluteDate date, Frame frame, FieldVector3D<DerivativeStructure> position, FieldRotation<DerivativeStructure> rotation, DerivativeStructure mass, DerivativeStructure density, FieldVector3D<DerivativeStructure> relativeVelocity)
The computation includes all spacecraft specific characteristics like shape, area and coefficients.
dragAcceleration
in interface DragSensitive
date
- current dateframe
- inertial reference frame for state (both orbit and attitude)position
- position of spacecraft in reference framerotation
- orientation (attitude) of the spacecraft with respect to reference framemass
- spacecraft massdensity
- atmospheric density at spacecraft positionrelativeVelocity
- relative velocity of atmosphere with respect to spacecraft,
in the same inertial frame as spacecraft orbit (m/s)public FieldVector3D<DerivativeStructure> dragAcceleration(AbsoluteDate date, Frame frame, Vector3D position, Rotation rotation, double mass, double density, Vector3D relativeVelocity, String paramName) throws OrekitException
dragAcceleration
in interface DragSensitive
date
- current dateframe
- inertial reference frame for state (both orbit and attitude)position
- position of spacecraft in reference framerotation
- orientation (attitude) of the spacecraft with respect to reference framemass
- current massdensity
- atmospheric density at spacecraft positionrelativeVelocity
- relative velocity of atmosphere with respect to spacecraft,
in the same inertial frame as spacecraft orbit (m/s)paramName
- name of the parameter with respect to which derivatives are requiredOrekitException
- if derivatives cannot be computedpublic void setDragCoefficient(double value)
setDragCoefficient
in interface DragSensitive
value
- drag coefficientpublic double getDragCoefficient()
getDragCoefficient
in interface DragSensitive
Copyright © 2002-2016 CS Systèmes d'information. All rights reserved.