Classes | Public Types | Public Member Functions | Protected Attributes

OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type > Class Template Reference

#include <mbd_dynamics_stepper.h>

Inheritance diagram for OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >:
OpenTissue::mbd::StepperInterface< mbd_types >

List of all members.

Classes

class  constraint_traits
class  edge_traits
class  node_traits

Public Types

typedef mbd_types::math_policy math_policy
typedef math_policy::value_traits value_traits
typedef math_policy::index_type size_type
typedef math_policy::real_type real_type
typedef math_policy::vector_type vector_type
typedef math_policy::matrix_type matrix_type
typedef
math_policy::idx_vector_type 
idx_vector_type
typedef mbd_types::group_type group_type

Public Member Functions

bool & warm_starting ()
bool & use_stabilization ()
bool & use_friction ()
bool & use_bounce ()
bool const & warm_starting () const
bool const & use_stabilization () const
bool const & use_friction () const
bool const & use_bounce () const
real_type const & query_time () const
real_type const & assembly_time () const
real_type const & solver_time () const
real_type const & update_time () const
real_type const & total_time () const
solver_type const * get_solver () const
solver_typeget_solver ()
 DynamicsStepper ()
virtual ~DynamicsStepper ()
void run (group_type &group, real_type const &time_step)
void error_correction (group_type &)
void resolve_collisions (group_type &group)

Protected Attributes

solver_type m_solver
vector_type m_f_ext
vector_type m_s
matrix_type m_invM
matrix_type m_J
idx_vector_type m_pi
vector_type m_mu
vector_type m_b
vector_type m_rhs
vector_type m_gamma
vector_type m_lo
vector_type m_hi
vector_type m_x
vector_type m_u
vector_type m_tmp
bool m_warm_starting
bool m_use_stabilization
bool m_use_friction
bool m_use_bounce
real_type m_query_time
 The time (in seconds) it took to query and retrieve all the basic information needed to assemble the NCP matrices and vectors.
real_type m_assembly_time
 The time (in seconds) it took to assemble the matrices and vectors of the NCP formulation.
real_type m_solver_time
 The time (in seconds) it took to solve the NCP formulation.
real_type m_update_time
 The time (in seconds) it took to udpate the body states. Ie. velocity and position update.
real_type m_total_time
 The total time of last invokation of the run-method given in seconds.

template<typename mbd_types, typename solver_type>
class OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >


Member Typedef Documentation

template<typename mbd_types, typename solver_type>
typedef mbd_types::group_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::group_type
template<typename mbd_types, typename solver_type>
typedef math_policy::idx_vector_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::idx_vector_type
template<typename mbd_types, typename solver_type>
typedef mbd_types::math_policy OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::math_policy
template<typename mbd_types, typename solver_type>
typedef math_policy::matrix_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::matrix_type
template<typename mbd_types, typename solver_type>
typedef math_policy::real_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::real_type
template<typename mbd_types, typename solver_type>
typedef math_policy::index_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::size_type
template<typename mbd_types, typename solver_type>
typedef math_policy::value_traits OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::value_traits
template<typename mbd_types, typename solver_type>
typedef math_policy::vector_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::vector_type

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename mbd_types, typename solver_type>
real_type const& OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::assembly_time (  )  const [inline]
template<typename mbd_types, typename solver_type>
void OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::error_correction ( group_type  )  [inline, virtual]
template<typename mbd_types, typename solver_type>
solver_type const* OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::get_solver (  )  const [inline]
template<typename mbd_types, typename solver_type>
solver_type* OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::get_solver (  )  [inline]
template<typename mbd_types, typename solver_type>
real_type const& OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::query_time (  )  const [inline]
template<typename mbd_types, typename solver_type>
void OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::resolve_collisions ( group_type group  )  [inline, virtual]
template<typename mbd_types, typename solver_type>
void OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::run ( group_type group,
real_type const &  time_step 
) [inline, virtual]
template<typename mbd_types, typename solver_type>
real_type const& OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::solver_time (  )  const [inline]
template<typename mbd_types, typename solver_type>
real_type const& OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::total_time (  )  const [inline]
template<typename mbd_types, typename solver_type>
real_type const& OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::update_time (  )  const [inline]
template<typename mbd_types, typename solver_type>
bool& OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::use_bounce (  )  [inline]
template<typename mbd_types, typename solver_type>
bool const& OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::use_bounce (  )  const [inline]
template<typename mbd_types, typename solver_type>
bool& OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::use_friction (  )  [inline]
template<typename mbd_types, typename solver_type>
bool const& OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::use_friction (  )  const [inline]
template<typename mbd_types, typename solver_type>
bool& OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::use_stabilization (  )  [inline]
template<typename mbd_types, typename solver_type>
bool const& OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::use_stabilization (  )  const [inline]
template<typename mbd_types, typename solver_type>
bool& OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::warm_starting (  )  [inline]
template<typename mbd_types, typename solver_type>
bool const& OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::warm_starting (  )  const [inline]

Member Data Documentation

template<typename mbd_types, typename solver_type>
real_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_assembly_time [protected]

The time (in seconds) it took to assemble the matrices and vectors of the NCP formulation.

template<typename mbd_types, typename solver_type>
vector_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_b [protected]
template<typename mbd_types, typename solver_type>
vector_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_f_ext [protected]
template<typename mbd_types, typename solver_type>
vector_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_gamma [protected]
template<typename mbd_types, typename solver_type>
vector_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_hi [protected]
template<typename mbd_types, typename solver_type>
matrix_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_invM [protected]
template<typename mbd_types, typename solver_type>
matrix_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_J [protected]
template<typename mbd_types, typename solver_type>
vector_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_lo [protected]
template<typename mbd_types, typename solver_type>
vector_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_mu [protected]
template<typename mbd_types, typename solver_type>
idx_vector_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_pi [protected]
template<typename mbd_types, typename solver_type>
real_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_query_time [protected]

The time (in seconds) it took to query and retrieve all the basic information needed to assemble the NCP matrices and vectors.

template<typename mbd_types, typename solver_type>
vector_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_rhs [protected]
template<typename mbd_types, typename solver_type>
vector_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_s [protected]
template<typename mbd_types, typename solver_type>
solver_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_solver [protected]
template<typename mbd_types, typename solver_type>
real_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_solver_time [protected]

The time (in seconds) it took to solve the NCP formulation.

template<typename mbd_types, typename solver_type>
vector_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_tmp [protected]
template<typename mbd_types, typename solver_type>
real_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_total_time [protected]

The total time of last invokation of the run-method given in seconds.

template<typename mbd_types, typename solver_type>
vector_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_u [protected]
template<typename mbd_types, typename solver_type>
real_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_update_time [protected]

The time (in seconds) it took to udpate the body states. Ie. velocity and position update.

template<typename mbd_types, typename solver_type>
bool OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_use_bounce [protected]
template<typename mbd_types, typename solver_type>
bool OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_use_friction [protected]
template<typename mbd_types, typename solver_type>
bool OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_use_stabilization [protected]
template<typename mbd_types, typename solver_type>
bool OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_warm_starting [protected]
template<typename mbd_types, typename solver_type>
vector_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_x [protected]

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