#include <mbd_fix_point_step_simulator.h>
Classes | |
| class | constraint_traits |
| class | edge_traits |
| class | node_traits |
Public Member Functions | |
| FixPointStepSimulator () | |
| virtual | ~FixPointStepSimulator () |
| void | run (real_type const &time_step) |
Protected Types | |
| typedef mbd_types::math_policy | math_policy |
| typedef math_policy::real_type | real_type |
| typedef math_policy::value_traits | value_traits |
| typedef math_policy::vector_type | vector_type |
| typedef mbd_types::group_type | group_type |
| typedef mbd_types::group_ptr_container | group_ptr_container |
Protected Member Functions | |
| real_type | norm (vector_type &A, vector_type &B) |
Protected Attributes | |
| vector_type | m_st |
| Generalized position vector of all bodies. | |
| vector_type | m_s |
| Generalized position vector of all bodies. | |
| vector_type | m_ss |
| Generalized position vector of all bodies. | |
| vector_type | m_u |
| Generalized velocity vector of all bodies. | |
| group_type * | m_all |
| body_type group, used to handle the state of all bodies at once. | |
| group_ptr_container | m_groups |
A Fix Point Step Simulator.
Does not work with First Order Physics.
typedef mbd_types::group_ptr_container OpenTissue::mbd::FixPointStepSimulator< mbd_types >::group_ptr_container [protected] |
typedef mbd_types::group_type OpenTissue::mbd::FixPointStepSimulator< mbd_types >::group_type [protected] |
typedef mbd_types::math_policy OpenTissue::mbd::FixPointStepSimulator< mbd_types >::math_policy [protected] |
Reimplemented from OpenTissue::mbd::SimulatorInterface< mbd_types >.
typedef math_policy::real_type OpenTissue::mbd::FixPointStepSimulator< mbd_types >::real_type [protected] |
Reimplemented from OpenTissue::mbd::SimulatorInterface< mbd_types >.
typedef math_policy::value_traits OpenTissue::mbd::FixPointStepSimulator< mbd_types >::value_traits [protected] |
Reimplemented from OpenTissue::mbd::SimulatorInterface< mbd_types >.
typedef math_policy::vector_type OpenTissue::mbd::FixPointStepSimulator< mbd_types >::vector_type [protected] |
| OpenTissue::mbd::FixPointStepSimulator< mbd_types >::FixPointStepSimulator | ( | ) | [inline] |
| virtual OpenTissue::mbd::FixPointStepSimulator< mbd_types >::~FixPointStepSimulator | ( | ) | [inline, virtual] |
| real_type OpenTissue::mbd::FixPointStepSimulator< mbd_types >::norm | ( | vector_type & | A, | |
| vector_type & | B | |||
| ) | [inline, protected] |
L-inifinity norm between two vectors.
| A | The first vector. | |
| B | The second vector. |
| void OpenTissue::mbd::FixPointStepSimulator< mbd_types >::run | ( | real_type const & | time_step | ) | [inline, virtual] |
Implements OpenTissue::mbd::SimulatorInterface< mbd_types >.
group_type* OpenTissue::mbd::FixPointStepSimulator< mbd_types >::m_all [protected] |
body_type group, used to handle the state of all bodies at once.
group_ptr_container OpenTissue::mbd::FixPointStepSimulator< mbd_types >::m_groups [protected] |
Temporary Storage, used to hold results from the collision detection engine.
vector_type OpenTissue::mbd::FixPointStepSimulator< mbd_types >::m_s [protected] |
Generalized position vector of all bodies.
vector_type OpenTissue::mbd::FixPointStepSimulator< mbd_types >::m_ss [protected] |
Generalized position vector of all bodies.
vector_type OpenTissue::mbd::FixPointStepSimulator< mbd_types >::m_st [protected] |
Generalized position vector of all bodies.
vector_type OpenTissue::mbd::FixPointStepSimulator< mbd_types >::m_u [protected] |
Generalized velocity vector of all bodies.
1.7.1