C# Class GravityTurn.FuelFlowSimulation

Show file Open project: johnfink8/GravityTurn Class Usage Examples

Public Properties

Property Type Description
simStage int
t float

Public Methods

Method Description
AllowedToStage ( ) : bool
FindActiveEngines ( ) : List
FuelFlowSimulation ( List parts, bool dVLinearThrust ) : System
SimulateAllStages ( float throttle, double staticPressureKpa, double atmDensity, double machNumber ) : Stats[]
SimulateStage ( float throttle, double staticPressure, double atmDensity, double machNumber ) : Stats
SimulateStageActivation ( ) : void
SimulateTimeStep ( float desiredDt, float throttle, double staticPressure, double atmDensity, double machNumber, float &dt ) : Stats
VesselMass ( int simStage ) : float
VesselThrust ( float throttle, double staticPressure, double atmDensity, double machNumber ) : float
print ( object message ) : void

Method Details

AllowedToStage() public method

public AllowedToStage ( ) : bool
return bool

FindActiveEngines() public method

public FindActiveEngines ( ) : List
return List

FuelFlowSimulation() public method

public FuelFlowSimulation ( List parts, bool dVLinearThrust ) : System
parts List
dVLinearThrust bool
return System

SimulateAllStages() public method

public SimulateAllStages ( float throttle, double staticPressureKpa, double atmDensity, double machNumber ) : Stats[]
throttle float
staticPressureKpa double
atmDensity double
machNumber double
return Stats[]

SimulateStage() public method

public SimulateStage ( float throttle, double staticPressure, double atmDensity, double machNumber ) : Stats
throttle float
staticPressure double
atmDensity double
machNumber double
return Stats

SimulateStageActivation() public method

public SimulateStageActivation ( ) : void
return void

SimulateTimeStep() public method

public SimulateTimeStep ( float desiredDt, float throttle, double staticPressure, double atmDensity, double machNumber, float &dt ) : Stats
desiredDt float
throttle float
staticPressure double
atmDensity double
machNumber double
dt float
return Stats

VesselMass() public method

public VesselMass ( int simStage ) : float
simStage int
return float

VesselThrust() public method

public VesselThrust ( float throttle, double staticPressure, double atmDensity, double machNumber ) : float
throttle float
staticPressure double
atmDensity double
machNumber double
return float

print() public static method

public static print ( object message ) : void
message object
return void

Property Details

simStage public property

public int simStage
return int

t public property

public float t
return float