C# Класс BEPUphysics.SolverSystems.Solver

Iteratively solves solver updateables, converging to a solution for simulated joints and collision pair contact constraints.
Наследование: MultithreadedProcessingStage
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
timeStepSettings TimeStepSettings

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
UnsafePrestep ( SolverUpdateable updateable ) : void
UnsafeSolveIteration ( SolverUpdateable updateable ) : void
UpdateMultithreaded ( ) : void
UpdateSingleThreaded ( ) : void

Приватные методы

Метод Описание
ComputeIterationCoefficient ( ) : void
MultithreadedIteration ( int i ) : void
MultithreadedPrestep ( int i ) : void

Описание методов

Add() публичный метод

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.
Результат void

Remove() публичный метод

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.
Результат void

Solver() публичный метод

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.
Результат System

Solver() публичный метод

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.
Результат System

UnsafePrestep() защищенный метод

protected UnsafePrestep ( SolverUpdateable updateable ) : void
updateable SolverUpdateable
Результат void

UnsafeSolveIteration() защищенный метод

protected UnsafeSolveIteration ( SolverUpdateable updateable ) : void
updateable SolverUpdateable
Результат void

UpdateMultithreaded() защищенный метод

protected UpdateMultithreaded ( ) : void
Результат void

UpdateSingleThreaded() защищенный метод

protected UpdateSingleThreaded ( ) : void
Результат void

Описание свойств

timeStepSettings защищенное свойство

protected TimeStepSettings timeStepSettings
Результат TimeStepSettings