|
AGX Dynamics
2.35.0.1
|
Ad-hoc constraint to find normalforces (it is a distanceconstraint in normaldirection of the contact nodes) More...
#include <WireContactSolver.h>
Inheritance diagram for agx::WireContactSpringConstraint:Public Member Functions | |
| WireContactSpringConstraint () | |
| WireContactSpringConstraint (WireParticle *particle, Vec3 edge, Real compliance, size_t beginIndex) | |
| virtual void | calculateJacobian () override |
| virtual void | calculateViolation () override |
Public Member Functions inherited from agx::WireContactConstraint | |
| WireContactConstraint () | |
| bool | addWireParticle (WireParticle *wp, size_t contactIndex) |
| void | calculateD (Real timestep) |
| void | calculateEpsilon (Real timestep) |
| void | calculateInitialLambda (Real timestep) |
| virtual void | calculateRHS (Real invTimestep, Real violation) |
| 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 () |
| Real | getRHS () const |
| Real | getUpperBounds () const |
| Real | getViolation () const |
| virtual void | postCallback (Real) |
| void | setBounds (RangeReal bounds) |
| void | setCompliance (Real compliance) |
| void | setLambda (Real lambda) |
| void | setReachedBounds (bool reached) |
Public Member Functions inherited from agx::Referenced | |
| Referenced () | |
| Default constructor. More... | |
| Referenced (const Referenced &) | |
| 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 |
| int | getReferenceCount () const |
| template<typename T > | |
| bool | is () const |
| Subclass test. More... | |
| Referenced & | operator= (const Referenced &) |
| Assignment operator. Will increment the number of references to the referenced object. More... | |
| 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 | 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... | |
Protected Member Functions | |
| virtual | ~WireContactSpringConstraint () |
Protected Member Functions inherited from agx::WireContactConstraint | |
| virtual | ~WireContactConstraint () |
Protected Member Functions inherited from agx::Referenced | |
| virtual | ~Referenced () |
| Destructor. More... | |
| void | allocateObserverVector () const |
| void | deleteUsingDeleteHandler () const |
Protected Attributes | |
| Vec3 | m_fixPoint |
| WireParticleRef | m_particle |
| Real | m_restLength |
Protected Attributes inherited from agx::WireContactConstraint | |
| Real | m_compliance |
| Real | m_damping |
| size_t | m_firstParticleGlobalIndex |
| bool | m_hasBounds |
| RealVector | m_jacobianVector |
| RealVector | m_normalForces |
| WireParticleRefVector | m_particles |
| Real | m_rhs |
| Real | m_violation |
Protected Attributes inherited from agx::Referenced | |
| Mutex | m_mutex |
| ObserverContainer | m_observers |
| AtomicValue | m_refCount |
Additional Inherited Members | |
Static Public Member Functions inherited from agx::Referenced | |
| template<typename T > | |
| static bool | ValidateCast (const Referenced *object) |
Static Protected Member Functions inherited from agx::Referenced | |
| 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... | |
Ad-hoc constraint to find normalforces (it is a distanceconstraint in normaldirection of the contact nodes)
Definition at line 390 of file WireContactSolver.h.
|
inline |
Definition at line 393 of file WireContactSolver.h.
|
inline |
|
inlineprotectedvirtual |
Definition at line 418 of file WireContactSolver.h.
|
inlineoverridevirtual |
Implements agx::WireContactConstraint.
Definition at line 405 of file WireContactSolver.h.
References agx::Container::empty(), and agx::WireContactConstraint::m_jacobianVector.
|
inlineoverridevirtual |
Implements agx::WireContactConstraint.
Reimplemented in agx::WireContactFrictionConstraint.
Definition at line 412 of file WireContactSolver.h.
References agx::Vec3T< T >::distance(), agx::WireParticle::getPosition(), m_fixPoint, m_particle, m_restLength, and agx::WireContactConstraint::m_violation.
|
protected |
Definition at line 422 of file WireContactSolver.h.
Referenced by agx::WireContactFrictionConstraint::WireContactFrictionConstraint(), WireContactSpringConstraint(), and calculateViolation().
|
protected |
Definition at line 421 of file WireContactSolver.h.
Referenced by agx::WireContactFrictionConstraint::WireContactFrictionConstraint(), and calculateViolation().
|
protected |
Definition at line 423 of file WireContactSolver.h.
Referenced by agx::WireContactFrictionConstraint::WireContactFrictionConstraint(), WireContactSpringConstraint(), and calculateViolation().