Navigation
API > API/Runtime > API/Runtime/Chaos
| Name | FGreedyConstraintColoring |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Evolution/SolverPartitionManager.h |
| Include Path | #include "Chaos/Evolution/SolverPartitionManager.h" |
Syntax
class FGreedyConstraintColoring : public Chaos::Private::FSolverPartitionManager
Inheritance Hierarchy
- FSolverPartitionManager → FGreedyConstraintColoring
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FGreedyConstraintColoring
(
Chaos::FConstraintContainerSolver& ContainerIn, |
Chaos/Evolution/SolverPartitionManager.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| MaxColors | int32 | Maximum number of colors supported by the algorithm. | Chaos/Evolution/SolverPartitionManager.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BodyColors | TArray< uint64 > | Uint64 bitmask holds the color indices (as bits) of all constraints connected to a solver body. | Chaos/Evolution/SolverPartitionManager.h | |
| BodyIndices | TArray< int32 > | Indices of the particles into SOA Will be used in index to AllBodyColors Kinematic, static, or sleeping particles are INDEX_NONE | Chaos/Evolution/SolverPartitionManager.h | |
| ColorStartIndices | TArray< int32 > | Start index of each color in the fully sorted constraint container. | Chaos/Evolution/SolverPartitionManager.h | |
| ConstrainedParticles | TArray< const FGeometryParticleHandle * > | Particles constrained by all constraints in the Container (inherited). | Chaos/Evolution/SolverPartitionManager.h | |
| ConstraintColorIndices | TArray< int32 > | Color indices of all constraints before sorting. | Chaos/Evolution/SolverPartitionManager.h | |
| CountColors | TArray< int32 > | Counts the number of occurrences of each color index | Chaos/Evolution/SolverPartitionManager.h |
Functions
Public
Public Virtual
Overridden from FSolverPartitionManager
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ESolverPartitionManagerType GetType
(
FPasskey Passkey |
Not publicly callable because of passkey with private constructor | Chaos/Evolution/SolverPartitionManager.h | |
virtual int32 PreparePartitions () |
Assigns a partition ID for all constraints in Container. | Chaos/Evolution/SolverPartitionManager.h |