17 #ifndef AGX_BODYCONTACTJACOBIAN_H
18 #define AGX_BODYCONTACTJACOBIAN_H
26 template <
typename JacobianElementT>
class BodyContactJacobianT;
27 template <
typename JacobianElementT>
class RollingResistanceJacobianT;
28 template <
typename JacobianElementT>
class TangentJacobianT;
123 template <
typename AccessorT>
124 AccessorT
get(
size_t index);
126 template <
typename AccessorT>
127 const AccessorT
get(
size_t index)
const;
143 template <
typename JacobianElementT>
169 template <
typename JacobianElementT>
196 template <
typename JacobianElementT>
206 static const bool IsLocal =
false;
235 template <
typename JacobianElementT>
237 : m_jacobianElements(nullptr)
241 template <
typename JacobianElementT>
251 template <
typename JacobianElementT>
254 m_jacobianElements(jacobianElements,
IndexRange(offset, jacobianElements.size()))
262 template <
typename JacobianElementT>
272 template <
typename JacobianElementT>
282 template <
typename JacobianElementT>
288 template <
typename JacobianElementT>
295 template <
typename JacobianElementT>
301 template <
typename JacobianElementT>
306 template <
typename JacobianElementT>
309 m_jacobianElements = other.m_jacobianElements;
313 template <
typename JacobianElementT>
316 return m_jacobianElements[index];
319 template <
typename JacobianElementT>
322 return m_jacobianElements[index];
326 template <
typename JacobianElementT>
template <
typename AccessorT>
329 return AccessorT(m_jacobianElements, index);
332 template <
typename JacobianElementT>
template <
typename AccessorT>
335 return AccessorT(m_jacobianElements, index);
340 template <
typename JacobianElementT>
346 template <
typename JacobianElementT>
351 template <
typename JacobianElementT>
357 template <
typename JacobianElementT>
363 template <
typename JacobianElementT>
369 template <
typename JacobianElementT>
376 template <
typename JacobianElementT>
382 template <
typename JacobianElementT>
390 template <
typename JacobianElementT>
395 template <
typename JacobianElementT>
401 template <
typename JacobianElementT>
407 template <
typename JacobianElementT>
413 template <
typename JacobianElementT>
416 return this->
template get<TangentJacobian>(0);
419 template <
typename JacobianElementT>
422 return this->
template get<TangentJacobian>(0);
425 template <
typename JacobianElementT>
431 template <
typename JacobianElementT>
439 template <
typename JacobianElementT>
445 template <
typename JacobianElementT>
451 template <
typename JacobianElementT>
458 template <
typename JacobianElementT>
460 const JacobianElementT *jacobianElements,
size_t offset) : BaseT(jacobianElements, offset)
465 template <
typename JacobianElementT>
471 template <
typename JacobianElementT>
477 template <
typename JacobianElementT>
480 return this->
template get<TangentJacobian>(1);
483 template <
typename JacobianElementT>
486 return this->
template get<TangentJacobian>(1);
489 template <
typename JacobianElementT>
492 return this->
template get<RollingResistanceJacobian>(3);
495 template <
typename JacobianElementT>
498 return this->
template get<RollingResistanceJacobian>(3);
TangentJacobian tangent()
JacobianElementT & normal()
BaseT::TangentJacobian TangentJacobian
JacobianAccessorT< JacobianElementT > BaseT
BaseT::JacobianElementArrayT JacobianElementArrayT
BaseT::ComplementaryElementArrayT ComplementaryElementArrayT
BaseT::RollingResistanceJacobian RollingResistanceJacobian
RollingResistanceJacobian rollingResistance()
JacobianAccessorT(const JacobianElementArrayT &jacobianElements, size_t offset)
void setup(const ComplementaryElementArrayT &jacobianElements, size_t offset) const
JacobianElementT & get(size_t index)
JacobianAccessorT(const ComplementaryElementArrayT &jacobianElements, size_t offset)
RollingResistanceJacobianT< JacobianElementT > RollingResistanceJacobian
agxData::Array< typename ComplementaryElementT< JacobianElementT >::Type > ComplementaryElementArrayT
void setup(const JacobianElementArrayT &jacobianElements, size_t offset) const
TangentJacobianT< JacobianElementT > TangentJacobian
const JacobianElementT & get(size_t index) const
agxData::Array< JacobianElementT > JacobianElementArrayT
AccessorT get(size_t index)
void setup(JacobianElementArrayT &jacobianElements, size_t offset)
JacobianAccessorT(const JacobianAccessorT &other)
const AccessorT get(size_t index) const
void setup(ComplementaryElementArrayT &jacobianElements, size_t offset)
BaseT::TangentJacobian TangentJacobian
BaseT::ComplementaryElementArrayT ComplementaryElementArrayT
BaseT::JacobianElementArrayT JacobianElementArrayT
TangentJacobian tangent()
RollingResistanceJacobianT()
JacobianElementT & normal()
JacobianAccessorT< JacobianElementT > BaseT
JacobianAccessorT< JacobianElementT > BaseT
BaseT::ComplementaryElementArrayT ComplementaryElementArrayT
BaseT::JacobianElementArrayT JacobianElementArrayT
#define DOXYGEN_END_INTERNAL_BLOCK()
#define DOXYGEN_START_INTERNAL_BLOCK()
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
Jacobian6DOFElementT< Vec3f > Jacobian6DOFElement32
RollingResistanceJacobianT< Jacobian6DOFElement64 > RollingResistanceJacobian64
RollingResistanceJacobianT< Jacobian6DOFElement > RollingResistanceJacobian
RollingResistanceJacobianT< Jacobian6DOFElement32 > RollingResistanceJacobian32
IndexRangeT< agx::UInt > IndexRange
TangentJacobianT< Jacobian6DOFElement32 > TangentJacobian32
BodyContactJacobianT< Jacobian6DOFElement64 > BodyContactJacobian64
TangentJacobianT< Jacobian6DOFElement > TangentJacobian
BodyContactJacobianT< Jacobian6DOFElement32 > BodyContactJacobian32
Jacobian6DOFElementT< Vec3d > Jacobian6DOFElement64
TangentJacobianT< Jacobian6DOFElement64 > TangentJacobian64
BodyContactJacobianT< Jacobian6DOFElement > BodyContactJacobian
agxSIMD::Jacobian6DOFElement32 Type
agxSIMD::Jacobian6DOFElement64 Type
agx::Jacobian6DOFElement32 Type
agx::Jacobian6DOFElement64 Type