fr.cnes.genopus.nonWidget.vehicle.aeroCoeffs
Class CustomAeroCoeffByAoAAndMach

java.lang.Object
  extended by fr.cnes.genopus.nonWidget.vehicle.aeroCoeffs.CustomAeroCoeffByAoAAndMach
All Implemented Interfaces:
Serializable, org.orekit.parameter.IParamDiffFunction, org.orekit.parameter.IParameterizable, org.orekit.parameter.IParameterizableFunction

public class CustomAeroCoeffByAoAAndMach
extends Object
implements org.orekit.parameter.IParamDiffFunction

Aerodynamic coefficient as a function of two variables: the angle of attack and the mach number.

Author:
sumelzi
See Also:
Serialized Form

Constructor Summary
CustomAeroCoeffByAoAAndMach(double[] anglesOfAttack, double[] machNumbers, double[][] coeffs, org.orekit.forces.atmospheres.Atmosphere atmosphere, org.orekit.bodies.ExtendedOneAxisEllipsoid earthShape)
          Creates a new instance.
 
Method Summary
 double derivativeValue(org.orekit.parameter.Parameter p, org.orekit.propagation.SpacecraftState s)
          
 double[] getAoAArray()
          Getter for the Angles of Attack array used for the function definition).
 double[][] getDataArray()
          Getter for the aerodynamic coefficients array used for the function definition.
 org.apache.commons.math3.analysis.interpolation.BiLinearIntervalsFunction getFunction()
          Getter for the function.
 double[] getMachArray()
          Getter for the Mach numbers array used for the function definition.
 ArrayList<org.orekit.parameter.Parameter> getParameters()
          
 boolean isDifferentiableBy(org.orekit.parameter.Parameter p)
          
 boolean supportsParameter(org.orekit.parameter.Parameter param)
          
 String toString()
          
 double value(org.orekit.propagation.SpacecraftState state)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CustomAeroCoeffByAoAAndMach

public CustomAeroCoeffByAoAAndMach(double[] anglesOfAttack,
                                   double[] machNumbers,
                                   double[][] coeffs,
                                   org.orekit.forces.atmospheres.Atmosphere atmosphere,
                                   org.orekit.bodies.ExtendedOneAxisEllipsoid earthShape)
Creates a new instance.

Parameters:
anglesOfAttack - array of angles of attack (rad)
machNumbers - array of mach numbers
coeffs - array of arrays of aerodynamic coefficients
atmosphere - atmosphere model
earthShape - earth shape
Method Detail

value

public double value(org.orekit.propagation.SpacecraftState state)

Specified by:
value in interface org.orekit.parameter.IParameterizableFunction

getParameters

public ArrayList<org.orekit.parameter.Parameter> getParameters()

Specified by:
getParameters in interface org.orekit.parameter.IParameterizable

supportsParameter

public boolean supportsParameter(org.orekit.parameter.Parameter param)

Specified by:
supportsParameter in interface org.orekit.parameter.IParameterizable

derivativeValue

public double derivativeValue(org.orekit.parameter.Parameter p,
                              org.orekit.propagation.SpacecraftState s)

Specified by:
derivativeValue in interface org.orekit.parameter.IParamDiffFunction

isDifferentiableBy

public boolean isDifferentiableBy(org.orekit.parameter.Parameter p)

Specified by:
isDifferentiableBy in interface org.orekit.parameter.IParamDiffFunction

getAoAArray

public double[] getAoAArray()
Getter for the Angles of Attack array used for the function definition).

Returns:
the Angles of Attack array

getMachArray

public double[] getMachArray()
Getter for the Mach numbers array used for the function definition.

Returns:
the Mach numbers array

getDataArray

public double[][] getDataArray()
Getter for the aerodynamic coefficients array used for the function definition.

Returns:
the aerodynamic coefficients array

getFunction

public org.apache.commons.math3.analysis.interpolation.BiLinearIntervalsFunction getFunction()
Getter for the function.

Returns:
the function

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2017. All rights reserved.