Public Types | Public Member Functions | Protected Types | Protected Member Functions

OpenTissue::mbd::SimulatorInterface< mbd_types > Class Template Reference

#include <mbd_simulator_interface.h>

Inheritance diagram for OpenTissue::mbd::SimulatorInterface< mbd_types >:
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 > OpenTissue::mbd::SeparatedCollisionContactFixedStepSimulator< mbd_types >

List of all members.

Public Types

typedef mbd_types types

Public Member Functions

stepper_policyget_stepper ()
stepper_policy const * get_stepper () const
sleepy_policyget_sleepy ()
sleepy_policy const * get_sleepy () const
collision_detection const * get_collision_detection () const
configuration_type const * get_configuration () const
collision_detectionget_collision_detection ()
configuration_typeget_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)

Detailed Description

template<typename mbd_types>
class OpenTissue::mbd::SimulatorInterface< mbd_types >

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.


Member Typedef Documentation

template<typename mbd_types >
typedef mbd_types::collision_detection_policy OpenTissue::mbd::SimulatorInterface< mbd_types >::collision_detection [protected]
template<typename mbd_types >
typedef mbd_types::configuration_type OpenTissue::mbd::SimulatorInterface< mbd_types >::configuration_type [protected]
template<typename mbd_types >
typedef mbd_types::sleepy_policy OpenTissue::mbd::SimulatorInterface< mbd_types >::sleepy_policy [protected]
template<typename mbd_types >
typedef mbd_types::stepper_policy OpenTissue::mbd::SimulatorInterface< mbd_types >::stepper_policy [protected]
template<typename mbd_types >
typedef mbd_types OpenTissue::mbd::SimulatorInterface< mbd_types >::types

Constructor & Destructor Documentation

template<typename mbd_types >
OpenTissue::mbd::SimulatorInterface< mbd_types >::SimulatorInterface (  )  [inline]
template<typename mbd_types >
virtual OpenTissue::mbd::SimulatorInterface< mbd_types >::~SimulatorInterface (  )  [inline, virtual]

Member Function Documentation

template<typename mbd_types >
void OpenTissue::mbd::SimulatorInterface< mbd_types >::clear (  )  [inline]
template<typename mbd_types >
collision_detection const* OpenTissue::mbd::SimulatorInterface< mbd_types >::get_collision_detection (  )  const [inline]
template<typename mbd_types >
collision_detection* OpenTissue::mbd::SimulatorInterface< mbd_types >::get_collision_detection (  )  [inline]
template<typename mbd_types >
configuration_type* OpenTissue::mbd::SimulatorInterface< mbd_types >::get_configuration (  )  [inline]
template<typename mbd_types >
configuration_type const* OpenTissue::mbd::SimulatorInterface< mbd_types >::get_configuration (  )  const [inline]
template<typename mbd_types >
sleepy_policy* OpenTissue::mbd::SimulatorInterface< mbd_types >::get_sleepy (  )  [inline]
template<typename mbd_types >
sleepy_policy const* OpenTissue::mbd::SimulatorInterface< mbd_types >::get_sleepy (  )  const [inline]
template<typename mbd_types >
stepper_policy const* OpenTissue::mbd::SimulatorInterface< mbd_types >::get_stepper (  )  const [inline]
template<typename mbd_types >
stepper_policy* OpenTissue::mbd::SimulatorInterface< mbd_types >::get_stepper (  )  [inline]
template<typename mbd_types >
void OpenTissue::mbd::SimulatorInterface< mbd_types >::init ( configuration_type configuration  )  [inline]
template<typename mbd_types >
void OpenTissue::mbd::SimulatorInterface< mbd_types >::reset_time (  )  [inline]
template<typename mbd_types >
real_type const& OpenTissue::mbd::SimulatorInterface< mbd_types >::time (  )  const [inline]
template<typename mbd_types >
void OpenTissue::mbd::SimulatorInterface< mbd_types >::update_time ( real_type const &  time_step  )  [inline, protected]

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