#include <mbd_simulator_interface.h>
Public Types | |
typedef mbd_types | types |
Public Member Functions | |
stepper_policy * | get_stepper () |
stepper_policy const * | get_stepper () const |
sleepy_policy * | get_sleepy () |
sleepy_policy const * | get_sleepy () const |
collision_detection const * | get_collision_detection () const |
configuration_type const * | get_configuration () const |
collision_detection * | get_collision_detection () |
configuration_type * | get_configuration () |
SimulatorInterface () | |
virtual | ~SimulatorInterface () |
virtual void | run (real_type const &time_step)=0 |
void | init (configuration_type &configuration) |
void | clear () |
real_type const & | time () const |
void | reset_time () |
Protected Types | |
typedef mbd_types::math_policy | math_policy |
typedef math_policy::real_type | real_type |
typedef math_policy::value_traits | value_traits |
typedef mbd_types::configuration_type | configuration_type |
typedef mbd_types::sleepy_policy | sleepy_policy |
typedef mbd_types::stepper_policy | stepper_policy |
typedef mbd_types::collision_detection_policy | collision_detection |
Protected Member Functions | |
void | update_time (real_type const &time_step) |
Simulation Time Handler Class. All simulators should be inherited from this class. Also the run-methods in each simulator implementation are responsible for updating the simulation time.
typedef mbd_types::collision_detection_policy OpenTissue::mbd::SimulatorInterface< mbd_types >::collision_detection [protected] |
typedef mbd_types::configuration_type OpenTissue::mbd::SimulatorInterface< mbd_types >::configuration_type [protected] |
typedef mbd_types::math_policy OpenTissue::mbd::SimulatorInterface< mbd_types >::math_policy [protected] |
typedef math_policy::real_type OpenTissue::mbd::SimulatorInterface< mbd_types >::real_type [protected] |
Reimplemented in OpenTissue::mbd::BisectionStepSimulator< mbd_types >, OpenTissue::mbd::ExplicitFixedStepSimulator< mbd_types >, OpenTissue::mbd::ExplicitSeparateErrorCorrectionFixedStepSimulator< mbd_types >, OpenTissue::mbd::FixPointStepSimulator< mbd_types >, OpenTissue::mbd::ImplicitFixedStepSimulator< mbd_types >, OpenTissue::mbd::SemiImplicitFixedStepSimulator< mbd_types >, and OpenTissue::mbd::SeparatedCollisionContactFixedStepSimulator< mbd_types >.
typedef mbd_types::sleepy_policy OpenTissue::mbd::SimulatorInterface< mbd_types >::sleepy_policy [protected] |
typedef mbd_types::stepper_policy OpenTissue::mbd::SimulatorInterface< mbd_types >::stepper_policy [protected] |
typedef mbd_types OpenTissue::mbd::SimulatorInterface< mbd_types >::types |
typedef math_policy::value_traits OpenTissue::mbd::SimulatorInterface< mbd_types >::value_traits [protected] |
OpenTissue::mbd::SimulatorInterface< mbd_types >::SimulatorInterface | ( | ) | [inline] |
virtual OpenTissue::mbd::SimulatorInterface< mbd_types >::~SimulatorInterface | ( | ) | [inline, virtual] |
void OpenTissue::mbd::SimulatorInterface< mbd_types >::clear | ( | ) | [inline] |
collision_detection const* OpenTissue::mbd::SimulatorInterface< mbd_types >::get_collision_detection | ( | ) | const [inline] |
collision_detection* OpenTissue::mbd::SimulatorInterface< mbd_types >::get_collision_detection | ( | ) | [inline] |
configuration_type* OpenTissue::mbd::SimulatorInterface< mbd_types >::get_configuration | ( | ) | [inline] |
configuration_type const* OpenTissue::mbd::SimulatorInterface< mbd_types >::get_configuration | ( | ) | const [inline] |
sleepy_policy* OpenTissue::mbd::SimulatorInterface< mbd_types >::get_sleepy | ( | ) | [inline] |
sleepy_policy const* OpenTissue::mbd::SimulatorInterface< mbd_types >::get_sleepy | ( | ) | const [inline] |
stepper_policy const* OpenTissue::mbd::SimulatorInterface< mbd_types >::get_stepper | ( | ) | const [inline] |
stepper_policy* OpenTissue::mbd::SimulatorInterface< mbd_types >::get_stepper | ( | ) | [inline] |
void OpenTissue::mbd::SimulatorInterface< mbd_types >::init | ( | configuration_type & | configuration | ) | [inline] |
void OpenTissue::mbd::SimulatorInterface< mbd_types >::reset_time | ( | ) | [inline] |
virtual void OpenTissue::mbd::SimulatorInterface< mbd_types >::run | ( | real_type const & | time_step | ) | [pure virtual] |
Implemented in OpenTissue::mbd::BisectionStepSimulator< mbd_types >, OpenTissue::mbd::ExplicitFixedStepSimulator< mbd_types >, OpenTissue::mbd::ExplicitSeparateErrorCorrectionFixedStepSimulator< mbd_types >, OpenTissue::mbd::FixPointStepSimulator< mbd_types >, OpenTissue::mbd::ImplicitFixedStepSimulator< mbd_types >, OpenTissue::mbd::SemiImplicitFixedStepSimulator< mbd_types >, and OpenTissue::mbd::SeparatedCollisionContactFixedStepSimulator< mbd_types >.
real_type const& OpenTissue::mbd::SimulatorInterface< mbd_types >::time | ( | ) | const [inline] |
void OpenTissue::mbd::SimulatorInterface< mbd_types >::update_time | ( | real_type const & | time_step | ) | [inline, protected] |