Table of Contents

Struct PatchedNBody.OdeSolveJob

Namespace
KSP.Sim.impl
Assembly
Assembly-CSharp.dll
public struct PatchedNBody.OdeSolveJob : IJob
Implements
IJob
Inherited Members
Extension Methods

Fields

AArray

public NativeArray<double> AArray

Field Value

NativeArray<double>

BArray

public NativeArray<double> BArray

Field Value

NativeArray<double>

CArray

public NativeArray<double> CArray

Field Value

NativeArray<double>

ChildKeplerBodies

public NativeList<PatchedNBody.CelestialBodyPositionJob.KeplerBody> ChildKeplerBodies

Field Value

NativeList<KeplerBody>

ChildOrbitalElements

public NativeArray<OrbitalElements> ChildOrbitalElements

Field Value

NativeArray<OrbitalElements>

ChildSOIs

public NativeArray<double> ChildSOIs

Field Value

NativeArray<double>

EArray

public NativeArray<double> EArray

Field Value

NativeArray<double>

EncounterBodyIndex

public NativeArray<int> EncounterBodyIndex

Field Value

NativeArray<int>

ErrorEstimatorOrder

public int ErrorEstimatorOrder

Field Value

int

EvolveType

public EvolveTypeEnum EvolveType

Field Value

EvolveTypeEnum

InitialPosition

public double3 InitialPosition

Field Value

double3

InitialVelocity

public double3 InitialVelocity

Field Value

double3

IntegratorMethodEnum

public ManeuverPlanSolver.IntegratorMethodEnum IntegratorMethodEnum

Field Value

ManeuverPlanSolver.IntegratorMethodEnum

KArray

public NativeArray<PatchedNBody.OdeState> KArray

Field Value

NativeArray<OdeState>

NUM_EQNS

public const int NUM_EQNS = 6

Field Value

int

OdeSettings

public PatchedNBody.OdeSettings OdeSettings

Field Value

PatchedNBody.OdeSettings

OdeSolution

public NativeList<PatchedNBody.OdeSolutionComponent> OdeSolution

Field Value

NativeList<OdeSolutionComponent>

OdeSolveTerminationStatus

public NativeArray<OdeSolveStatus> OdeSolveTerminationStatus

Field Value

NativeArray<OdeSolveStatus>

OdeSolverStageComponent

public OdeSolverStageComponent OdeSolverStageComponent

Field Value

OdeSolverStageComponent

PArray

public NativeArray<double> PArray

Field Value

NativeArray<double>

PShape

public int2 PShape

Field Value

int2

ParentRadius

public double ParentRadius

Field Value

double

ParentReferenceBodyConstants

public ReferenceBodyConstants ParentReferenceBodyConstants

Field Value

ReferenceBodyConstants

ParentSOI

public double ParentSOI

Field Value

double

ParentStandardGravParam

public double ParentStandardGravParam

Field Value

double

PatchEndTransition

public NativeArray<PatchTransitionType> PatchEndTransition

Field Value

NativeArray<PatchTransitionType>

QArray

public NativeList<PatchedNBody.OdeState> QArray

Field Value

NativeList<OdeState>

TimeEnd

public double TimeEnd

Field Value

double

TimeStart

public double TimeStart

Field Value

double

Methods

Execute()

public void Execute()

RKStep(double, OdeState, double, OdeState)

public PatchedNBody.OdeState RKStep(double t, PatchedNBody.OdeState y, double h, PatchedNBody.OdeState f = default)

Parameters

t double
y PatchedNBody.OdeState
h double
f PatchedNBody.OdeState

Returns

PatchedNBody.OdeState