A one row constraint.
More...
#include <WireContactSolver.h>
A one row constraint.
Definition at line 142 of file WireContactSolver.h.
◆ WireContactConstraint()
| agx::WireContactConstraint::WireContactConstraint |
( |
| ) |
|
◆ ~WireContactConstraint()
| virtual agx::WireContactConstraint::~WireContactConstraint |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ addWireParticle()
| bool agx::WireContactConstraint::addWireParticle |
( |
WireParticle * |
wp, |
|
|
size_t |
contactIndex |
|
) |
| |
|
inline |
◆ allocateObserverVector()
| void agx::Referenced::allocateObserverVector |
( |
| ) |
const |
|
protectedinherited |
◆ as() [1/2]
template<typename T >
| T* agx::Referenced::as |
( |
| ) |
|
|
inherited |
◆ as() [2/2]
template<typename T >
| const T* agx::Referenced::as |
( |
| ) |
const |
|
inherited |
◆ asSafe() [1/2]
template<typename T >
| T* agx::Referenced::asSafe |
( |
| ) |
|
|
inherited |
◆ asSafe() [2/2]
template<typename T >
| const T* agx::Referenced::asSafe |
( |
| ) |
const |
|
inherited |
◆ calculateD()
| void agx::WireContactConstraint::calculateD |
( |
Real |
timestep | ) |
|
|
inline |
◆ calculateEpsilon()
| void agx::WireContactConstraint::calculateEpsilon |
( |
Real |
timestep | ) |
|
|
inline |
◆ calculateInitialLambda()
| void agx::WireContactConstraint::calculateInitialLambda |
( |
Real |
timestep | ) |
|
|
inline |
◆ calculateJacobian()
| virtual void agx::WireContactConstraint::calculateJacobian |
( |
| ) |
|
|
pure virtual |
◆ calculateRHS()
| virtual void agx::WireContactConstraint::calculateRHS |
( |
Real |
invTimestep, |
|
|
Real |
violation |
|
) |
| |
|
inlinevirtual |
◆ calculateViolation()
| virtual void agx::WireContactConstraint::calculateViolation |
( |
| ) |
|
|
pure virtual |
◆ deleteUsingDeleteHandler()
| void agx::Referenced::deleteUsingDeleteHandler |
( |
| ) |
const |
|
protectedinherited |
◆ getD()
| Real agx::WireContactConstraint::getD |
( |
| ) |
const |
|
inline |
◆ getDeleteHandler()
◆ getEpsilon()
| Real agx::WireContactConstraint::getEpsilon |
( |
| ) |
const |
|
inline |
◆ getFirstParticleGlobalIndex()
| size_t agx::WireContactConstraint::getFirstParticleGlobalIndex |
( |
| ) |
const |
|
inline |
◆ getForceOnParticle()
| Real agx::WireContactConstraint::getForceOnParticle |
( |
size_t |
globalIndex, |
|
|
Real |
timestep |
|
) |
| |
|
inline |
◆ getHasBounds()
| bool agx::WireContactConstraint::getHasBounds |
( |
| ) |
|
|
inline |
◆ getInvMass()
| Real agx::WireContactConstraint::getInvMass |
( |
size_t |
particleIndex | ) |
|
|
inline |
◆ getJacobian()
| bool agx::WireContactConstraint::getJacobian |
( |
size_t |
particleIndex, |
|
|
Real & |
G |
|
) |
| |
|
inline |
◆ getLambda()
| Real agx::WireContactConstraint::getLambda |
( |
| ) |
const |
|
inline |
◆ getLowerBounds()
| Real agx::WireContactConstraint::getLowerBounds |
( |
| ) |
const |
|
inline |
◆ getMass()
| Real agx::WireContactConstraint::getMass |
( |
size_t |
particleIndex | ) |
|
|
inline |
◆ getParticles()
◆ getReachedBounds()
| bool agx::WireContactConstraint::getReachedBounds |
( |
| ) |
|
|
inline |
◆ getReferenceCount()
| int agx::Referenced::getReferenceCount |
( |
| ) |
const |
|
inherited |
- Returns
- the number pointers currently referencing this object.
◆ getRHS()
| Real agx::WireContactConstraint::getRHS |
( |
| ) |
const |
|
inline |
◆ getUpperBounds()
| Real agx::WireContactConstraint::getUpperBounds |
( |
| ) |
const |
|
inline |
◆ getViolation()
| Real agx::WireContactConstraint::getViolation |
( |
| ) |
const |
|
inline |
◆ is()
template<typename T >
| bool agx::Referenced::is |
( |
| ) |
const |
|
inherited |
◆ postCallback()
| virtual void agx::WireContactConstraint::postCallback |
( |
Real |
| ) |
|
|
inlinevirtual |
◆ reference()
| void agx::Referenced::reference |
( |
void * |
ptr = nullptr | ) |
const |
|
inherited |
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.
◆ setBounds()
◆ setCompliance()
| void agx::WireContactConstraint::setCompliance |
( |
Real |
compliance | ) |
|
|
inline |
◆ setDeleteHandler()
Internal: Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to.
◆ setLambda()
| void agx::WireContactConstraint::setLambda |
( |
Real |
lambda | ) |
|
|
inline |
◆ setReachedBounds()
| void agx::WireContactConstraint::setReachedBounds |
( |
bool |
reached | ) |
|
|
inline |
◆ unreference()
| void agx::Referenced::unreference |
( |
void * |
ptr = nullptr | ) |
const |
|
inherited |
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.
Referenced by agxData::EntityRef< ContactMaterialPtr >::~EntityRef().
◆ unreference_nodelete()
| void agx::Referenced::unreference_nodelete |
( |
| ) |
const |
|
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.
◆ ValidateCast()
template<typename T >
| static bool agx::Referenced::ValidateCast |
( |
const Referenced * |
object | ) |
|
|
staticinherited |
◆ m_compliance
| Real agx::WireContactConstraint::m_compliance |
|
protected |
◆ m_damping
| Real agx::WireContactConstraint::m_damping |
|
protected |
◆ m_firstParticleGlobalIndex
| size_t agx::WireContactConstraint::m_firstParticleGlobalIndex |
|
protected |
◆ m_hasBounds
| bool agx::WireContactConstraint::m_hasBounds |
|
protected |
◆ m_jacobianVector
| RealVector agx::WireContactConstraint::m_jacobianVector |
|
protected |
◆ m_mutex
| Mutex agx::Referenced::m_mutex |
|
mutableprotectedinherited |
◆ m_normalForces
| RealVector agx::WireContactConstraint::m_normalForces |
|
protected |
◆ m_observers
|
|
mutableprotectedinherited |
◆ m_particles
◆ m_refCount
|
|
mutableprotectedinherited |
◆ m_rhs
| Real agx::WireContactConstraint::m_rhs |
|
protected |
◆ m_violation
| Real agx::WireContactConstraint::m_violation |
|
protected |
The documentation for this class was generated from the following file: