playrho::RegStepStats Struct Reference

Regular-phase per-step statistics. More...

#include <StepStats.hpp>

Public Types

using counter_type = std::uint32_t
 Counter type. More...
 

Public Attributes

Length minSeparation = std::numeric_limits<Length>::infinity()
 Min separation. More...
 
Momentum maxIncImpulse = 0
 Max incremental impulse. More...
 
BodyCounter islandsFound = 0
 Islands found count. More...
 
BodyCounter islandsSolved = 0
 Islands solved count. More...
 
counter_type contactsAdded = 0
 Contacts added count. More...
 
counter_type bodiesSlept = 0
 Bodies slept count. More...
 
counter_type proxiesMoved = 0
 Proxies moved count. More...
 
counter_type sumPosIters = 0
 Sum of the position iterations. More...
 
counter_type sumVelIters = 0
 Sum of the velocity iterations. More...
 

Detailed Description

Regular-phase per-step statistics.

Note
This data structure is 32-bytes large (on at least one 64-bit platform with 4-byte Real type).

Definition at line 46 of file StepStats.hpp.

Member Typedef Documentation

◆ counter_type

using playrho::RegStepStats::counter_type = std::uint32_t

Counter type.

Definition at line 49 of file StepStats.hpp.

Member Data Documentation

◆ minSeparation

Length playrho::RegStepStats::minSeparation = std::numeric_limits<Length>::infinity()

Min separation.

Definition at line 52 of file StepStats.hpp.

◆ maxIncImpulse

Momentum playrho::RegStepStats::maxIncImpulse = 0

Max incremental impulse.

Definition at line 55 of file StepStats.hpp.

◆ islandsFound

BodyCounter playrho::RegStepStats::islandsFound = 0

Islands found count.

Definition at line 57 of file StepStats.hpp.

◆ islandsSolved

BodyCounter playrho::RegStepStats::islandsSolved = 0

Islands solved count.

Definition at line 58 of file StepStats.hpp.

◆ contactsAdded

counter_type playrho::RegStepStats::contactsAdded = 0

Contacts added count.

Definition at line 59 of file StepStats.hpp.

◆ bodiesSlept

counter_type playrho::RegStepStats::bodiesSlept = 0

Bodies slept count.

Definition at line 60 of file StepStats.hpp.

◆ proxiesMoved

counter_type playrho::RegStepStats::proxiesMoved = 0

Proxies moved count.

Definition at line 61 of file StepStats.hpp.

◆ sumPosIters

counter_type playrho::RegStepStats::sumPosIters = 0

Sum of the position iterations.

Definition at line 62 of file StepStats.hpp.

◆ sumVelIters

counter_type playrho::RegStepStats::sumVelIters = 0

Sum of the velocity iterations.

Definition at line 63 of file StepStats.hpp.


The documentation for this struct was generated from the following file: