Sets the current isp and mass flow rate. Computes the thrust using the rocket equation. Returns false on an error.
[Visual Basic .NET] |
---|
Public Function SetIspAndMassFlowRate( _ ByVal Isp As Double, _ ByVal MassFlowRate As Double _ ) As Boolean |
[C#] |
---|
public bool SetIspAndMassFlowRate( double Isp, double MassFlowRate ); |
[Managed C++] |
---|
public: bool SetIspAndMassFlowRate( double Isp, double MassFlowRate ); |
[Unmanaged C++] |
---|
public: HRESULT SetIspAndMassFlowRate( double Isp, double MassFlowRate, VARIANT_BOOL * pReturn ); |
[Java] |
---|
public bool setIspAndMassFlowRate( double Isp, double MassFlowRate ); |
- Isp
- Must be non-negative.
- MassFlowRate
- Mass loss rate. May be entered as positive or negative number, but is always considered a mass loss, not a mass gain.
Returns false if Isp is negative.
Computes thrust from the rocket equation