|
AGXDynamics
2.31.1.0
|
#include <WireContactSolver.h>
Inheritance diagram for agx::WireContactFrictionConstraint:Public Member Functions | |
| WireContactFrictionConstraint (WireParticle *particle, Vec3 edge, Real compliance, size_t beginIndex) | |
| bool | addWireParticle (WireParticle *wp, size_t contactIndex) |
| template<typename T > | |
| T * | as () |
| Subclass casting. More... | |
| template<typename T > | |
| const T * | as () const |
| template<typename T > | |
| T * | asSafe () |
| Safe subclass casting, return nullptr if template type does not match. More... | |
| template<typename T > | |
| const T * | asSafe () const |
| void | calculateD (Real timestep) |
| void | calculateEpsilon (Real timestep) |
| void | calculateInitialLambda (Real timestep) |
| virtual void | calculateJacobian () override |
| virtual void | calculateRHS (Real, Real) override |
| virtual void | calculateViolation () override |
| Real | getD () const |
| Real | getEpsilon () const |
| size_t | getFirstParticleGlobalIndex () const |
| Real | getForceOnParticle (size_t globalIndex, Real timestep) |
| bool | getHasBounds () |
| Real | getInvMass (size_t particleIndex) |
| bool | getJacobian (size_t particleIndex, Real &G) |
| Real | getLambda () const |
| Real | getLowerBounds () const |
| Real | getMass (size_t particleIndex) |
| WireParticleRefVector & | getParticles () |
| bool | getReachedBounds () |
| int | getReferenceCount () const |
| Real | getRHS () const |
| Real | getUpperBounds () const |
| Real | getViolation () const |
| template<typename T > | |
| bool | is () const |
| Subclass test. More... | |
| virtual void | postCallback (Real) |
| void | reference (void *ptr=nullptr) const |
| Explicitly increment the reference count by one, indicating that this object has another pointer which is referencing it. More... | |
| void | setBounds (RangeReal bounds) |
| void | setCompliance (Real compliance) |
| void | setLambda (Real lambda) |
| void | setReachedBounds (bool reached) |
| void | unreference (void *ptr=nullptr) const |
| Decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
| void | unreference_nodelete () const |
| Decrement the reference count by one, indicating that a pointer to this object is referencing it. More... | |
Static Public Member Functions | |
| template<typename T > | |
| static bool | ValidateCast (const Referenced *object) |
Protected Member Functions | |
| virtual | ~WireContactFrictionConstraint () |
| void | allocateObserverVector () const |
| void | deleteUsingDeleteHandler () const |
Static Protected Member Functions | |
| static DeleteHandler * | getDeleteHandler () |
| static void | setDeleteHandler (DeleteHandler *handler) |
| Internal: Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to. More... | |
Definition at line 429 of file WireContactSolver.h.
|
inline |
Definition at line 432 of file WireContactSolver.h.
References agx::WireContactConstraint::addWireParticle(), agx::WireParticle::getPosition(), agx::Vec3T< T >::length(), agx::WireContactConstraint::m_compliance, agx::WireContactConstraint::m_firstParticleGlobalIndex, agx::WireContactSpringConstraint::m_fixPoint, agx::WireContactConstraint::m_hasBounds, agx::WireContactSpringConstraint::m_particle, and agx::WireContactSpringConstraint::m_restLength.
|
inlineprotectedvirtual |
Definition at line 455 of file WireContactSolver.h.
|
inlineinherited |
Definition at line 158 of file WireContactSolver.h.
References agx::Container::empty(), agx::WireContactConstraint::m_firstParticleGlobalIndex, agx::WireContactConstraint::m_jacobianVector, agx::WireContactConstraint::m_particles, agx::Vector< T, Allocator >::push_back(), and agx::VectorPOD< T, Allocator >::push_back().
Referenced by agx::WireContactBendConstraint::WireContactBendConstraint(), WireContactFrictionConstraint(), and agx::WireContactSpringConstraint::WireContactSpringConstraint().
|
protectedinherited |
|
inherited |
Subclass casting.
Template type must match actual type, dynamic_cast assertion will fail otherwise.
Referenced by agx::InternalData::get(), agxVehicle::Track::getNode(), and agx::InternalData::getOrCreate().
|
inherited |
|
inherited |
Safe subclass casting, return nullptr if template type does not match.
Referenced by agxUtil::CollectBodiesAndWiresVisitor::visit().
|
inherited |
Definition at line 228 of file WireContactSolver.h.
References agx::WireContactConstraint::calculateEpsilon(), agx::WireContactConstraint::getEpsilon(), agx::WireContactConstraint::getFirstParticleGlobalIndex(), agx::WireContactConstraint::getInvMass(), agx::WireContactConstraint::getJacobian(), agx::WireContactConstraint::m_jacobianVector, and agx::Container::size().
Definition at line 253 of file WireContactSolver.h.
References agx::WireContactConstraint::m_compliance, and agx::WireContactConstraint::m_damping.
Referenced by agx::WireContactConstraint::calculateD().
Definition at line 153 of file WireContactSolver.h.
References agx::WireContactConstraint::m_compliance, and agx::WireContactConstraint::m_violation.
|
inlineoverridevirtualinherited |
Implements agx::WireContactConstraint.
Definition at line 405 of file WireContactSolver.h.
References agx::Container::empty(), and agx::WireContactConstraint::m_jacobianVector.
Reimplemented from agx::WireContactConstraint.
Definition at line 450 of file WireContactSolver.h.
References agx::WireContactConstraint::m_rhs.
|
inlineoverridevirtual |
Reimplemented from agx::WireContactSpringConstraint.
Definition at line 445 of file WireContactSolver.h.
References agx::WireContactConstraint::m_violation.
|
protectedinherited |
|
inlineinherited |
Definition at line 222 of file WireContactSolver.h.
|
staticprotectedinherited |
|
inlineinherited |
Definition at line 221 of file WireContactSolver.h.
Referenced by agx::WireContactConstraint::calculateD().
|
inlineinherited |
Definition at line 203 of file WireContactSolver.h.
References agx::WireContactConstraint::m_firstParticleGlobalIndex.
Referenced by agx::WireContactConstraint::calculateD().
|
inlineinherited |
Definition at line 258 of file WireContactSolver.h.
References agx::WireContactConstraint::m_firstParticleGlobalIndex, agx::WireContactConstraint::m_jacobianVector, and agx::Container::size().
|
inlineinherited |
Definition at line 266 of file WireContactSolver.h.
References agx::WireContactConstraint::m_hasBounds.
|
inlineinherited |
Definition at line 181 of file WireContactSolver.h.
References agx::Container::empty(), agx::WireContactConstraint::m_firstParticleGlobalIndex, agx::WireContactConstraint::m_particles, and agx::Container::size().
Referenced by agx::WireContactConstraint::calculateD().
|
inlineinherited |
Definition at line 168 of file WireContactSolver.h.
References agx::Container::empty(), agx::WireContactConstraint::m_firstParticleGlobalIndex, agx::WireContactConstraint::m_jacobianVector, and agx::Container::size().
Referenced by agx::WireContactConstraint::calculateD().
|
inlineinherited |
Definition at line 219 of file WireContactSolver.h.
|
inlineinherited |
Definition at line 273 of file WireContactSolver.h.
|
inlineinherited |
Definition at line 192 of file WireContactSolver.h.
References agx::Container::empty(), agx::WireContactConstraint::m_firstParticleGlobalIndex, agx::WireContactConstraint::m_particles, and agx::Container::size().
|
inlineinherited |
Definition at line 252 of file WireContactSolver.h.
References agx::WireContactConstraint::m_particles.
|
inlineinherited |
Definition at line 226 of file WireContactSolver.h.
|
inherited |
|
inlineinherited |
Definition at line 205 of file WireContactSolver.h.
References agx::WireContactConstraint::m_rhs.
|
inlineinherited |
Definition at line 274 of file WireContactSolver.h.
|
inlineinherited |
Definition at line 223 of file WireContactSolver.h.
References agx::WireContactConstraint::m_violation.
|
inherited |
Subclass test.
Referenced by agx::Object::getAutoScopedResource(), agxData::Buffer::getElement(), and agx::Object::getResource().
Reimplemented in agx::WireContactDistanceConstraint.
Definition at line 147 of file WireContactSolver.h.
Explicitly increment the reference count by one, indicating that this object has another pointer which is referencing it.
This method should be used with care, always balanced with the same number of calls to unreference.
Referenced by agxData::Val< UInt >::Val().
Definition at line 267 of file WireContactSolver.h.
References agx::Range< T >::lower(), agx::WireContactConstraint::m_hasBounds, and agx::Range< T >::upper().
Definition at line 276 of file WireContactSolver.h.
References agx::WireContactConstraint::m_compliance.
|
staticprotectedinherited |
Internal: Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to.
Definition at line 220 of file WireContactSolver.h.
|
inlineinherited |
Definition at line 225 of file WireContactSolver.h.
Decrement the reference count by one, indicating that a pointer to this object is referencing it.
If the reference count goes to zero, it is assumed that this object is no longer referenced and is automatically deleted.
This method should be used with care, always balanced with the same number of calls to reference.
|
inherited |
Decrement the reference count by one, indicating that a pointer to this object is referencing it.
However, do not delete it, even if ref count goes to 0. Warning, unref_nodelete() should only be called if the user knows exactly who will be responsible for, one should prefer unref() over unref_nodelete() as the later can lead to memory leaks.
|
staticinherited |
|
protectedinherited |
Definition at line 286 of file WireContactSolver.h.
Referenced by agx::WireContactConstraint::calculateEpsilon(), agx::WireContactConstraint::calculateInitialLambda(), agx::WireContactConstraint::setCompliance(), agx::WireContactBendConstraint::WireContactBendConstraint(), agx::WireContactDistanceConstraint::WireContactDistanceConstraint(), WireContactFrictionConstraint(), and agx::WireContactSpringConstraint::WireContactSpringConstraint().
|
protectedinherited |
Definition at line 290 of file WireContactSolver.h.
Referenced by agx::WireContactConstraint::calculateEpsilon(), agx::WireContactConstraint::calculateRHS(), and agx::WireContactBendConstraint::WireContactBendConstraint().
|
protectedinherited |
Definition at line 287 of file WireContactSolver.h.
Referenced by agx::WireContactConstraint::addWireParticle(), agx::WireContactConstraint::getFirstParticleGlobalIndex(), agx::WireContactConstraint::getForceOnParticle(), agx::WireContactConstraint::getInvMass(), agx::WireContactConstraint::getJacobian(), agx::WireContactConstraint::getMass(), agx::WireContactBendConstraint::WireContactBendConstraint(), WireContactFrictionConstraint(), and agx::WireContactSpringConstraint::WireContactSpringConstraint().
|
protectedinherited |
Definition at line 422 of file WireContactSolver.h.
Referenced by agx::WireContactSpringConstraint::calculateViolation(), WireContactFrictionConstraint(), and agx::WireContactSpringConstraint::WireContactSpringConstraint().
|
protectedinherited |
Definition at line 288 of file WireContactSolver.h.
Referenced by agx::WireContactConstraint::getHasBounds(), agx::WireContactConstraint::setBounds(), and WireContactFrictionConstraint().
|
protectedinherited |
Definition at line 283 of file WireContactSolver.h.
Referenced by agx::WireContactConstraint::addWireParticle(), agx::WireContactConstraint::calculateD(), agx::WireContactSpringConstraint::calculateJacobian(), agx::WireContactConstraint::calculateRHS(), agx::WireContactConstraint::getForceOnParticle(), and agx::WireContactConstraint::getJacobian().
|
mutableprotectedinherited |
Definition at line 240 of file Referenced.h.
|
protectedinherited |
Definition at line 284 of file WireContactSolver.h.
|
mutableprotectedinherited |
Definition at line 239 of file Referenced.h.
|
protectedinherited |
Definition at line 421 of file WireContactSolver.h.
Referenced by agx::WireContactSpringConstraint::calculateViolation(), and WireContactFrictionConstraint().
|
protectedinherited |
Definition at line 282 of file WireContactSolver.h.
Referenced by agx::WireContactConstraint::addWireParticle(), agx::WireContactConstraint::calculateRHS(), agx::WireContactConstraint::getInvMass(), agx::WireContactConstraint::getMass(), and agx::WireContactConstraint::getParticles().
|
mutableprotectedinherited |
Definition at line 241 of file Referenced.h.
|
protectedinherited |
Definition at line 423 of file WireContactSolver.h.
Referenced by agx::WireContactSpringConstraint::calculateViolation(), WireContactFrictionConstraint(), and agx::WireContactSpringConstraint::WireContactSpringConstraint().
|
protectedinherited |
Definition at line 289 of file WireContactSolver.h.
Referenced by agx::WireContactConstraint::calculateRHS(), calculateRHS(), and agx::WireContactConstraint::getRHS().
|
protectedinherited |
Definition at line 285 of file WireContactSolver.h.
Referenced by agx::WireContactConstraint::calculateInitialLambda(), agx::WireContactSpringConstraint::calculateViolation(), calculateViolation(), and agx::WireContactConstraint::getViolation().