Package org.orekit.forces.radiation
Class AbstractLightFluxModel
java.lang.Object
org.orekit.forces.radiation.AbstractLightFluxModel
- All Implemented Interfaces:
LightFluxModel
- Direct Known Subclasses:
AbstractSolarLightFluxModel
Abstract class for light flux models.
Via the definition of the lighting ratio and the unocculted flux vector, derives the final value.
- Since:
- 12.1
- Author:
- Romain Serra
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractLightFluxModel(ExtendedPositionProvider occultedBody) Constructor. -
Method Summary
Modifier and TypeMethodDescription<T extends CalculusFieldElement<T>>
FieldVector3D<T> getLightFluxVector(FieldSpacecraftState<T> state) Get the light flux vector in the state's frame.Get the light flux vector in the state's frame.protected abstract <T extends CalculusFieldElement<T>>
TgetLightingRatio(FieldVector3D<T> position, FieldVector3D<T> occultedBodyPosition) Get the lighting ratio ([0-1]).protected abstract doublegetLightingRatio(Vector3D position, Vector3D occultedBodyPosition) Get the lighting ratio ([0-1]).<T extends CalculusFieldElement<T>>
TgetLightingRatio(FieldSpacecraftState<T> state) Get the lighting ratio ([0-1]).doublegetLightingRatio(SpacecraftState state) Get the lighting ratio ([0-1]).Getter for the occulted body's position provider.protected Vector3DgetOccultedBodyPosition(AbsoluteDate date, Frame frame) Method computing the occulted body's position at a given date and frame.protected <T extends CalculusFieldElement<T>>
FieldVector3D<T> getOccultedBodyPosition(FieldAbsoluteDate<T> date, Frame frame) Method computing the occulted body's position at a given date and frame.protected abstract <T extends CalculusFieldElement<T>>
FieldVector3D<T> getUnoccultedFluxVector(FieldVector3D<T> relativePosition) Get the light flux vector, not considering any shadowing effect.protected abstract Vector3DgetUnoccultedFluxVector(Vector3D relativePosition) Get the light flux vector, not considering any shadowing effect.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.orekit.forces.radiation.LightFluxModel
getEclipseConditionsDetector, getFieldEclipseConditionsDetector, init, init
-
Constructor Details
-
AbstractLightFluxModel
Constructor.- Parameters:
occultedBody- position provider for light source
-
-
Method Details
-
getOccultedBody
Getter for the occulted body's position provider.- Returns:
- occulted body
-
getLightFluxVector
Get the light flux vector in the state's frame.- Specified by:
getLightFluxVectorin interfaceLightFluxModel- Parameters:
state- state- Returns:
- light flux
-
getLightFluxVector
public <T extends CalculusFieldElement<T>> FieldVector3D<T> getLightFluxVector(FieldSpacecraftState<T> state) Get the light flux vector in the state's frame. Field version.- Specified by:
getLightFluxVectorin interfaceLightFluxModel- Type Parameters:
T- field type- Parameters:
state- state- Returns:
- light flux
-
getOccultedBodyPosition
Method computing the occulted body's position at a given date and frame.- Parameters:
date- dateframe- frame- Returns:
- position
-
getOccultedBodyPosition
protected <T extends CalculusFieldElement<T>> FieldVector3D<T> getOccultedBodyPosition(FieldAbsoluteDate<T> date, Frame frame) Method computing the occulted body's position at a given date and frame. Field version.- Type Parameters:
T- field type- Parameters:
date- dateframe- frame- Returns:
- position
-
getUnoccultedFluxVector
Get the light flux vector, not considering any shadowing effect.- Parameters:
relativePosition- relative position w.r.t. light source- Returns:
- unocculted flux
-
getUnoccultedFluxVector
protected abstract <T extends CalculusFieldElement<T>> FieldVector3D<T> getUnoccultedFluxVector(FieldVector3D<T> relativePosition) Get the light flux vector, not considering any shadowing effect. Field version.- Type Parameters:
T- field type- Parameters:
relativePosition- relative position w.r.t. light source- Returns:
- unocculted flux
-
getLightingRatio
Get the lighting ratio ([0-1]).- Parameters:
state- state- Returns:
- lighting ratio
-
getLightingRatio
Get the lighting ratio ([0-1]).- Parameters:
position- object's positionoccultedBodyPosition- occulted body position in same frame- Returns:
- lighting ratio
-
getLightingRatio
Get the lighting ratio ([0-1]).- Type Parameters:
T- field type- Parameters:
state- state- Returns:
- lighting ratio
-
getLightingRatio
protected abstract <T extends CalculusFieldElement<T>> T getLightingRatio(FieldVector3D<T> position, FieldVector3D<T> occultedBodyPosition) Get the lighting ratio ([0-1]). Field version.- Type Parameters:
T- field type- Parameters:
position- object's positionoccultedBodyPosition- occulted body position in same frame- Returns:
- lighting ratio
-