public class CtCookModel extends Object implements IParamDiffFunction
Constructor and Description |
---|
CtCookModel(ExtendedAtmosphere atmos,
Facet afacet,
Frame afacetFrame,
double eps)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
double |
derivativeValue(Parameter p,
SpacecraftState state)
Compute the derivative value with respect to the input parameter.
|
ArrayList<Parameter> |
getParameters()
Get the supported parameters.
|
boolean |
isDifferentiableBy(Parameter p)
Tell if the function is differentiable by the given parameter.
|
boolean |
supportsParameter(Parameter param)
Check if a parameter is supported.
|
double |
value(SpacecraftState state)
Getting the value of the function.
|
public CtCookModel(ExtendedAtmosphere atmos, Facet afacet, Frame afacetFrame, double eps)
atmos
- atmosphereafacet
- facet. Facet should be oriented such that facet normal vector is outside the spacecraft.
Thus the facet will create drag only if facing the windafacetFrame
- facet frameeps
- specular reemission coefficientpublic double value(SpacecraftState state)
value
in interface IParameterizableFunction
state
- the spacecraft statepublic double derivativeValue(Parameter p, SpacecraftState state)
derivativeValue
in interface IParamDiffFunction
p
- parameterstate
- current statepublic boolean supportsParameter(Parameter param)
supportsParameter
in interface IParameterizable
param
- parameter to checkpublic ArrayList<Parameter> getParameters()
getParameters
in interface IParameterizable
public boolean isDifferentiableBy(Parameter p)
isDifferentiableBy
in interface IParamDiffFunction
p
- function parameterCopyright © 2023 CNES. All rights reserved.