C# Class BEPUphysics.SolverSystems.Solver

Iteratively solves solver updateables, converging to a solution for simulated joints and collision pair contact constraints.
Inheritance: MultithreadedProcessingStage
Afficher le fichier Open project: Indiefreaks/igf Class Usage Examples

Protected Properties

Свойство Type Description
timeStepSettings TimeStepSettings

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
UnsafePrestep ( SolverUpdateable updateable ) : void
UnsafeSolveIteration ( SolverUpdateable updateable ) : void
UpdateMultithreaded ( ) : void
UpdateSingleThreaded ( ) : void

Private Methods

Méthode Description
ComputeIterationCoefficient ( ) : void
MultithreadedIteration ( int i ) : void
MultithreadedPrestep ( int i ) : void

Method Details

Add() public méthode

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.
Résultat void

Remove() public méthode

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.
Résultat void

Solver() public méthode

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.
Résultat System

Solver() public méthode

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.
Résultat System

UnsafePrestep() protected méthode

protected UnsafePrestep ( SolverUpdateable updateable ) : void
updateable SolverUpdateable
Résultat void

UnsafeSolveIteration() protected méthode

protected UnsafeSolveIteration ( SolverUpdateable updateable ) : void
updateable SolverUpdateable
Résultat void

UpdateMultithreaded() protected méthode

protected UpdateMultithreaded ( ) : void
Résultat void

UpdateSingleThreaded() protected méthode

protected UpdateSingleThreaded ( ) : void
Résultat void

Property Details

timeStepSettings protected_oe property

protected TimeStepSettings timeStepSettings
Résultat TimeStepSettings