AGX Dynamics  2.35.0.1
CalculateContactResiduals.h
Go to the documentation of this file.
1 /*
2 Copyright 2007-2022. Algoryx Simulation AB.
3 
4 All AGX source code, intellectual property, documentation, sample code,
5 tutorials, scene files and technical white papers, are copyrighted, proprietary
6 and confidential material of Algoryx Simulation AB. You may not download, read,
7 store, distribute, publish, copy or otherwise disseminate, use or expose this
8 material unless having a written signed agreement with Algoryx Simulation AB, or
9 having been advised so by Algoryx Simulation AB for a time limited evaluation,
10 or having purchased a valid commercial license from Algoryx Simulation AB.
11 
12 Algoryx Simulation AB disclaims all responsibilities for loss or damage caused
13 from using this software, unless otherwise stated in written agreements with
14 Algoryx Simulation AB.
15 */
16 
17 
19 // AUTOMATICALLY GENERATED, DO NOT EDIT! (except inline functions) //
21 
22 #ifndef AGXFN_PHYSICS_GRANULARBODY_CALCULATECONTACTRESIDUALS_H
23 #define AGXFN_PHYSICS_GRANULARBODY_CALCULATECONTACTRESIDUALS_H
24 
25 #include <agxData/Array.h>
26 #include <agxData/EntityPtr.h>
27 #include <agx/Integer.h>
28 #include <agx/Real.h>
29 #include <agx/Math.h>
30 #include <agx/Job.h>
32 #include <agx/Jacobian.h>
35 #include <agx/Vec3.h>
36 #include <agx/SpinMutex.h>
38 #include <agx/RigidBodyState.h>
39 #include <agx/Name.h>
40 #include <agx/SPDMatrix3x3.h>
41 #include <agx/Matrix3x3.h>
42 #include <agx/AffineMatrix4x4.h>
45 #include <agx/Range6.h>
46 #include <agx/Solver.h>
47 
48 
49 namespace agx { namespace Physics { namespace GranularBody { } } }
50 
51 namespace agxFn
52 {
53  namespace Physics
54  {
55  namespace GranularBody
56  {
69  void CalculateContactResiduals__GranularGranularContact
70  (
71  /* Parameter list automatically generated, do not edit */
72  agx::SolveContext context,
73  agx::Physics::GranularBody::ContactConstraintData& constraint,
74  agx::Physics::Particle::ContactConstraintRowData& constraintRow,
75  const agxData::Array< agx::Jacobian6DOFElement >& granularGranularJacobianStorage,
76  agx::Physics::SolveBodyData& particle,
77  const agx::UInt& contactMode,
78  agxData::Array< agx::Real >& iterationResiduals,
79  agx::SpinMutex& iterationResidualMutex
80  );
81 
82 
96  void CalculateContactResiduals__GranularGeometryContact
97  (
98  /* Parameter list automatically generated, do not edit */
99  agx::SolveContext context,
100  agx::Physics::GranularBody::ContactConstraintData& constraint,
101  agx::Physics::Particle::ContactConstraintRowData& constraintRow,
102  const agxData::Array< agx::Jacobian6DOFElement >& granularGeometryJacobianStorage,
103  agx::Physics::SolveBodyData& particle,
104  agx::Physics::RigidBodyData& rigidBody,
105  const agx::UInt& contactMode,
106  agxData::Array< agx::Real >& iterationResiduals,
107  agx::SpinMutex& iterationResidualMutex
108  );
109 
110 
122  void CalculateContactResiduals__GranularGranularContact_LocalJacobians
123  (
124  /* Parameter list automatically generated, do not edit */
125  agx::SolveContext context,
126  agx::Physics::GranularBody::ContactConstraintData& constraint,
127  agx::Physics::Particle::ContactConstraintRowData& constraintRow,
128  agx::Physics::SolveBodyData& particle,
129  const agx::UInt& contactMode,
130  agxData::Array< agx::Real >& iterationResiduals,
131  agx::SpinMutex& iterationResidualMutex
132  );
133 
134 
135  }
136  }
137 }
138 
139 #endif
Type-specific Array used for fast access into the data held by a Buffer.
Definition: Array.h:107
Spin-lock mutex.
Definition: SpinMutex.h:47
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
uint32_t UInt
Definition: Integer.h:34