AGI AgGator 11 Send comments on this topic.
SetThrustAndIsp Method (IAgGatorPluginResultEvalEngineModel)
See Also 
Thrust
Must be non-negative
Isp
Must be non-negative





Description

Sets the current thrust (N) and isp (secs). Computes the mass flow rate using the rocket equation. Returns false on an error.

Syntax

[Visual Basic .NET]
Public Function SetThrustAndIsp( _
   ByVal Thrust As Double, _
   ByVal Isp As Double _
) As Boolean

[C#]
public bool SetThrustAndIsp(
double Thrust,
double Isp
);

[Managed C++]
public: bool SetThrustAndIsp(
double Thrust,
double Isp
);

[Java]
public bool setThrustAndIsp(
double Thrust,
double Isp
);

[Unmanaged C++]
public: HRESULT SetThrustAndIsp(
double Thrust,
double Isp,
VARIANT_BOOL * ReturnValue
);

Parameters

Thrust
Must be non-negative
Isp
Must be non-negative

Return Type

Returns false if either input parameter is negative

Remarks

Computes mass loss rate from the rocket equation

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1