public class CnCookModel extends Object implements IParamDiffFunction
Constructor and Description |
---|
CnCookModel(ExtendedAtmosphere atmos,
Facet afacet,
Frame afacetFrame,
double eps,
double wallGasTemp)
Constructor with constant wall gas temperature.
|
CnCookModel(ExtendedAtmosphere atmos,
Facet afacet,
Frame afacetFrame,
double eps,
WallGasTemperatureProvider wallGasTemp)
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 CnCookModel(ExtendedAtmosphere atmos, Facet afacet, Frame afacetFrame, double eps, double wallGasTemp)
atmos
- atmosphereafacet
- facetafacetFrame
- facet frameeps
- specular reemission coefficientwallGasTemp
- constant wall gas temperaturepublic CnCookModel(ExtendedAtmosphere atmos, Facet afacet, Frame afacetFrame, double eps, WallGasTemperatureProvider wallGasTemp)
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 coefficientwallGasTemp
- wall gas temperaturepublic 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 ArrayList<Parameter> getParameters()
getParameters
in interface IParameterizable
public boolean supportsParameter(Parameter param)
supportsParameter
in interface IParameterizable
param
- parameter to checkpublic boolean isDifferentiableBy(Parameter p)
isDifferentiableBy
in interface IParamDiffFunction
p
- function parameterCopyright © 2021 CNES. All rights reserved.