AGX Dynamics  2.37.2.0
CalculateZoneDependencies.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_HIERARCHICALGRID_CALCULATEZONEDEPENDENCIES_H
23 #define AGXFN_PHYSICS_HIERARCHICALGRID_CALCULATEZONEDEPENDENCIES_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/AtomicValue.h>
37 #include <agx/Vec3.h>
38 #include <agx/Vec4.h>
39 #include <agx/GlobalResult.h>
44 #include <agx/ParticleState.h>
47 #include <agx/Uuid.h>
48 #include <agx/IndexRange.h>
50 #include <agx/SpinMutex.h>
53 #include <agx/Name.h>
56 #include <agx/AffineMatrix4x4.h>
62 
63 
64 namespace agx { namespace Physics { namespace HierarchicalGrid { } } }
65 
66 namespace agxFn
67 {
68  namespace Physics
69  {
70  namespace HierarchicalGrid
71  {
73  typedef agx::QuadraticProbingHashTable<agx::UInt64, agx::UInt8, agx::HashFn< agx::UInt64 >, agxData::BufferProxyAllocator> GlobalDependencyHash;
74  typedef agx::QuadraticProbingHashTable<agx::UInt64, agx::UInt8, agx::HashFn< agx::UInt64 >, agxData::BufferProxyAllocator> GlobalDependencyHash;
83  void CalculateZoneDependencies
84  (
85  /* Parameter list automatically generated, do not edit */
86  const agx::RangeJob& job,
87  agx::Physics::HierarchicalGrid::ContactZoneData& contactZone,
88  agx::Physics::HierarchicalGrid::ContactZoneDependencyData& contactZoneDependency
89  );
90 
91 
110  void CalculateZoneDependencies__TierDependencies_Particle
111  (
112  /* Parameter list automatically generated, do not edit */
113  const agx::RangeJob& job,
114  const agxData::Array< agx::UInt32 >& tierDependencyParticleContacts,
115  agx::Physics::ParticlePairContactData& particlePairContact,
116  agx::Physics::ParticleData& particle,
117  agx::Physics::HierarchicalGrid::ContactZoneData& contactZone,
118  agx::Physics::HierarchicalGrid::ContactZoneDependencyData& contactZoneDependency,
119  agx::Physics::HierarchicalGrid::CellData& cell,
120  agx::Physics::HierarchicalGrid::GridTierData& gridTier,
121  const agx::UInt& contactZoneAccumulationLevel,
124  GlobalDependencyHash& zoneDependencyHash,
125  agx::SpinMutex& zoneDependencyMutex
126  );
127 
128 
148  void CalculateZoneDependencies__TierDependencies_ParticleGeometry
149  (
150  /* Parameter list automatically generated, do not edit */
151  const agx::RangeJob& job,
152  const agxData::Array< agx::UInt32 >& tierDependencyParticleGeometryContacts,
153  agx::Physics::ParticleGeometryContactData& particleGeometryContact,
154  agx::Physics::ParticleData& particle,
155  agx::Physics::GeometryData& geometry,
156  agx::Physics::HierarchicalGrid::ContactZoneData& contactZone,
157  agx::Physics::HierarchicalGrid::ContactZoneDependencyData& contactZoneDependency,
158  agx::Physics::HierarchicalGrid::CellData& cell,
159  agx::Physics::HierarchicalGrid::GridTierData& gridTier,
160  const agx::UInt& contactZoneAccumulationLevel,
163  GlobalDependencyHash& zoneDependencyHash,
164  agx::SpinMutex& zoneDependencyMutex
165  );
166 
167 
185  void CalculateZoneDependencies__TierDependencies_Geometry
186  (
187  /* Parameter list automatically generated, do not edit */
188  const agx::RangeJob& job,
189  const agxData::Array< agx::UInt32 >& tierDependencyGeometryContacts,
190  agx::Physics::GeometryContactData& geometryContact,
191  agx::Physics::HierarchicalGrid::ContactZoneData& contactZone,
192  agx::Physics::HierarchicalGrid::ContactZoneDependencyData& contactZoneDependency,
193  agx::Physics::HierarchicalGrid::CellData& cell,
194  agx::Physics::HierarchicalGrid::GridTierData& gridTier,
195  const agx::UInt& contactZoneAccumulationLevel,
198  GlobalDependencyHash& zoneDependencyHash,
199  agx::SpinMutex& zoneDependencyMutex
200  );
201 
202 
203  }
204  }
205 }
206 
207 #endif
Pointer to a entity instance of type Physics.HierarchicalGrid.ContactZone.
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
uint32_t UInt
Definition: Integer.h:34
The agx namespace contains the dynamics/math part of the AGX Dynamics API.
Spin-lock mutex.
Definition: SpinMutex.h:46