TOI-phase per-step statistics. More...
#include <StepStats.hpp>
Public Types | |
using | counter_type = std::uint32_t |
Counter type. More... | |
using | dist_iter_type = std::remove_const< decltype(DefaultMaxDistanceIters)>::type |
Distance iteration type. More... | |
using | toi_iter_type = std::remove_const< decltype(DefaultMaxToiIters)>::type |
TOI iteration type. More... | |
using | root_iter_type = std::remove_const< decltype(DefaultMaxToiRootIters)>::type |
Root iteration type. More... | |
Public Attributes | |
Length | minSeparation = std::numeric_limits<Length>::infinity() |
Min separation. More... | |
Momentum | maxIncImpulse = 0 |
Max incremental impulse. More... | |
counter_type | islandsFound = 0 |
Islands found count. More... | |
counter_type | islandsSolved = 0 |
Islands solved count. More... | |
counter_type | contactsFound = 0 |
Contacts found count. More... | |
counter_type | contactsAtMaxSubSteps = 0 |
Contacts at max substeps count. More... | |
counter_type | contactsUpdatedToi = 0 |
Contacts updated TOI count. More... | |
counter_type | contactsUpdatedTouching = 0 |
Contacts updated touching count. More... | |
counter_type | contactsSkippedTouching = 0 |
Contacts skipped touching count. More... | |
counter_type | contactsAdded = 0 |
Contacts added count. More... | |
counter_type | proxiesMoved = 0 |
Proxies moved count. More... | |
counter_type | sumPosIters = 0 |
Sum position iterations count. More... | |
counter_type | sumVelIters = 0 |
Sum velocity iterations count. More... | |
counter_type | maxSimulContacts = 0 |
Max contacts occurring simultaneously. More... | |
dist_iter_type | maxDistIters = 0 |
Max distance iterations. More... | |
toi_iter_type | maxToiIters = 0 |
Max TOI iterations. More... | |
root_iter_type | maxRootIters = 0 |
Max root iterations. More... | |
Detailed Description
TOI-phase per-step statistics.
- Note
- This data structure is 60-bytes large (on at least one 64-bit platform with 4-byte Real type).
Definition at line 69 of file StepStats.hpp.
Member Typedef Documentation
◆ counter_type
using playrho::ToiStepStats::counter_type = std::uint32_t |
Counter type.
Definition at line 72 of file StepStats.hpp.
◆ dist_iter_type
using playrho::ToiStepStats::dist_iter_type = std::remove_const<decltype(DefaultMaxDistanceIters)>::type |
Distance iteration type.
Definition at line 94 of file StepStats.hpp.
◆ toi_iter_type
using playrho::ToiStepStats::toi_iter_type = std::remove_const<decltype(DefaultMaxToiIters)>::type |
TOI iteration type.
Definition at line 97 of file StepStats.hpp.
◆ root_iter_type
using playrho::ToiStepStats::root_iter_type = std::remove_const<decltype(DefaultMaxToiRootIters)>::type |
Root iteration type.
Definition at line 100 of file StepStats.hpp.
Member Data Documentation
◆ minSeparation
Min separation.
Definition at line 75 of file StepStats.hpp.
◆ maxIncImpulse
Momentum playrho::ToiStepStats::maxIncImpulse = 0 |
Max incremental impulse.
Definition at line 78 of file StepStats.hpp.
◆ islandsFound
counter_type playrho::ToiStepStats::islandsFound = 0 |
Islands found count.
Definition at line 80 of file StepStats.hpp.
◆ islandsSolved
counter_type playrho::ToiStepStats::islandsSolved = 0 |
Islands solved count.
Definition at line 81 of file StepStats.hpp.
◆ contactsFound
counter_type playrho::ToiStepStats::contactsFound = 0 |
Contacts found count.
Definition at line 82 of file StepStats.hpp.
◆ contactsAtMaxSubSteps
counter_type playrho::ToiStepStats::contactsAtMaxSubSteps = 0 |
Contacts at max substeps count.
Definition at line 83 of file StepStats.hpp.
◆ contactsUpdatedToi
counter_type playrho::ToiStepStats::contactsUpdatedToi = 0 |
Contacts updated TOI count.
Definition at line 84 of file StepStats.hpp.
◆ contactsUpdatedTouching
counter_type playrho::ToiStepStats::contactsUpdatedTouching = 0 |
Contacts updated touching count.
Definition at line 85 of file StepStats.hpp.
◆ contactsSkippedTouching
counter_type playrho::ToiStepStats::contactsSkippedTouching = 0 |
Contacts skipped touching count.
Definition at line 86 of file StepStats.hpp.
◆ contactsAdded
counter_type playrho::ToiStepStats::contactsAdded = 0 |
Contacts added count.
Definition at line 87 of file StepStats.hpp.
◆ proxiesMoved
counter_type playrho::ToiStepStats::proxiesMoved = 0 |
Proxies moved count.
Definition at line 88 of file StepStats.hpp.
◆ sumPosIters
counter_type playrho::ToiStepStats::sumPosIters = 0 |
Sum position iterations count.
Definition at line 89 of file StepStats.hpp.
◆ sumVelIters
counter_type playrho::ToiStepStats::sumVelIters = 0 |
Sum velocity iterations count.
Definition at line 90 of file StepStats.hpp.
◆ maxSimulContacts
counter_type playrho::ToiStepStats::maxSimulContacts = 0 |
Max contacts occurring simultaneously.
Definition at line 91 of file StepStats.hpp.
◆ maxDistIters
dist_iter_type playrho::ToiStepStats::maxDistIters = 0 |
Max distance iterations.
Definition at line 102 of file StepStats.hpp.
◆ maxToiIters
toi_iter_type playrho::ToiStepStats::maxToiIters = 0 |
Max TOI iterations.
Definition at line 103 of file StepStats.hpp.
◆ maxRootIters
root_iter_type playrho::ToiStepStats::maxRootIters = 0 |
Max root iterations.
Definition at line 104 of file StepStats.hpp.
The documentation for this struct was generated from the following file:
- Dynamics/StepStats.hpp