40 #if HASH_FOR_WIRE == HASH_NEW 42 #elif HASH_FOR_WIRE == HASH_OLD 49 ElementaryWireDistanceConstraint();
70 inline agx::Real getCurrentLength()
const {
return m_currentLength; }
73 virtual ~ElementaryWireDistanceConstraint() {}
85 #if HASH_FOR_WIRE == HASH_NEW 87 #elif HASH_FOR_WIRE == HASH_OLD 94 ElementaryWireBendConstraint(
agx::UInt numRows );
122 virtual ~ElementaryWireBendConstraint() {}
130 inline void ElementaryWireBendConstraint::setComplianceAndDamping(
agx::Real compliance,
agx::Real damping )
132 getRegularizationParameters()->setCompliance( compliance );
133 getRegularizationParameters()->setDamping( damping );
134 if ( getNumRows() > 1 ) {
135 getRegularizationParameters( 1 )->setCompliance( compliance );
136 getRegularizationParameters( 1 )->setDamping( damping );
143 class ElementaryWireBendConstraintAngle :
public ElementaryWireBendConstraint
146 ElementaryWireBendConstraintAngle();
148 virtual agx::UInt getJacobian(
agx::Jacobian6DOFElement* G,
const Node* first,
const Node* second,
const Node* third,
const IndexTable& bodyToIndexTable )
override;
152 virtual ~ElementaryWireBendConstraintAngle() {}
155 using ElementaryWireBendConstraint::getJacobian;
163 class ElementaryQuaternionBendConstraint :
public agxWire::ElementaryWireBendConstraint
166 ElementaryQuaternionBendConstraint();
185 virtual agx::UInt getJacobian(
agx::Jacobian6DOFElement* G,
const Node* first,
const Node* second,
const Node* third,
const IndexTable& bodyToIndexTable )
override;
188 virtual ~ElementaryQuaternionBendConstraint() {}
191 using agxWire::ElementaryWireBendConstraint::getJacobian;
Elementary constraint base class with interface and global constraint functionality.
Helper class to hold data that is general for elementary constraints.
Inheritance with partial specialization due to bug with ref_ptr containers.
Implements a Wire model with adaptive resolution.
Smart pointer for handling referenced counted objects.
LinearProbingHashSetImplementation< KeyT, HashT >::iterator begin(LinearProbingHashSetImplementation< KeyT, HashT > &set)
All ghost variables have compliance and damping attributes.
NodeContainer::const_iterator NodeConstIterator
LinearProbingHashSetImplementation< KeyT, HashT >::iterator end(LinearProbingHashSetImplementation< KeyT, HashT > &set)
Inheritance with partial specialization due to bug with ref_ptr containers.
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()