#include <mbd_dynamics_stepper.h>
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_type * | get_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. |
typedef mbd_types::group_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::group_type |
Reimplemented from OpenTissue::mbd::StepperInterface< mbd_types >.
typedef math_policy::idx_vector_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::idx_vector_type |
typedef mbd_types::math_policy OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::math_policy |
typedef math_policy::matrix_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::matrix_type |
typedef math_policy::real_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::real_type |
Reimplemented from OpenTissue::mbd::StepperInterface< mbd_types >.
typedef math_policy::index_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::size_type |
typedef math_policy::value_traits OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::value_traits |
typedef math_policy::vector_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::vector_type |
OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::DynamicsStepper | ( | ) | [inline] |
virtual OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::~DynamicsStepper | ( | ) | [inline, virtual] |
real_type const& OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::assembly_time | ( | ) | const [inline] |
void OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::error_correction | ( | group_type & | ) | [inline, virtual] |
Implements OpenTissue::mbd::StepperInterface< mbd_types >.
solver_type const* OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::get_solver | ( | ) | const [inline] |
solver_type* OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::get_solver | ( | ) | [inline] |
real_type const& OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::query_time | ( | ) | const [inline] |
void OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::resolve_collisions | ( | group_type & | group | ) | [inline, virtual] |
Implements OpenTissue::mbd::StepperInterface< mbd_types >.
void OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::run | ( | group_type & | group, | |
real_type const & | time_step | |||
) | [inline, virtual] |
Implements OpenTissue::mbd::StepperInterface< mbd_types >.
real_type const& OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::solver_time | ( | ) | const [inline] |
real_type const& OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::total_time | ( | ) | const [inline] |
real_type const& OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::update_time | ( | ) | const [inline] |
bool& OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::use_bounce | ( | ) | [inline] |
bool const& OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::use_bounce | ( | ) | const [inline] |
bool& OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::use_friction | ( | ) | [inline] |
bool const& OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::use_friction | ( | ) | const [inline] |
bool& OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::use_stabilization | ( | ) | [inline] |
bool const& OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::use_stabilization | ( | ) | const [inline] |
bool& OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::warm_starting | ( | ) | [inline] |
bool const& OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::warm_starting | ( | ) | const [inline] |
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.
vector_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_b [protected] |
vector_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_f_ext [protected] |
vector_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_gamma [protected] |
vector_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_hi [protected] |
matrix_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_invM [protected] |
matrix_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_J [protected] |
vector_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_lo [protected] |
vector_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_mu [protected] |
idx_vector_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_pi [protected] |
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.
vector_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_rhs [protected] |
vector_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_s [protected] |
solver_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_solver [protected] |
real_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_solver_time [protected] |
The time (in seconds) it took to solve the NCP formulation.
vector_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_tmp [protected] |
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.
vector_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_u [protected] |
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.
bool OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_use_bounce [protected] |
bool OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_use_friction [protected] |
bool OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_use_stabilization [protected] |
bool OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_warm_starting [protected] |
vector_type OpenTissue::mbd::DynamicsStepper< mbd_types, solver_type >::m_x [protected] |