Public Types | Public Member Functions | Public Attributes

OpenTissue::meshless_deformation::detail::Particle< math_types > Class Template Reference

#include <meshless_deformation_particle.h>

List of all members.

Public Types

typedef math_types::value_traits value_traits
typedef math_types::real_type real_type
typedef math_types::vector3_type vector3_type
typedef math_types::matrix3x3_type matrix3x3_type

Public Member Functions

 Particle ()
bool & fixed ()
real_typemass ()
vector3_typef_ext ()
void bind (vector3_type &x)
vector3_typex ()
vector3_typev ()

Public Attributes

vector3_type m_x0
 Original position.
vector3_type m_v
 Current velocity.
vector3_type m_f_ext
 External forces.typename.
vector3_type m_f_goal
 Goal forces (accumulator of goal positions for all clusters).
real_type m_mass
 Mass of particle.
bool m_fixed
 Boolean flag indicating if particle is fixed.
vector3_type m_g
 Goal position (temporary placeholder for goal position in a single cluster).
vector3_type m_q [3]
vector3_type m_p
 relative location (wrt center of mass) of orignal positions.

template<typename math_types>
class OpenTissue::meshless_deformation::detail::Particle< math_types >


Member Typedef Documentation


Constructor & Destructor Documentation

template<typename math_types >
OpenTissue::meshless_deformation::detail::Particle< math_types >::Particle (  )  [inline]

Member Function Documentation

template<typename math_types >
void OpenTissue::meshless_deformation::detail::Particle< math_types >::bind ( vector3_type x  )  [inline]
template<typename math_types >
vector3_type& OpenTissue::meshless_deformation::detail::Particle< math_types >::f_ext (  )  [inline]
template<typename math_types >
bool& OpenTissue::meshless_deformation::detail::Particle< math_types >::fixed (  )  [inline]
template<typename math_types >
real_type& OpenTissue::meshless_deformation::detail::Particle< math_types >::mass (  )  [inline]
template<typename math_types >
vector3_type& OpenTissue::meshless_deformation::detail::Particle< math_types >::v (  )  [inline]
template<typename math_types >
vector3_type& OpenTissue::meshless_deformation::detail::Particle< math_types >::x (  )  [inline]

Member Data Documentation

External forces.typename.

Goal forces (accumulator of goal positions for all clusters).

Boolean flag indicating if particle is fixed.

Goal position (temporary placeholder for goal position in a single cluster).

Mass of particle.

relative location (wrt center of mass) of orignal positions.

relative location (wrt center of mass) of orignal positions. q[0] is linear shear and stretch mode: [q_x, q_y, q_z] q[1] is bend mode: [q_x^2, q_y^2, q_z^2] q[2] is twist mode: [q_x q_y , q_y q_z, q_z q_x]

Current velocity.

Original position.


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