public final class PropulsiveProperty extends Object implements IPartProperty
| Constructor and Description |
|---|
PropulsiveProperty(String inName,
double inThrust,
double inIsp)
Constructor for the property with constant value for thrust and isp.
|
PropulsiveProperty(String inName,
IDependentVariable<SpacecraftState> inThrust,
IDependentVariable<SpacecraftState> inIsp)
Constructor for the property with thrust and isp as
IDependentVariable. |
PropulsiveProperty(String inName,
Parameter inThrust,
Parameter inIsp)
Constructor for the property with thrust and isp as
Parameter. |
| Modifier and Type | Method and Description |
|---|---|
IDependentVariable<SpacecraftState> |
getIsp()
Getter for the isp as an
IDependentVariable object. |
double |
getIsp(SpacecraftState state)
Getter for isp (s) as function of input
SpacecraftState. |
Parameter |
getIspParam()
Getter for the isp as an
Parameter object. |
String |
getName()
Getter for the name.
|
IDependentVariable<SpacecraftState> |
getThrust()
Getter for the thrust as an
IDependentVariable object. |
double |
getThrust(SpacecraftState state)
Getter for thrust force (N) as function of input
SpacecraftState. |
Parameter |
getThrustParam()
Getter for the thrust force as an
Parameter object. |
PropertyType |
getType()
Get the type of the property.
|
public PropulsiveProperty(String inName, Parameter inThrust, Parameter inIsp)
Parameter.inName - nameinThrust - thrustinIsp - isppublic PropulsiveProperty(String inName, double inThrust, double inIsp)
inName - nameinThrust - thrustinIsp - isppublic PropulsiveProperty(String inName, IDependentVariable<SpacecraftState> inThrust, IDependentVariable<SpacecraftState> inIsp)
IDependentVariable.inName - nameinThrust - thrustinIsp - isppublic String getName()
public IDependentVariable<SpacecraftState> getThrust()
IDependentVariable object.public IDependentVariable<SpacecraftState> getIsp()
IDependentVariable object.public Parameter getIspParam()
Parameter object.
Will return NaN if ISP has been defined as variable.
public Parameter getThrustParam()
Parameter object.
Will return NaN if thrust has been defined as variable.
public double getThrust(SpacecraftState state)
SpacecraftState.state - the spacecraft statepublic double getIsp(SpacecraftState state)
SpacecraftState.state - the spacecraft statepublic PropertyType getType()
IPartPropertygetType in interface IPartPropertyCopyright © 2017 CNES. All rights reserved.