17 #ifndef AGX_BODYCONTACTJACOBIAN_H
18 #define AGX_BODYCONTACTJACOBIAN_H
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>
156 JacobianElementT& u();
157 const JacobianElementT& u()
const;
159 JacobianElementT& v();
160 const JacobianElementT& v()
const;
169 template <
typename JacobianElementT>
186 JacobianElementT& normal();
187 const JacobianElementT& normal()
const;
196 template <
typename JacobianElementT>
206 static const bool IsLocal =
false;
213 JacobianElementT& normal();
214 const JacobianElementT& normal()
const;
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);