public class GPAeroForceModel extends fr.cnes.genius.lowLevel.GContainer implements fr.cnes.genius.main.GDisplay, fr.cnes.genius.main.GReadWrite, fr.cnes.genius.main.GClear, fr.cnes.genius.main.GListener, fr.cnes.genius.main.GCondensedStatusInterface, fr.cnes.genius.main.GCondensedIsModifiedInterface, GPPatriusWithObjects<fr.cnes.sirius.patrius.forces.drag.DragForce>
| Index | Class | Item | Constraint |
| 0 | GCheckBoxWithIndicator | aeroForceCheckBox | 0, 0, 0 =>
"newline , gapleft 0 , split 2" 0, 0, 1 => (null) 0, 1 => (null) |
| 1 | GChoice | aeroModelChoice | 1, 0, 0 =>
"newline , gapleft 20 , split 2" 1, 0, 1 => (null) 1, 1 => "split" |
| 2 | GChoice | solarActivityChoice | 2, 0, 0 =>
"newline , gapleft 40 , split 2" 2, 0, 1 => (null) 2, 1 => "split" |
| 3 | GEntryReal | f107EntryReal | 3, 0, 0 =>
"newline , gapleft 60 , split 2" 3, 0, 1 => (null) 3, 1 => (null) |
| 4 | GEntryReal | apEntryReal | 4, 0, 0 => "newline , gapleft 60 , split 2" 4, 0, 1 => (null) 4, 1 => (null) |
| 5 | GButton | loadSolarActivityFileButton | "newline , skip 1" |
| 6 | GEntryString | loadedSolarActivityFileEntryString | 6, 0, 0 =>
"newline , gapleft 60 , split 2" 6, 0, 1 => (null) 6, 1 => (null) |
| 7 | GEntryReal | densityH0EntryReal | 7, 0, 0 =>
"newline , gapleft 40 , split 2" 7, 0, 1 => (null) 7, 1 => "split 2" 7, 2 => (null) |
| 8 | GEntryReal | h0EntryReal | 8, 0, 0 =>
"newline , gapleft 40 , split 2" 8, 0, 1 => (null) 8, 1 => "split 2" 8, 2 => (null) |
| 9 | GEntryReal | hScaleEntryReal | 9, 0, 0 =>
"newline , gapleft 40 , split 2" 9, 0, 1 => (null) 9, 1 => "split 2" 9, 2 => (null) |
| 10 | GEntryReal | multipAeroForceEntryReal | 10, 0, 0 =>
"newline , gapleft 20 , split 2" 10, 0, 1 => (null) 10, 1 => (null) |
| Modifier and Type | Class and Description |
|---|---|
static class |
GPAeroForceModel.AtmosphereType
Enum containing the atmospheric model types.
|
static class |
GPAeroForceModel.SolarActivityTypes
Enum containing solar activity types.
|
fr.cnes.genius.main.GComponent.CopyPasteOperation, fr.cnes.genius.main.GComponent.DisplayIndicatorStatus, fr.cnes.genius.main.GComponent.ItemType, fr.cnes.genius.main.GComponent.OperationGPPatriusWithObjects.ArgsChecker| Modifier and Type | Field and Description |
|---|---|
static fr.cnes.genius.unit.GMetricUnit[] |
UNITS_DENSITY
Density units.
|
static fr.cnes.genius.unit.GMetricUnit[] |
UNITS_DISTANCE
Distance units.
|
| Constructor and Description |
|---|
GPAeroForceModel()
Empty constructor.
|
GPAeroForceModel(String widgetId,
String label)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
after(fr.cnes.genius.main.GEvent e) |
void |
attachCopyPasteMenu(String label,
fr.cnes.genius.main.GComponent.CopyPasteOperation... operationList) |
void |
before(fr.cnes.genius.main.GEvent e) |
void |
clear() |
void |
display() |
void |
generic() |
fr.cnes.sirius.patrius.assembly.Assembly |
getAssembly()
Getter for the assembly to be used for drag force model creation.
|
fr.cnes.sirius.patrius.forces.atmospheres.Atmosphere |
getAtmosphere()
Get the atmospheric model from widget data.
|
fr.cnes.sirius.patrius.bodies.OneAxisEllipsoid |
getBodyShape()
Getter for the Earth shape to be used for the drag force model creation.
|
fr.cnes.genius.lowLevel.GButton |
getGButtonLoadSolarActFile()
Getter for the GButton to load a solar activity file.
|
fr.cnes.genius.highLevel.GCheckBoxWithIndicator |
getGCheckBoxForceModel()
Getter for the GCheckBoxWithIndicator defining if the force model is active.
|
fr.cnes.genius.highLevel.GChoice |
getGChoiceAtmosphModel()
Getter for the GChoice defining if the atmopheric model.
|
fr.cnes.genius.highLevel.GChoice |
getGChoiceSolarActType()
Getter for the GChoice defining if the solar activity type.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealAp()
Getter for the GEntryReal defining the Ap.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealDensityAtH0()
Getter for the GEntryReal defining the density at h0.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealF107()
Getter for the GEntryReal defining the F107.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealH0()
Getter for the GEntryReal defining h0.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealMultip()
Getter for the GEntryReal defining the multiplicative factor.
|
fr.cnes.genius.highLevel.GEntryReal |
getGEntryRealScaleFactorH()
Getter for the GEntryReal defining the scale factor H.
|
fr.cnes.genius.highLevel.GEntryString |
getGEntryStringLoadedSolarActFile()
Getter for the GEntryString for the file path of the loaded solar activity file.
|
fr.cnes.genius.highLevel.GLabelWithIndicator |
getGLabel()
Getter for the GLabel of the widget.
|
double |
getMultiplicativeFactor()
Get multiplicative factor for Aero force.
|
fr.cnes.sirius.patrius.forces.drag.DragForce |
getPatriusObject()
Returns the PATRIUS object associated to a GENOPUS widget.
|
fr.cnes.sirius.patrius.forces.drag.DragForce |
getPatriusObject(Object... args)
Returns the PATRIUS object associated to a GENOPUS widget.
|
GPAeroForceModel.AtmosphereType |
getSelectedAtmosphericModel()
Get selected atmospheric model as a
GPAeroForceModel.AtmosphereType enum value. |
GPAeroForceModel.SolarActivityTypes |
getSelectedSolarActivity()
Get selected solar activity as a
GPAeroForceModel.SolarActivityTypes enum value. |
fr.cnes.genius.main.GComponent |
getSubComponent(int position) |
fr.cnes.sirius.patrius.bodies.CelestialBody |
getSun()
Getter for the Sun celestial body to be used for drag force model creation.
|
boolean |
isEnabled() |
boolean |
isModified() |
boolean |
isSelected()
Checks if the aero force is selected.
|
void |
read() |
void |
setAssembly(fr.cnes.sirius.patrius.assembly.Assembly assembly)
Setter for the assembly to be used for drag force model creation.
|
void |
setBodyShape(fr.cnes.sirius.patrius.bodies.OneAxisEllipsoid earthBodyShape)
Setter for the Earth shape to be used for drag force model creation.
|
void |
setConstraint(int widgetGap)
Setter for the constraints of the widget.
|
void |
setDefaultConstraints()
Method to set the default constraints for the layout.
|
void |
setEnabled(boolean b) |
void |
setMultiplicativeFactor(double multiplicativeFactor)
Set multiplicative factor for Aero force.
|
void |
setSun(fr.cnes.sirius.patrius.bodies.CelestialBody sun)
Setter for the Sun celestial body to be used for drag force model creation.
|
void |
updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus) |
void |
updateIsModified(fr.cnes.genius.main.GCondensedIsModified condensedIsModified) |
protected void |
updateIsModifiedIndicator() |
void |
write() |
activateConstraintsByType, attachCopyPasteMenu, beginOfElement, beginOfElement, beginOfElement, beginOfElement, clearAllInnerDescendantConstraint, clearConstraint, clearInnerDescendantContraint, composeWidgetId, doDisplay, endOfElement, getCommentInConfigFile, getComponent, getConstraint, getCurrentOperation, getDisplayIndicatorStatus, getDisplayIsModifiedIndicator, getElement, getGClassName, getGPanel, getGParent, getGUnitInConfigFile, getInnerDescendantConstraint, getName, getNameInConfigFile, getOperationSaveValue, getPathInConfigFile, getSimpleWidgetId, getStatus, getStringConstraint, getWidgetId, handleCopyPasteEvent, handleCopyPasteEvent, handleProcessEventException, isCopyPasteEvent, isForcedStatus, launchInvalidPositionException, mouseWheelMoved, parseSimpleConstraint, processGEvent, processMouseWheelEvent, setBusyCursor, setCommentInConfigFile, setConstraint, setCopyPasteMenuEnabled, setCurrentOperation, setDataForConstraintsByType, setDisplayIsModifiedIndicator, setElement, setForcedStatus, setGPanel, setGParent, setGUnitInConfigFile, setInnerDescendantConstraint, setName, setNameAndCommentInConfigFile, setNameInConfigFile, setPathInConfigFile, setStatus, setStringConstraint, setToolTipText, setWidgetId, setWidth, setWindowBusyCursor, writeCollection, writeCollection, writeCollection, writeCollection, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItem, writeConfigItempublic static final fr.cnes.genius.unit.GMetricUnit[] UNITS_DISTANCE
public static final fr.cnes.genius.unit.GMetricUnit[] UNITS_DENSITY
public final void setDefaultConstraints()
setDefaultConstraints in class fr.cnes.genius.main.GComponentpublic void setConstraint(int widgetGap)
widgetGap - left gap from panel border to display the label of the widget.public fr.cnes.genius.highLevel.GLabelWithIndicator getGLabel()
public fr.cnes.genius.highLevel.GCheckBoxWithIndicator getGCheckBoxForceModel()
public fr.cnes.genius.highLevel.GChoice getGChoiceAtmosphModel()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealDensityAtH0()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealH0()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealScaleFactorH()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealMultip()
public fr.cnes.genius.highLevel.GChoice getGChoiceSolarActType()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealF107()
public fr.cnes.genius.highLevel.GEntryReal getGEntryRealAp()
public fr.cnes.genius.lowLevel.GButton getGButtonLoadSolarActFile()
public fr.cnes.genius.highLevel.GEntryString getGEntryStringLoadedSolarActFile()
public void setAssembly(fr.cnes.sirius.patrius.assembly.Assembly assembly)
assembly - the assembly to be set.public fr.cnes.sirius.patrius.assembly.Assembly getAssembly()
public void setBodyShape(fr.cnes.sirius.patrius.bodies.OneAxisEllipsoid earthBodyShape)
throws fr.cnes.genius.exception.GArithmeticException
earthBodyShape - the Earth shape to be set.fr.cnes.genius.exception.GArithmeticException - if equatorial radius or flatness in earthBodyShape are NaNpublic fr.cnes.sirius.patrius.bodies.OneAxisEllipsoid getBodyShape()
public void setSun(fr.cnes.sirius.patrius.bodies.CelestialBody sun)
sun - the Sun celestial body to be used.public fr.cnes.sirius.patrius.bodies.CelestialBody getSun()
public boolean isEnabled()
isEnabled in class fr.cnes.genius.main.GComponentpublic void setEnabled(boolean b)
setEnabled in class fr.cnes.genius.main.GComponentpublic void display()
throws fr.cnes.genius.exception.GException
display in interface fr.cnes.genius.main.GDisplayfr.cnes.genius.exception.GExceptionpublic void clear()
throws fr.cnes.genius.exception.GException
clear in interface fr.cnes.genius.main.GClearfr.cnes.genius.exception.GExceptionpublic void read()
throws fr.cnes.genius.exception.GException
read in interface fr.cnes.genius.main.GReadWritefr.cnes.genius.exception.GExceptionpublic void write()
throws fr.cnes.genius.exception.GException
write in interface fr.cnes.genius.main.GReadWritefr.cnes.genius.exception.GExceptionpublic void generic()
throws fr.cnes.genius.exception.GException
generic in class fr.cnes.genius.lowLevel.GContainerfr.cnes.genius.exception.GExceptionpublic void before(fr.cnes.genius.main.GEvent e)
throws fr.cnes.genius.exception.GException
before in interface fr.cnes.genius.main.GListenerfr.cnes.genius.exception.GExceptionpublic void after(fr.cnes.genius.main.GEvent e)
throws fr.cnes.genius.exception.GException
after in interface fr.cnes.genius.main.GListenerfr.cnes.genius.exception.GExceptionpublic fr.cnes.sirius.patrius.forces.drag.DragForce getPatriusObject()
throws GPForcesException
getPatriusObject in interface GPPatrius<fr.cnes.sirius.patrius.forces.drag.DragForce>GPForcesException - if the assembly, the Earth shape or the sun body are not
initialized or if the assembly does not have only one valid aerodynamic property or
if there is a problem with the solar activity data providers.public fr.cnes.sirius.patrius.forces.drag.DragForce getPatriusObject(Object... args) throws fr.cnes.genius.exception.GException
getPatriusObject in interface GPPatriusWithObjects<fr.cnes.sirius.patrius.forces.drag.DragForce>args - The parameters are 0: OneAxisEllipsoid, 1: Assembly, 2: CelestialBody.fr.cnes.genius.exception.GException - if the PATRIUS object cannot be created from the widget data.public fr.cnes.sirius.patrius.forces.atmospheres.Atmosphere getAtmosphere()
throws GPForcesException
GPForcesException - if the Earth ellipsoid is not initialized or if the sun is not
initialized or if there is a problem with solar activity provider or if parsed data
from external file contains NaN.public boolean isSelected()
public GPAeroForceModel.AtmosphereType getSelectedAtmosphericModel()
GPAeroForceModel.AtmosphereType enum value.public GPAeroForceModel.SolarActivityTypes getSelectedSolarActivity()
GPAeroForceModel.SolarActivityTypes enum value.public void setMultiplicativeFactor(double multiplicativeFactor)
throws fr.cnes.genius.exception.GArithmeticException
multiplicativeFactor - the multiplicativeFactor to setfr.cnes.genius.exception.GArithmeticException - if multiplicativeFactor is NaN.public double getMultiplicativeFactor()
public boolean isModified()
isModified in class fr.cnes.genius.main.GComponentprotected void updateIsModifiedIndicator()
updateIsModifiedIndicator in class fr.cnes.genius.main.GComponentpublic void attachCopyPasteMenu(String label, fr.cnes.genius.main.GComponent.CopyPasteOperation... operationList)
attachCopyPasteMenu in class fr.cnes.genius.main.GComponentpublic void updateCondensedStatus(fr.cnes.genius.main.GCondensedStatus condensedStatus)
updateCondensedStatus in interface fr.cnes.genius.main.GCondensedStatusInterfacepublic fr.cnes.genius.main.GComponent getSubComponent(int position)
throws fr.cnes.genius.exception.GComponentException
getSubComponent in class fr.cnes.genius.main.GComponentfr.cnes.genius.exception.GComponentExceptionpublic void updateIsModified(fr.cnes.genius.main.GCondensedIsModified condensedIsModified)
updateIsModified in interface fr.cnes.genius.main.GCondensedIsModifiedInterfaceCopyright © 2025. All rights reserved.