AGX Dynamics  2.37.3.2
UpdateGranularContactTables.h
Go to the documentation of this file.
1 /*
2 Copyright 2007-2024. 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_UPDATEGRANULARCONTACTTABLES_H
23 #define AGXFN_PHYSICS_GRANULARBODY_UPDATEGRANULARCONTACTTABLES_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>
34 #include <agx/Vec3.h>
36 #include <agx/ParticleState.h>
39 #include <agx/Uuid.h>
40 #include <agx/Vec4.h>
41 #include <agx/Quat.h>
44 #include <agx/GlobalResult.h>
48 #include <agx/SpinMutex.h>
49 #include <agx/Name.h>
52 #include <agx/AffineMatrix4x4.h>
55 
56 
57 namespace agx { namespace Physics { namespace GranularBody { } } }
58 
59 namespace agxFn
60 {
61  namespace Physics
62  {
63  namespace GranularBody
64  {
66  typedef agx::QuadraticProbingHashTable<agx::Physics::GranularBody::GranularGranularPair, agx::Physics::GranularBody::CachedGranularContactPtr, agx::HashFn< agx::Physics::GranularBody::GranularGranularPair >, agxData::BufferProxyAllocator> ParticleParticleContactTable;
68  typedef agx::QuadraticProbingHashTable<agx::Physics::GranularBody::GranularGeometryPair, agx::Physics::GranularBody::CachedGranularContactPtr, agx::HashFn< agx::Physics::GranularBody::GranularGeometryPair >, agxData::BufferProxyAllocator> ParticleGeometryContactTable;
80  void UpdateGranularContactTables__GranularGranularContact_pass1
81  (
82  /* Parameter list automatically generated, do not edit */
83  const agx::RangeJob& job,
84  agx::Physics::ParticlePairContactData& contact,
85  agxData::Array< agx::UInt32 >& cachedContactId,
86  agx::Physics::GranularBodyData& particle,
87  agxData::Array< agx::UInt32 >& newGranularGranularContacts,
88  ParticleParticleContactTable& granularGranularContactTable
89  );
90 
91 
103  void UpdateGranularContactTables__GranularGranularContact_pass2
104  (
105  /* Parameter list automatically generated, do not edit */
106  agx::Physics::ParticlePairContactData& contact,
107  agxData::Array< agx::UInt32 >& cachedContactId,
108  agx::Physics::GranularBodyData& particle,
109  agx::Physics::GranularBody::CachedGranularContactData& cachedGranularGranularContacts,
110  const agxData::Array< agx::UInt32 >& newGranularGranularContacts,
111  ParticleParticleContactTable& granularGranularContactTable
112  );
113 
114 
127  void UpdateGranularContactTables__GranularGeometryContact_pass1
128  (
129  /* Parameter list automatically generated, do not edit */
130  const agx::RangeJob& job,
131  agx::Physics::ParticleGeometryContactData& contact,
132  agxData::Array< agx::UInt32 >& cachedContactId,
133  agx::Physics::GranularBodyData& particle,
134  agx::Physics::GeometryData& geometry,
135  agxData::Array< agx::UInt32 >& newGranularGeometryContacts,
136  ParticleGeometryContactTable& granularGeometryContactTable
137  );
138 
139 
152  void UpdateGranularContactTables__GranularGeometryContact_pass2
153  (
154  /* Parameter list automatically generated, do not edit */
155  agx::Physics::ParticleGeometryContactData& contact,
156  agxData::Array< agx::UInt32 >& cachedContactId,
157  agx::Physics::GranularBodyData& particle,
158  agx::Physics::GeometryData& geometry,
159  agx::Physics::GranularBody::CachedGranularContactData& cachedGranularGeometryContacts,
160  const agxData::Array< agx::UInt32 >& newGranularGeometryContacts,
161  ParticleGeometryContactTable& granularGeometryContactTable
162  );
163 
164 
165  }
166  }
167 }
168 
169 #endif
Inheritance with partial specialization due to bug with ref_ptr containers.
Type-specific Array used for fast access into the data held by a Buffer.
Definition: agxData.h:30
A range job executes a kernel implementation on a subset of the data.
Definition: Job.h:283
The agx namespace contains the dynamics/math part of the AGX Dynamics API.