#include <versatile_simulator.h>
List of all members.
Detailed Description
template<typename versatile_types>
class OpenTissue::versatile::Simulator< versatile_types >
Versatile Method.
Some observations:
Good stability <- small time steps, small geometries (re-scale world to unity), keep k_D, k_A, k_V below 100 or so.
Member Typedef Documentation
template<typename versatile_types >
template<typename versatile_types >
template<typename versatile_types >
template<typename versatile_types >
template<typename versatile_types >
template<typename versatile_types >
template<typename versatile_types >
template<typename versatile_types >
template<typename versatile_types >
template<typename versatile_types >
template<typename versatile_types >
template<typename versatile_types >
template<typename versatile_types >
Member Function Documentation
template<typename versatile_types >
template<typename versatile_types >
template<typename versatile_types >
template<typename versatile_types >
template<typename versatile_types >
template<typename versatile_types >
Run Simulation. Remeber to compute external forces prior to invoking this method.
- Parameters:
-
| dT | The frame time. |
| fraction | Error reduction parameter, indicates the fraction that penetrations should be reduced too within time dT. Don't be too overeager, value of 0.05 (5%) seems to do a good job. |
template<typename versatile_types >
Time-Step method.
- Parameters:
-
| dT | Frame time-step. |
| fraction | Penetration reduction parameter. |
| dt | The time-step time. Observe that an explicit integration method (Verlet) is being used. Your time-step should be order of ms (milliseconds) otherwise the simulation becomes unstable. |
Member Data Documentation
template<typename versatile_types >
Container holding collision detection results.
template<typename versatile_types >
All objects that should be simulated.
template<typename versatile_types >
The documentation for this class was generated from the following file:
- /home/hauberg/Dokumenter/Capture/humim-tracker-0.1/src/OpenTissue/OpenTissue/dynamics/versatile/versatile_simulator.h