fr.cnes.genopus.nonWidget.forces
Class CustomForceModels

java.lang.Object
  extended by fr.cnes.genopus.nonWidget.forces.CustomForceModels

public class CustomForceModels
extends Object

Gives the force models.

Author:
ffsm

Constructor Summary
CustomForceModels(org.orekit.forces.ForceModel earthPotentialForceModel, org.orekit.forces.gravity.ThirdBodyAttraction moonForceModel, org.orekit.forces.gravity.ThirdBodyAttraction sunForceModel, org.orekit.forces.gravity.ThirdBodyAttraction venusForceModel, org.orekit.forces.gravity.ThirdBodyAttraction marsForceModel, org.orekit.forces.gravity.ThirdBodyAttraction jupiterForceModel, CustomDragForce dragForce, CustomPatriusSolarRadiationPressure solarRadiationPressure, CustomRediffusedRadiationPressure rediffusedSRP, org.orekit.forces.gravity.tides.OceanTides oceanTidesForceModel, org.orekit.forces.gravity.tides.TerrestrialTides terrestrialTidesForceModel)
          Creates a new instance.
 
Method Summary
 CustomAtmosphere getAtmosphere()
          Get the atmosphere model.
 org.orekit.forces.drag.DragForce getDragForce()
          Get the aerodynamic force model.
 org.orekit.forces.ForceModel getEarthPotentialForceModel()
          Get the earth potential force model.
 List<org.orekit.forces.ForceModel> getForceModelsList()
          Get the arraylist of force models.
 org.orekit.forces.gravity.ThirdBodyAttraction getJupiterForceModel()
          Get the jupiter perturbation force model.
 org.orekit.forces.gravity.ThirdBodyAttraction getMarsForceModel()
          Get the mars perturbation force model.
 org.orekit.forces.gravity.ThirdBodyAttraction getMoonForceModel()
          Get the moon perturbation force model.
 org.orekit.forces.gravity.NewtonianAttraction getNewtonianForceModel()
          Get the newtonian force model.
 org.orekit.forces.gravity.tides.OceanTides getOceanTidesForceModel()
          Get the ocean tides force model.
 CustomRediffusedRadiationPressure getRediffusedSolarRadiationPressure()
          Get the rediffused solar radiation pressure force model.
 CustomPatriusSolarRadiationPressure getSolarRadiationPressure()
          Get the solar radiation pressure force model.
 org.orekit.forces.gravity.ThirdBodyAttraction getSunForceModel()
          Get the sun perturbation force model.
 org.orekit.forces.gravity.tides.TerrestrialTides getTerrestrialTidesForceModel()
          Get the terrestrial tides force model.
 org.orekit.forces.gravity.ThirdBodyAttraction getVenusForceModel()
          Get the venus perturbation force model.
 void setDragForce(CustomDragForce dragForce)
          Set the aerodynamic force model.
 void setEarthPotentialAttractionModel(org.orekit.forces.ForceModel earthPotentialAttractionModel)
          Set the earth potential force model.
 void setJupiterForceModel(org.orekit.forces.gravity.ThirdBodyAttraction jupiterThirdBodyAttraction)
          Set the Jupiter perturbation force model.
 void setMarsForceModel(org.orekit.forces.gravity.ThirdBodyAttraction marsThirdBodyAttraction)
          Set the Mars perturbation force model.
 void setMoonForceModel(org.orekit.forces.gravity.ThirdBodyAttraction moonThirdBodyAttraction)
          Set the moon perturbation force model.
 void setOceanTidesForceModel(org.orekit.forces.gravity.tides.OceanTides oceanTides)
          Set the ocean tides force model.
 void setRediffusedSolarRadiationPressure(CustomRediffusedRadiationPressure rediffusedRadiationPressure)
          Set the rediffused solar radiation pressure force model.
 void setSolarRadiationPressure(CustomPatriusSolarRadiationPressure patriusSolarRadiationPressure)
          Set the solar radiation pressure force model.
 void setSunForceModel(org.orekit.forces.gravity.ThirdBodyAttraction sunThirdBodyAttraction)
          Set the sun perturbation force model.
 void setTerrestrialTidesForceModel(org.orekit.forces.gravity.tides.TerrestrialTides terrestrialTides)
          Set the terrestrial tides force model.
 void setVenusForceModel(org.orekit.forces.gravity.ThirdBodyAttraction venusThirdBodyAttraction)
          Set the Venus perturbation force model.
 String toString()
          
 void updateAssembly(fr.cnes.sirius.patrius.assembly.Assembly assembly)
          Method to update the force models depending on the assembly (DragForce, CustomPatriusSolarRadiationPressure and CustomRediffusedRadiationPressure).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CustomForceModels

public CustomForceModels(org.orekit.forces.ForceModel earthPotentialForceModel,
                         org.orekit.forces.gravity.ThirdBodyAttraction moonForceModel,
                         org.orekit.forces.gravity.ThirdBodyAttraction sunForceModel,
                         org.orekit.forces.gravity.ThirdBodyAttraction venusForceModel,
                         org.orekit.forces.gravity.ThirdBodyAttraction marsForceModel,
                         org.orekit.forces.gravity.ThirdBodyAttraction jupiterForceModel,
                         CustomDragForce dragForce,
                         CustomPatriusSolarRadiationPressure solarRadiationPressure,
                         CustomRediffusedRadiationPressure rediffusedSRP,
                         org.orekit.forces.gravity.tides.OceanTides oceanTidesForceModel,
                         org.orekit.forces.gravity.tides.TerrestrialTides terrestrialTidesForceModel)
Creates a new instance.

Parameters:
earthPotentialForceModel - Earth potential force model (cannot be null).
moonForceModel - Moon third body force model (might be null).
sunForceModel - Sun third body force model (might be null).
venusForceModel - Venus third body force model (might be null).
marsForceModel - Mars third body force model (might be null).
jupiterForceModel - Jupiter third body force model (might be null).
dragForce - Drag force model (might be null).
solarRadiationPressure - SRP force model (might be null).
rediffusedSRP - Rediffused SRP force model (might be null).
oceanTidesForceModel - Ocean tides force model (might be null).
terrestrialTidesForceModel - Terrestrial tides force model (might be null).
Method Detail

updateAssembly

public void updateAssembly(fr.cnes.sirius.patrius.assembly.Assembly assembly)
                    throws NonWidgetException
Method to update the force models depending on the assembly (DragForce, CustomPatriusSolarRadiationPressure and CustomRediffusedRadiationPressure).

Parameters:
assembly - to update the force models depending on it.
Throws:
NonWidgetException - if the assembly does not have only one valid aerodynamic property or if it has no radiative properties found

getForceModelsList

public List<org.orekit.forces.ForceModel> getForceModelsList()
Get the arraylist of force models.

Returns:
the arraylist of force models

getEarthPotentialForceModel

public org.orekit.forces.ForceModel getEarthPotentialForceModel()
Get the earth potential force model.

Returns:
the earth potential force model

getSunForceModel

public org.orekit.forces.gravity.ThirdBodyAttraction getSunForceModel()
Get the sun perturbation force model.

Returns:
the sun perturbation force model

getMoonForceModel

public org.orekit.forces.gravity.ThirdBodyAttraction getMoonForceModel()
Get the moon perturbation force model.

Returns:
the moon perturbation force model

getVenusForceModel

public org.orekit.forces.gravity.ThirdBodyAttraction getVenusForceModel()
Get the venus perturbation force model.

Returns:
the venus perturbation force model

getMarsForceModel

public org.orekit.forces.gravity.ThirdBodyAttraction getMarsForceModel()
Get the mars perturbation force model.

Returns:
the mars perturbation force model

getJupiterForceModel

public org.orekit.forces.gravity.ThirdBodyAttraction getJupiterForceModel()
Get the jupiter perturbation force model.

Returns:
the jupiter perturbation force model

getDragForce

public org.orekit.forces.drag.DragForce getDragForce()
Get the aerodynamic force model.

Returns:
the aerodynamic force model

getSolarRadiationPressure

public CustomPatriusSolarRadiationPressure getSolarRadiationPressure()
Get the solar radiation pressure force model.

Returns:
the solar radiation pressure force model

getRediffusedSolarRadiationPressure

public CustomRediffusedRadiationPressure getRediffusedSolarRadiationPressure()
Get the rediffused solar radiation pressure force model.

Returns:
the rediffused solar radiation pressure force model

getOceanTidesForceModel

public org.orekit.forces.gravity.tides.OceanTides getOceanTidesForceModel()
Get the ocean tides force model.

Returns:
the ocean tides force model

getTerrestrialTidesForceModel

public org.orekit.forces.gravity.tides.TerrestrialTides getTerrestrialTidesForceModel()
Get the terrestrial tides force model.

Returns:
the terrestrial tides force model

getAtmosphere

public CustomAtmosphere getAtmosphere()
Get the atmosphere model.

Returns:
the atmosphere model

getNewtonianForceModel

public org.orekit.forces.gravity.NewtonianAttraction getNewtonianForceModel()
Get the newtonian force model.

Returns:
the newtonian force model

setEarthPotentialAttractionModel

public void setEarthPotentialAttractionModel(org.orekit.forces.ForceModel earthPotentialAttractionModel)
Set the earth potential force model.

Parameters:
earthPotentialAttractionModel - the earth potential force model

setMoonForceModel

public void setMoonForceModel(org.orekit.forces.gravity.ThirdBodyAttraction moonThirdBodyAttraction)
Set the moon perturbation force model.

Parameters:
moonThirdBodyAttraction - the moon perturbation force model

setSunForceModel

public void setSunForceModel(org.orekit.forces.gravity.ThirdBodyAttraction sunThirdBodyAttraction)
Set the sun perturbation force model.

Parameters:
sunThirdBodyAttraction - the sun perturbation force model

setVenusForceModel

public void setVenusForceModel(org.orekit.forces.gravity.ThirdBodyAttraction venusThirdBodyAttraction)
Set the Venus perturbation force model.

Parameters:
venusThirdBodyAttraction - the Venus perturbation force model

setMarsForceModel

public void setMarsForceModel(org.orekit.forces.gravity.ThirdBodyAttraction marsThirdBodyAttraction)
Set the Mars perturbation force model.

Parameters:
marsThirdBodyAttraction - the Mars perturbation force model

setJupiterForceModel

public void setJupiterForceModel(org.orekit.forces.gravity.ThirdBodyAttraction jupiterThirdBodyAttraction)
Set the Jupiter perturbation force model.

Parameters:
jupiterThirdBodyAttraction - the Jupiter perturbation force model

setDragForce

public void setDragForce(CustomDragForce dragForce)
Set the aerodynamic force model.

Parameters:
dragForce - the aerodynamic force model

setSolarRadiationPressure

public void setSolarRadiationPressure(CustomPatriusSolarRadiationPressure patriusSolarRadiationPressure)
Set the solar radiation pressure force model.

Parameters:
patriusSolarRadiationPressure - the solar radiation pressure force model

setRediffusedSolarRadiationPressure

public void setRediffusedSolarRadiationPressure(CustomRediffusedRadiationPressure rediffusedRadiationPressure)
Set the rediffused solar radiation pressure force model.

Parameters:
rediffusedRadiationPressure - the rediffused solar radiation pressure force model

setOceanTidesForceModel

public void setOceanTidesForceModel(org.orekit.forces.gravity.tides.OceanTides oceanTides)
Set the ocean tides force model.

Parameters:
oceanTides - the ocean tides force model

setTerrestrialTidesForceModel

public void setTerrestrialTidesForceModel(org.orekit.forces.gravity.tides.TerrestrialTides terrestrialTides)
Set the terrestrial tides force model.

Parameters:
terrestrialTides - the terrestrial tides force model

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2017. All rights reserved.