Sets the current thrust(N) and mass flow rate
(kg/sec). Computes the isp using the rocket equation. Returns false
on an error.
| [Visual Basic .NET] |
|---|
Public Function SetThrustAndMassFlowRate( _
ByVal Thrust As Double, _
ByVal MassFlowRate As Double _
) As Boolean
|
| [C#] |
|---|
public bool SetThrustAndMassFlowRate(
|
| [Managed C++] |
|---|
public: bool SetThrustAndMassFlowRate(
|
| [Java] |
|---|
public bool setThrustAndMassFlowRate(
|
| [Unmanaged C++] |
|---|
public: HRESULT SetThrustAndMassFlowRate(
|
- Thrust
- Must be positive
- 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 thrust is not positive
Computes Isp from the rocket equation