fr.cnes.genopus.nonWidget.forces
Class CustomDragForce

java.lang.Object
  extended by org.orekit.parameter.Parameterizable
      extended by org.orekit.parameter.JacobiansParameterizable
          extended by org.orekit.forces.drag.DragForce
              extended by fr.cnes.genopus.nonWidget.forces.CustomDragForce
All Implemented Interfaces:
Serializable, org.orekit.forces.ForceModel, org.orekit.forces.GradientModel, org.orekit.parameter.IJacobiansParameterizable, org.orekit.parameter.IParameterizable

public class CustomDragForce
extends org.orekit.forces.drag.DragForce

Extends PATRIUS drag force model.

Author:
ffsm
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.orekit.forces.drag.DragForce
K_COEFFICIENT
 
Constructor Summary
CustomDragForce(CustomDragForce otherDragForce, fr.cnes.sirius.patrius.assembly.Assembly assembly)
          Creates a new instance from the data in another one but with a different assembly.
CustomDragForce(double k, CustomAtmosphere atmosphere, fr.cnes.sirius.patrius.assembly.Assembly assembly)
          Creates a new instance.
 
Method Summary
 CustomAtmosphere cloneAtmosphere()
          Get the atmosphere model as a new instance (to avoid problems related to threads).
 fr.cnes.sirius.patrius.assembly.Assembly getAssembly()
          Getter for the assembly used at construction.
 CustomAtmosphere getAtmosphere()
          Get the atmosphere model.
 double getMultiplicativeFactor()
          Getter for the multiplicative factor used at construction.
 String toString()
          
 
Methods inherited from class org.orekit.forces.drag.DragForce
addContribution, addDAccDParam, addDAccDState, computeAcceleration, computeAcceleration, computeGradientPosition, computeGradientVelocity, getEventsDetectors
 
Methods inherited from class org.orekit.parameter.JacobiansParameterizable
addJacobiansParameter, addJacobiansParameter, addJacobiansParameter, supportsJacobianParameter
 
Methods inherited from class org.orekit.parameter.Parameterizable
addParameter, getParameters, supportsParameter
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.orekit.parameter.IParameterizable
getParameters, supportsParameter
 

Constructor Detail

CustomDragForce

public CustomDragForce(double k,
                       CustomAtmosphere atmosphere,
                       fr.cnes.sirius.patrius.assembly.Assembly assembly)
                throws NonWidgetException
Creates a new instance.

Parameters:
k - multiplicative factor
atmosphere - atmosphere model
assembly - assembly with aerodynamic properties
Throws:
NonWidgetException - if the assembly does not have only one valid aerodynamic property.

CustomDragForce

public CustomDragForce(CustomDragForce otherDragForce,
                       fr.cnes.sirius.patrius.assembly.Assembly assembly)
                throws NonWidgetException
Creates a new instance from the data in another one but with a different assembly.

Parameters:
otherDragForce - the other instance
assembly - the new assembly
Throws:
NonWidgetException - if the assembly does not have only one valid aerodynamic property.
Method Detail

getMultiplicativeFactor

public double getMultiplicativeFactor()
Getter for the multiplicative factor used at construction.

Returns:
the multiplicative factor.

getAtmosphere

public CustomAtmosphere getAtmosphere()
Get the atmosphere model.

Returns:
the atmosphere

cloneAtmosphere

public CustomAtmosphere cloneAtmosphere()
                                 throws NonWidgetException
Get the atmosphere model as a new instance (to avoid problems related to threads).

Returns:
the atmosphere
Throws:
NonWidgetException - if some resource file reading error occurs

getAssembly

public fr.cnes.sirius.patrius.assembly.Assembly getAssembly()
Getter for the assembly used at construction.

Returns:
the assembly.

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2017. All rights reserved.