Classes | Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes

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

#include <mbd_fix_point_step_simulator.h>

Inheritance diagram for OpenTissue::mbd::FixPointStepSimulator< mbd_types >:
OpenTissue::mbd::SimulatorInterface< mbd_types >

List of all members.

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_typem_all
 body_type group, used to handle the state of all bodies at once.
group_ptr_container m_groups

Detailed Description

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

A Fix Point Step Simulator.

Does not work with First Order Physics.


Member Typedef Documentation

template<typename mbd_types >
typedef mbd_types::group_ptr_container OpenTissue::mbd::FixPointStepSimulator< mbd_types >::group_ptr_container [protected]
template<typename mbd_types >
typedef mbd_types::group_type OpenTissue::mbd::FixPointStepSimulator< mbd_types >::group_type [protected]
template<typename mbd_types >
typedef mbd_types::math_policy OpenTissue::mbd::FixPointStepSimulator< mbd_types >::math_policy [protected]
template<typename mbd_types >
typedef math_policy::real_type OpenTissue::mbd::FixPointStepSimulator< mbd_types >::real_type [protected]
template<typename mbd_types >
typedef math_policy::value_traits OpenTissue::mbd::FixPointStepSimulator< mbd_types >::value_traits [protected]
template<typename mbd_types >
typedef math_policy::vector_type OpenTissue::mbd::FixPointStepSimulator< mbd_types >::vector_type [protected]

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename mbd_types >
real_type OpenTissue::mbd::FixPointStepSimulator< mbd_types >::norm ( vector_type A,
vector_type B 
) [inline, protected]

L-inifinity norm between two vectors.

Parameters:
A The first vector.
B The second vector.
Returns:
The value of the norm.
template<typename mbd_types >
void OpenTissue::mbd::FixPointStepSimulator< mbd_types >::run ( real_type const &  time_step  )  [inline, virtual]

Member Data Documentation

template<typename 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.

template<typename mbd_types >
group_ptr_container OpenTissue::mbd::FixPointStepSimulator< mbd_types >::m_groups [protected]

Temporary Storage, used to hold results from the collision detection engine.

template<typename mbd_types >
vector_type OpenTissue::mbd::FixPointStepSimulator< mbd_types >::m_s [protected]

Generalized position vector of all bodies.

template<typename mbd_types >
vector_type OpenTissue::mbd::FixPointStepSimulator< mbd_types >::m_ss [protected]

Generalized position vector of all bodies.

template<typename mbd_types >
vector_type OpenTissue::mbd::FixPointStepSimulator< mbd_types >::m_st [protected]

Generalized position vector of all bodies.

template<typename mbd_types >
vector_type OpenTissue::mbd::FixPointStepSimulator< mbd_types >::m_u [protected]

Generalized velocity vector of all bodies.


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