C# Class BEPUphysics.SolverSystems.Solver

Iteratively solves solver updateables, converging to a solution for simulated joints and collision pair contact constraints.
Inheritance: MultithreadedProcessingStage
ファイルを表示 Open project: Indiefreaks/igf Class Usage Examples

Protected Properties

Property Type Description
timeStepSettings TimeStepSettings

Public Methods

Method Description
Add ( SolverUpdateable item ) : void

Adds a solver updateable to the solver.

Remove ( SolverUpdateable item ) : void

Removes a solver updateable from the solver.

Solver ( TimeStepSettings timeStepSettings, DeactivationManager deactivationManager ) : System

Constructs a Solver.

Solver ( TimeStepSettings timeStepSettings, DeactivationManager deactivationManager, IThreadManager threadManager ) : System

Constructs a Solver.

Protected Methods

Method Description
UnsafePrestep ( SolverUpdateable updateable ) : void
UnsafeSolveIteration ( SolverUpdateable updateable ) : void
UpdateMultithreaded ( ) : void
UpdateSingleThreaded ( ) : void

Private Methods

Method Description
ComputeIterationCoefficient ( ) : void
MultithreadedIteration ( int i ) : void
MultithreadedPrestep ( int i ) : void

Method Details

Add() public method

Adds a solver updateable to the solver.
Thrown when the item already belongs to a solver.
public Add ( SolverUpdateable item ) : void
item SolverUpdateable Updateable to add.
return void

Remove() public method

Removes a solver updateable from the solver.
Thrown when the item does not belong to the solver.
public Remove ( SolverUpdateable item ) : void
item SolverUpdateable Updateable to remove.
return void

Solver() public method

Constructs a Solver.
public Solver ( TimeStepSettings timeStepSettings, DeactivationManager deactivationManager ) : System
timeStepSettings TimeStepSettings Time step settings used by the solver.
deactivationManager BEPUphysics.DeactivationManagement.DeactivationManager Deactivation manager used by the solver.
return System

Solver() public method

Constructs a Solver.
public Solver ( TimeStepSettings timeStepSettings, DeactivationManager deactivationManager, IThreadManager threadManager ) : System
timeStepSettings TimeStepSettings Time step settings used by the solver.
deactivationManager BEPUphysics.DeactivationManagement.DeactivationManager Deactivation manager used by the solver.
threadManager IThreadManager Thread manager used by the solver.
return System

UnsafePrestep() protected method

protected UnsafePrestep ( SolverUpdateable updateable ) : void
updateable SolverUpdateable
return void

UnsafeSolveIteration() protected method

protected UnsafeSolveIteration ( SolverUpdateable updateable ) : void
updateable SolverUpdateable
return void

UpdateMultithreaded() protected method

protected UpdateMultithreaded ( ) : void
return void

UpdateSingleThreaded() protected method

protected UpdateSingleThreaded ( ) : void
return void

Property Details

timeStepSettings protected_oe property

protected TimeStepSettings timeStepSettings
return TimeStepSettings