Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/FSolverPartitionManager
Description
Global start indices into solver's constraint container. Constraint indices in two separate inner arrays must be processed in series (e.g. ConstraintBatchIndices[i][0] and ConstraintBatchIndices[i+1][0]). Constraint indices in the same inner array can be processed in parallel (e.g. ConstraintBatchIndices[i][j] and ConstraintBatchIndices[i][j+1]). The constraint solver will launch batches from ConstraintBatchIndices[i][j] to ConstraintBatchIndices[i][j+1].
| Name | GetConstraintsBatchIndices |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Evolution/SolverPartitionManager.h |
| Include Path | #include "Chaos/Evolution/SolverPartitionManager.h" |
| Source | /Engine/Source/Runtime/Experimental/Chaos/Private/Chaos/Evolution/SolverPartitionManager.cpp |
const TArray < TArray < int32 > > & GetConstraintsBatchIndices() const