public final class PropulsiveProperty extends Object implements IPartProperty, Serializable
Constructor and Description |
---|
PropulsiveProperty(double inThrust,
double inIsp)
Constructor for the property with constant value for thrust and isp.
|
PropulsiveProperty(IDependentVariable<SpacecraftState> inThrust,
IDependentVariable<SpacecraftState> inIsp)
Constructor for the property with thrust and isp as
IDependentVariable . |
PropulsiveProperty(Parameter inThrust,
Parameter inIsp)
Constructor for the property with thrust and isp as
Parameter . |
PropulsiveProperty(PropulsiveProperty propulsivePropertyIn)
Copy constructor.
|
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 |
getPartName()
Getter for the part name owning the property.
|
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.
|
void |
setPartName(String nameIn)
Setter for the part name owning the property.
|
String |
toString() |
public PropulsiveProperty(Parameter inThrust, Parameter inIsp)
Parameter
.inThrust
- thrustinIsp
- isppublic PropulsiveProperty(double inThrust, double inIsp)
inThrust
- thrustinIsp
- isppublic PropulsiveProperty(IDependentVariable<SpacecraftState> inThrust, IDependentVariable<SpacecraftState> inIsp)
IDependentVariable
.inThrust
- thrustinIsp
- isppublic PropulsiveProperty(PropulsiveProperty propulsivePropertyIn)
propulsivePropertyIn
- propulsive propertypublic void setPartName(String nameIn)
nameIn
- the part name owning the propertypublic String getPartName()
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()
getType
in interface IPartProperty
Copyright © 2021 CNES. All rights reserved.