Skip to main content

Module solver

Module solver 

Source
Expand description

Softness / make_soft and the step context from solver.h. Integration and the serial solve driver live in submodules.

The C b3StepContext carries multithreading scratch. The single-threaded port keeps only the step parameters here; solver scratch is owned locally by the solve pass and world data is passed as separate arguments.

SPDX-FileCopyrightText: 2025 Erin Catto SPDX-License-Identifier: MIT

Structs§

Softness
Soft constraint coefficients. (b3Softness)
SolverBlock
Solver block describes a unit of work. (b3SolverBlock)
StepContext
Context for a time step. Recreated each time step. (b3StepContext — step parameters only; see the module header for what the serial port drops)

Enums§

SolverBlockType
Solver block type. (b3SolverBlockType)
SolverStageType
Solver stage type. (b3SolverStageType)

Functions§

make_soft
(static inline b3MakeSoft)
solve
Solve with graph coloring. (b3Solve — serial)