Contents

gaussSeidel(iterationCount:)

Gauss-Seidel solver for a cloth simulation.

Declaration

static func gaussSeidel(iterationCount: Int = 1) -> ClothSimulationComponent.Solver

Parameters

  • iterationCount:

    The number of solver iterations to perform per time step.

Return Value

A Gauss-Seidel solver configuration.

Discussion

This is the default solver. It provides the best trade-off between accuracy and performance in most cases.

See Also

Creating a solver