#include <WireContactSolver.h>
|
| | 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...
|
| |
Definition at line 429 of file WireContactSolver.h.
◆ WireContactFrictionConstraint()
| agx::WireContactFrictionConstraint::WireContactFrictionConstraint |
( |
WireParticle * |
particle, |
|
|
Vec3 |
edge, |
|
|
Real |
compliance, |
|
|
size_t |
beginIndex |
|
) |
| |
|
inline |
◆ ~WireContactFrictionConstraint()
| virtual agx::WireContactFrictionConstraint::~WireContactFrictionConstraint |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ addWireParticle()
| bool agx::WireContactConstraint::addWireParticle |
( |
WireParticle * |
wp, |
|
|
size_t |
contactIndex |
|
) |
| |
|
inlineinherited |
◆ 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 | ) |
|
|
inlineinherited |
◆ calculateEpsilon()
| void agx::WireContactConstraint::calculateEpsilon |
( |
Real |
timestep | ) |
|
|
inlineinherited |
◆ calculateInitialLambda()
| void agx::WireContactConstraint::calculateInitialLambda |
( |
Real |
timestep | ) |
|
|
inlineinherited |
◆ calculateJacobian()
| virtual void agx::WireContactSpringConstraint::calculateJacobian |
( |
| ) |
|
|
inlineoverridevirtualinherited |
◆ calculateRHS()
| virtual void agx::WireContactFrictionConstraint::calculateRHS |
( |
Real |
, |
|
|
Real |
|
|
) |
| |
|
inlineoverridevirtual |
◆ calculateViolation()
| virtual void agx::WireContactFrictionConstraint::calculateViolation |
( |
| ) |
|
|
inlineoverridevirtual |
◆ deleteUsingDeleteHandler()
| void agx::Referenced::deleteUsingDeleteHandler |
( |
| ) |
const |
|
protectedinherited |
◆ getD()
| Real agx::WireContactConstraint::getD |
( |
| ) |
const |
|
inlineinherited |
◆ getDeleteHandler()
◆ getEpsilon()
| Real agx::WireContactConstraint::getEpsilon |
( |
| ) |
const |
|
inlineinherited |
◆ getFirstParticleGlobalIndex()
| size_t agx::WireContactConstraint::getFirstParticleGlobalIndex |
( |
| ) |
const |
|
inlineinherited |
◆ getForceOnParticle()
| Real agx::WireContactConstraint::getForceOnParticle |
( |
size_t |
globalIndex, |
|
|
Real |
timestep |
|
) |
| |
|
inlineinherited |
◆ getHasBounds()
| bool agx::WireContactConstraint::getHasBounds |
( |
| ) |
|
|
inlineinherited |
◆ getInvMass()
| Real agx::WireContactConstraint::getInvMass |
( |
size_t |
particleIndex | ) |
|
|
inlineinherited |
◆ getJacobian()
| bool agx::WireContactConstraint::getJacobian |
( |
size_t |
particleIndex, |
|
|
Real & |
G |
|
) |
| |
|
inlineinherited |
◆ getLambda()
| Real agx::WireContactConstraint::getLambda |
( |
| ) |
const |
|
inlineinherited |
◆ getLowerBounds()
| Real agx::WireContactConstraint::getLowerBounds |
( |
| ) |
const |
|
inlineinherited |
◆ getMass()
| Real agx::WireContactConstraint::getMass |
( |
size_t |
particleIndex | ) |
|
|
inlineinherited |
◆ getParticles()
◆ getReachedBounds()
| bool agx::WireContactConstraint::getReachedBounds |
( |
| ) |
|
|
inlineinherited |
◆ getReferenceCount()
| int agx::Referenced::getReferenceCount |
( |
| ) |
const |
|
inherited |
- Returns
- the number pointers currently referencing this object.
◆ getRHS()
| Real agx::WireContactConstraint::getRHS |
( |
| ) |
const |
|
inlineinherited |
◆ getUpperBounds()
| Real agx::WireContactConstraint::getUpperBounds |
( |
| ) |
const |
|
inlineinherited |
◆ getViolation()
| Real agx::WireContactConstraint::getViolation |
( |
| ) |
const |
|
inlineinherited |
◆ is()
template<typename T >
| bool agx::Referenced::is |
( |
| ) |
const |
|
inherited |
◆ postCallback()
| virtual void agx::WireContactConstraint::postCallback |
( |
Real |
| ) |
|
|
inlinevirtualinherited |
◆ 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 | ) |
|
|
inlineinherited |
◆ setDeleteHandler()
Internal: Set a DeleteHandler to which deletion of all referenced counted objects will be delegated to.
◆ setLambda()
| void agx::WireContactConstraint::setLambda |
( |
Real |
lambda | ) |
|
|
inlineinherited |
◆ setReachedBounds()
| void agx::WireContactConstraint::setReachedBounds |
( |
bool |
reached | ) |
|
|
inlineinherited |
◆ 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 |
|
protectedinherited |
◆ m_damping
| Real agx::WireContactConstraint::m_damping |
|
protectedinherited |
◆ m_firstParticleGlobalIndex
| size_t agx::WireContactConstraint::m_firstParticleGlobalIndex |
|
protectedinherited |
◆ m_fixPoint
| Vec3 agx::WireContactSpringConstraint::m_fixPoint |
|
protectedinherited |
◆ m_hasBounds
| bool agx::WireContactConstraint::m_hasBounds |
|
protectedinherited |
◆ m_jacobianVector
| RealVector agx::WireContactConstraint::m_jacobianVector |
|
protectedinherited |
◆ m_mutex
| Mutex agx::Referenced::m_mutex |
|
mutableprotectedinherited |
◆ m_normalForces
| RealVector agx::WireContactConstraint::m_normalForces |
|
protectedinherited |
◆ m_observers
|
|
mutableprotectedinherited |
◆ m_particle
◆ m_particles
◆ m_refCount
|
|
mutableprotectedinherited |
◆ m_restLength
| Real agx::WireContactSpringConstraint::m_restLength |
|
protectedinherited |
◆ m_rhs
| Real agx::WireContactConstraint::m_rhs |
|
protectedinherited |
◆ m_violation
| Real agx::WireContactConstraint::m_violation |
|
protectedinherited |
The documentation for this class was generated from the following file: