#include <mbd_material.h>
List of all members.
Detailed Description
template<typename mbd_types>
class OpenTissue::mbd::Material< mbd_types >
material_type Property Class.
Materials in Contact Coefficient of Static Friction Coefficient of Kinetic Friction Wood on wood 0.5 0.3 Waxed ski on snow 0.1 0.05 Ice on ice 0.1 0.03 Rubber on concrete (dry) value_traits::one() 0.8 Rubber on concrete (wet) 0.7 0.5 Glass on glass 0.94 0.4 Steel on aluminum 0.61 0.47 Steel on steel (dry) 0.7 0.6 Steel on steel (lubricated) 0.12 0.07 Teflon on steel 0.04 0.04 Teflon on Teflon 0.04 0.04 Synovial joints (in humans) 0.01 0.01
Member Typedef Documentation
template<typename mbd_types >
template<typename mbd_types >
template<typename mbd_types >
template<typename mbd_types >
template<typename mbd_types >
template<typename mbd_types >
template<typename mbd_types >
template<typename mbd_types >
Constructor & Destructor Documentation
template<typename mbd_types >
template<typename mbd_types >
Member Function Documentation
template<typename mbd_types >
This method clears all settings of the material properties. Thus every setting is returned to its default value.
template<typename mbd_types >
template<typename mbd_types >
Get value of Friction coefficient. This methos is usefull when retrieving information about the friction coefficients. It is for instance used in the class ContactPoint.
- Parameters:
-
| idx | The index of the friction direction. |
- Returns:
- The friction coefficient value of the specified friction direction.
template<typename mbd_types >
Get Isotropic Friction Coefficient. Not all physical models or numerical methods support anisotropic friction. This method is supplemented to support these methods/models. The value returned is simply the friction coefficient of the first friction ^direction. If no such friction direction exist then the value zero is returned instead.
- Returns:
- A friction coefficient value that is representive of an isotropic friction model.
template<typename mbd_types >
template<typename mbd_types >
Get the number of friction directions.
- Returns:
- The number of friction directions.
template<typename mbd_types >
Get Prefixed Direction.
- Returns:
- The prefixed direction. If this has not been set then the default value is the zero vector. If the material index of a rigid body match this value then it means that the prefixed direction is specified wrt. the local frame of that rigid body.
template<typename mbd_types >
Get fixed material index.
- Returns:
- The index value with respec to to which the prefixed friction direction has been specified. If the material index of a rigid body match this value then it means that the prefixed direction is specified wrt. the local frame of that rigid body. If the prefixed material index does not match any of the material indices of the rigid bodies then it implies that the prefixed direction is specified in the world coordinate frame.
template<typename mbd_types >
Get value of ``use prefixed direction''. The use slidning direction takes precedience over this setting.
- Returns:
- True if the relative sliding direction at a contact point is set by a prefixed direction. Default value is false.
template<typename mbd_types >
Get value of use sliding direction.
- Returns:
- True if the relative sliding direction at a contact point should be used to pick the x-vector of the contact plane span. Default value is true.
template<typename mbd_types >
template<typename mbd_types >
Get Hash Key. This method is usefull if one want to get the hash key of a material property that needs to be looked up in a hash map.
- Parameters:
-
| material_idx_A | |
| material_idx_B | |
- Returns:
template<typename mbd_types >
template<typename mbd_types >
template<typename mbd_types >
template<typename mbd_types >
template<typename mbd_types >
Set Friction Coefficient. This method is convenient for setting the value of the isotropic friction coefficient. It means that the same friction coefficient are used along every friction direction.
- Parameters:
-
| mu | The isotropic friction value. |
template<typename mbd_types >
Set Friction Coefficient. This method can be used for setting the friction coefficient values of each indvidual friction direction. The method is convenient for setting up anisotropic friction.
- Parameters:
-
| idx | The index of the friction direction. |
| mu | The friction coefficient value that should be set for the specified friction direction. |
template<typename mbd_types >
template<typename mbd_types >
template<typename mbd_types >
Set Number of Friction Directions. If the number of directions are increased then the value of the friction coefficient of the last old direction is copied onto the new directions as the default value.
- Parameters:
-
| eta | The new number of friction directions to be used. |
template<typename mbd_types >
Set Prefixed Direction.
- Parameters:
-
| dir | The new prefixed direction. If the material index of a rigid body match this value then it means that the prefixed direction is specified wrt. the local frame of that rigid body. |
template<typename mbd_types >
Set prefixed material index.
- Parameters:
-
| idx | The new index value with respec to to which the prefixed friction direction has been specified. If the material index of a rigid body match this value then it means that the prefixed direction is specified wrt. the local frame of that rigid body. |
template<typename mbd_types >
Set value of ``use prefixed direction''.
- Parameters:
-
| value | A boolean value indicating whether the relative sliding direction at a contact point is set by a prefixed direction. |
template<typename mbd_types >
Set value of use sliding direction.
- Parameters:
-
| value | A boolean value indicating whether the relative sliding direction at a contact point should be used to pick the x-vector of the contact plane span. |
template<typename mbd_types >
template<typename mbd_types >
Member Data Documentation
template<typename mbd_types >
Coefficient of normal restitution.
template<typename mbd_types >
Coefficient of tangential restitution.
template<typename mbd_types >
Error reduction parameter (must be in the range 0..1).
template<typename mbd_types >
The regularization (damping) term to be used for the normal force. Also known as constraint force mixing.
template<typename mbd_types >
template<typename mbd_types >
template<typename mbd_types >
Coefficient of friction. The size of this vector is equal to the number of friction directions.
template<typename mbd_types >
The value of the prefixed direction. The default setting is the zero-vector.
template<typename mbd_types >
The value of the prefixed material idx. Default value is zero. If the material index of a rigid body match this value then it means that the prefixed direction is specified wrt. the local frame of that rigid body.
template<typename mbd_types >
A boolean value indicating whether the relative sliding direction at a contact point is set by a prefixed direction. The use slidning direction takes precedience over this setting. Default value is false.
template<typename mbd_types >
A boolean value indicating whether the relative sliding direction at a contact point should be used to pick the x-vector of the contact plane span. Default value is true.
The documentation for this class was generated from the following file:
- /home/hauberg/Dokumenter/Capture/humim-tracker-0.1/src/OpenTissue/OpenTissue/dynamics/mbd/mbd_material.h