peclet-dem 1.1.0
Performance-portable XPBD Discrete Element Method (Kokkos + ArborX)
Loading...
Searching...
No Matches
peclet::dem::Particles Struct Reference

#include <particles.hpp>

Classes

struct  MlLast

Public Member Functions

BodyState bodyState () const
BodyPred bodyPred () const
BodyDelta bodyDelta () const
PairLedger pairLedger () const
ColorScratch colorScratch () const
SleepState sleepState () const
CarriedColors prevContactColors () const
CarriedColors prevManifoldColors () const
PairLedger prevPairLedger () const
void allocate (int cap, int maxPairs_, int maxContacts_, int nShapes, int nShell, int nPlanes)
void ensureCapacity (int newCap)
Kokkos::View< const float *[3], CpMem > cpos () const
Kokkos::View< const float *, CpMem > crad () const

Public Attributes

V3 pos
Vf invMass
V4 quat
V3 vel
V3 angVel
V3 invInertia
Vf scale
Vf targetScale
Vi shapeId
V3 posPred
V4 quatPred
V3 velPred
V3 angVelPred
V3 deltaPos
V4 deltaQuat
V3 deltaVel
V3 deltaAngVel
Vi constraintCounts
Vi realIndices
Vi gid
Kokkos::View< float *[2], CpMem > planeFriction
Vf rad
V3 extForce
V3 extTorque
Kokkos::View< int *[2], CpMem > pairs
Kokkos::View< ContactC *, CpMem > contacts
Kokkos::View< ManifoldC *, CpMem > manifolds
Kokkos::View< int *, CpMem > manifoldColor
Kokkos::View< int *, CpMem > prevManifoldColor
int velLastFullColors = 0
Kokkos::View< unsigned long long *, CpMem > pairKeys
Kokkos::View< unsigned long long *, CpMem > prevPairKeys
Kokkos::View< unsigned char *, CpMem > manifoldPersistent
int prevPairCount = 0
Kokkos::View< unsigned char *, CpMem > groundedLevel
Kokkos::View< float *, CpMem > lambdaAcc
Kokkos::View< float *, CpMem > prevLambda
Kokkos::View< float *, CpMem > vn0
Kokkos::View< float *[3], CpMem > vt0
Kokkos::View< float *[3], CpMem > lambdaT
Kokkos::View< float *[3], CpMem > prevLambdaT
Kokkos::View< float *, CpMem > hertzSnPair
Kokkos::View< float *, CpMem > hertzSnWall
Kokkos::View< float *, CpMem > posLambdaContact
Kokkos::View< float *, CpMem > posImpulse
Kokkos::View< float *, CpMem > prevPosImpulse
Kokkos::View< float *, CpMem > restBank
Kokkos::View< float *, CpMem > prevRestBank
Kokkos::View< float *, CpMem > restRel
Kokkos::View< float *, CpMem > restVPeak
Kokkos::View< float *, CpMem > prevRestVPeak
Kokkos::View< float *, CpMem > bodyOrphan
Kokkos::View< float *, CpMem > bodyOrphanVPeak
Kokkos::View< unsigned char *, CpMem > prevMatched
Kokkos::View< unsigned char *, CpMem > sideFlags
Kokkos::View< int *, CpMem > heightLevel
Kokkos::View< int *, CpMem > levelKey
Kokkos::View< int *, CpMem > levelPerm
Kokkos::View< long long *, CpMem > mlColorPacked
Kokkos::View< int *, CpMem > mlParent
Kokkos::View< float *, CpMem > mlInvMassG
Kokkos::View< float *[3], CpMem > mlVelG
Kokkos::View< float *[3], CpMem > mlVelG0
Kokkos::View< float *, CpMem > mlMassG
Kokkos::View< int *, CpMem > mlGrp
Kokkos::View< int *, CpMem > mlMate
Kokkos::View< float *[3], CpMem > mlOriginG
Kokkos::View< float *[3], CpMem > mlComOffG
Kokkos::View< float *[3], CpMem > mlAngG
Kokkos::View< float *[3], CpMem > mlAngG0
Kokkos::View< float *[6], CpMem > mlInvIG
Kokkos::View< double *[7], CpMem > mlAccD
Kokkos::View< float *[3], CpMem > hertzXi
Kokkos::View< unsigned long long *, CpMem > hertzKeys
Kokkos::View< unsigned long long *, CpMem > hertzPrevKeys
Kokkos::View< float *[3], CpMem > hertzPrevXi
Kokkos::View< float *[3], CpMem > hertzXiWall
Kokkos::View< int *, CpMem > hertzWallCand
Kokkos::View< int, CpMem > hertzWallCandCount
int hertzNumWallCand = 0
float hertzContactRadiusFrac = 0.5f
Kokkos::View< float *[3], CpMem > hertzRefPos
Kokkos::View< float, CpMem > hertzDispMax
Kokkos::View< float *, CpMem > hertzE
Kokkos::View< float *, CpMem > hertzNu
int hertzNumPairs = -1
int hertzPrevCount = 0
int stabilizationMode = 1
int restitutionModel = 0
Kokkos::View< unsigned char *, CpMem > materialId
Kokkos::View< float *, CpMem > pairMaterials
Kokkos::View< int *, CpMem > contactSlot
Kokkos::View< int *, CpMem > contactColor
Kokkos::View< int *, CpMem > unitStart
Kokkos::View< int *, CpMem > unitContacts
Kokkos::View< int *, CpMem > unitColor
int numPosUnits = 0
Kokkos::View< unsigned long long *, CpMem > contactKeys
Kokkos::View< unsigned long long *, CpMem > prevContactKeys
Kokkos::View< int *, CpMem > prevContactColor
Kokkos::View< int *, CpMem > posCommitPerm
int posPrevContactCount = 0
int posLastFullColors = 0
Kokkos::View< int *, CpMem > velPerm
Kokkos::View< int *, CpMem > commitPerm
Kokkos::View< int *, CpMem > bucketCursor
Kokkos::View< int *, CpMem > mlBucketPerm
Kokkos::View< int *, CpMem > posPerm
Kokkos::View< int *, CpMem > velOffsDev
Kokkos::View< int *, CpMem > posOffsDev
Kokkos::View< int *, CpMem > mlOffsDev
Kokkos::View< unsigned *, CpMem > fusedBar
void * graphCache [4] = {nullptr, nullptr, nullptr, nullptr}
Kokkos::View< long long *, CpMem > bodyWinner
Kokkos::View< std::uint64_t *, CpMem > bodyColorMask
Kokkos::View< unsigned char *, CpMem > asleep
Kokkos::View< unsigned char *, CpMem > sleepCounter
Kokkos::View< unsigned char *, CpMem > sleepMovingWall
Kokkos::View< int *, CpMem > sleepCurCount
Kokkos::View< int *, CpMem > sleepPrevCount
Kokkos::View< float *, CpMem > invMassEff
Kokkos::View< unsigned char *, CpMem > manifoldSleep
Kokkos::View< unsigned char *, CpMem > contactSleep
bool sleepingEnabled = true
float sleepScale = 2.0f
float wakeScale = 40.0f
int sleepK = 64
bool sleepWakeLostContact = false
float sleepImmovableFrac = 0.01f
bool extForceActive = false
bool extTorqueActive = false
Kokkos::View< float *[3], CpMem > impRefPos
Kokkos::View< float, CpMem > impDispMax
int impNumPairs = -1
float impRefMaxRad = 0.0f
float verletSkinFrac = 0.0f
bool cudaGraphs = true
int fusedSweeps = -1
bool incrementalColoring = true
Kokkos::View< int, CpMem > pairCount
Kokkos::View< int, CpMem > contactCount
Kokkos::View< int, CpMem > manifoldCount
Kokkos::View< int, CpMem > topGhost
Kokkos::View< float, CpMem > maxOverlap
Kokkos::View< float, CpMem > posResidual
float positionOmega = 1.5f
Kokkos::View< float, CpMem > maxApproach
Kokkos::View< float, CpMem > maxApproachQS
Kokkos::View< float, CpMem > maxConsensus
Kokkos::View< ShapeDesc *, CpMem > shapes
Kokkos::View< float *[3], CpMem > shell
Kokkos::View< PlaneP *, CpMem > planes
Kokkos::View< float *, CpMem > sdfGrid
Kokkos::View< WallSdf *, CpMem > walls
Kokkos::View< float *, CpMem > wallGrid
Kokkos::View< peclet::core::geom::ShapeNode< float > *, CpMem > wallNodes
Kokkos::View< peclet::core::geom::ShapeNode< float > *, CpMem > shapeNodes
int capacity = 0
int numReal = 0
int numParticles = 0
int maxPairs = 0
int maxContacts = 0
int numPlanes = 0
int numWalls = 0
int shellPoints = 0
int shellDetection = 0
float wallFrictionMax = 0.0f
Domain domain {}
F3 gravity {0, 0, 0}
float dt = 1e-3f
float globalScale = 1.0f
float growthRate = 0.0f
float growthFactor = -1.0f
float baseRadius
float thermostatTau = 0.0f
float thermostatTemp = 0.0f
float thermostatKB = 1.0f
float frictionDynamic = 0.0f
float restitutionNormal = 0.0f
float skin = 0.1f
float restitutionTangent = 0.0f
int positionIterations = 10
int velocityIterations = 0
bool velocityUseGS = true
PhaseCopies velCopies
PhaseCopies posCopies
Kokkos::View< float *, CpMem > invMassSolve
Kokkos::View< float *[3], CpMem > invInertiaSolve
Kokkos::View< unsigned char *, CpMem > splitSlot
Kokkos::View< int *, CpMem > vertexDegree
Kokkos::View< int *, CpMem > aVel
Kokkos::View< int *, CpMem > aPos
Kokkos::View< int *, CpMem > kVel
Kokkos::View< int *, CpMem > kPos
Kokkos::View< unsigned char *, CpMem > activityHit
Kokkos::View< unsigned long long *, CpMem > velMask
Kokkos::View< unsigned char *, CpMem > xGate
long long solveEpoch = 0
Kokkos::View< float *, CpMem > invMassCoarse
Kokkos::View< float *[3], CpMem > invInertiaCoarse
Kokkos::View< int, CpMem > orphanClampCount
Kokkos::View< float *[3], CpMem > imageShift
bool velCopiesLastSubstep = false
SplitStats splitStats
struct peclet::dem::Particles::MlLast mlLast
bool iterCounters = false
bool noAdaptiveStop = false
Kokkos::View< int *, CpMem > iterCountDev
bool debugCapture = false
DebugContactCapture debugCaptured

Static Public Attributes

static constexpr int kHertzMaxWalls = 4

Detailed Description

Definition at line 73 of file particles.hpp.

Member Function Documentation

◆ bodyState()

◆ bodyPred()

◆ bodyDelta()

BodyDelta peclet::dem::Particles::bodyDelta ( ) const
inline

◆ pairLedger()

PairLedger peclet::dem::Particles::pairLedger ( ) const
inline

◆ colorScratch()

ColorScratch peclet::dem::Particles::colorScratch ( ) const
inline

◆ sleepState()

SleepState peclet::dem::Particles::sleepState ( ) const
inline

Definition at line 117 of file particles.hpp.

References asleep, sleepCounter, sleepCurCount, sleepMovingWall, and sleepPrevCount.

Referenced by peclet::dem::demStep().

◆ prevContactColors()

CarriedColors peclet::dem::Particles::prevContactColors ( ) const
inline

Definition at line 120 of file particles.hpp.

References posPrevContactCount, prevContactColor, and prevContactKeys.

Referenced by peclet::dem::colorPositionPhase().

◆ prevManifoldColors()

CarriedColors peclet::dem::Particles::prevManifoldColors ( ) const
inline

Definition at line 123 of file particles.hpp.

References prevManifoldColor, prevPairCount, and prevPairKeys.

Referenced by peclet::dem::colorVelocityPhase().

◆ prevPairLedger()

PairLedger peclet::dem::Particles::prevPairLedger ( ) const
inline

◆ allocate()

void peclet::dem::Particles::allocate ( int cap,
int maxPairs_,
int maxContacts_,
int nShapes,
int nShell,
int nPlanes )
inline

Definition at line 501 of file particles.hpp.

References angVel, angVelPred, asleep, bodyColorMask, bodyOrphan, bodyOrphanVPeak, bodyWinner, bucketCursor, capacity, commitPerm, constraintCounts, contactColor, contactCount, contactKeys, contacts, contactSleep, contactSlot, deltaAngVel, deltaPos, deltaQuat, deltaVel, extForce, extTorque, fusedBar, gid, groundedLevel, heightLevel, hertzDispMax, hertzE, hertzNu, hertzRefPos, hertzSnWall, hertzWallCand, hertzWallCandCount, hertzXiWall, impDispMax, impRefPos, invInertia, invMass, invMassEff, kHertzMaxWalls, lambdaAcc, lambdaT, levelKey, levelPerm, manifoldColor, manifoldCount, manifoldPersistent, manifolds, manifoldSleep, materialId, maxApproach, maxApproachQS, maxConsensus, maxContacts, maxOverlap, maxPairs, mlBucketPerm, mlColorPacked, mlGrp, mlInvMassG, mlMassG, mlMate, mlOffsDev, mlParent, mlVelG, mlVelG0, numPlanes, numWalls, pairCount, pairKeys, pairs, planeFriction, planes, pos, posCommitPerm, posImpulse, posLambdaContact, posOffsDev, posPerm, posPred, posResidual, prevContactColor, prevContactKeys, prevLambda, prevLambdaT, prevManifoldColor, prevMatched, prevPairCount, prevPairKeys, prevPosImpulse, prevRestBank, prevRestVPeak, quat, quatPred, rad, realIndices, restBank, restRel, restVPeak, scale, sdfGrid, shapeId, shapeNodes, shapes, shell, sideFlags, sleepCounter, sleepCurCount, sleepMovingWall, sleepPrevCount, targetScale, topGhost, unitColor, unitContacts, unitStart, vel, velOffsDev, velPerm, velPred, vn0, vt0, wallGrid, wallNodes, and walls.

◆ ensureCapacity()

◆ cpos()

Kokkos::View< const float *[3], CpMem > peclet::dem::Particles::cpos ( ) const
inline

Definition at line 711 of file particles.hpp.

References pos.

◆ crad()

Kokkos::View< const float *, CpMem > peclet::dem::Particles::crad ( ) const
inline

Definition at line 712 of file particles.hpp.

References rad.

Referenced by peclet::dem::findCollisionsGrow().

Member Data Documentation

◆ pos

◆ invMass

◆ quat

◆ vel

V3 peclet::dem::Particles::vel

◆ angVel

V3 peclet::dem::Particles::angVel

◆ invInertia

◆ scale

◆ targetScale

Vf peclet::dem::Particles::targetScale

Definition at line 82 of file particles.hpp.

Referenced by allocate(), peclet::dem::demStep(), and ensureCapacity().

◆ shapeId

Vi peclet::dem::Particles::shapeId

◆ posPred

◆ quatPred

◆ velPred

◆ angVelPred

◆ deltaPos

V3 peclet::dem::Particles::deltaPos

Definition at line 88 of file particles.hpp.

Referenced by allocate(), bodyDelta(), and ensureCapacity().

◆ deltaQuat

V4 peclet::dem::Particles::deltaQuat

Definition at line 89 of file particles.hpp.

Referenced by allocate(), bodyDelta(), and ensureCapacity().

◆ deltaVel

◆ deltaAngVel

◆ constraintCounts

Vi peclet::dem::Particles::constraintCounts

◆ realIndices

◆ gid

◆ planeFriction

Kokkos::View<float* [2], CpMem> peclet::dem::Particles::planeFriction

Definition at line 98 of file particles.hpp.

Referenced by allocate(), peclet::dem::demSolveContacts(), and ensureCapacity().

◆ rad

◆ extForce

V3 peclet::dem::Particles::extForce

Definition at line 100 of file particles.hpp.

Referenced by allocate(), peclet::dem::demStep(), and ensureCapacity().

◆ extTorque

V3 peclet::dem::Particles::extTorque

Definition at line 106 of file particles.hpp.

Referenced by allocate(), peclet::dem::demStep(), and ensureCapacity().

◆ pairs

Kokkos::View<int* [2], CpMem> peclet::dem::Particles::pairs

◆ contacts

◆ manifolds

◆ manifoldColor

◆ prevManifoldColor

Kokkos::View<int*, CpMem> peclet::dem::Particles::prevManifoldColor

◆ velLastFullColors

int peclet::dem::Particles::velLastFullColors = 0

Definition at line 144 of file particles.hpp.

Referenced by peclet::dem::colorVelocityPhase().

◆ pairKeys

Kokkos::View<unsigned long long*, CpMem> peclet::dem::Particles::pairKeys

◆ prevPairKeys

Kokkos::View<unsigned long long*, CpMem> peclet::dem::Particles::prevPairKeys

◆ manifoldPersistent

Kokkos::View<unsigned char*, CpMem> peclet::dem::Particles::manifoldPersistent

◆ prevPairCount

◆ groundedLevel

Kokkos::View<unsigned char*, CpMem> peclet::dem::Particles::groundedLevel

◆ lambdaAcc

◆ prevLambda

Kokkos::View<float*, CpMem> peclet::dem::Particles::prevLambda

Definition at line 165 of file particles.hpp.

Referenced by allocate(), peclet::dem::growContactBuffers(), and prevPairLedger().

◆ vn0

◆ vt0

◆ lambdaT

◆ prevLambdaT

Kokkos::View<float* [3], CpMem> peclet::dem::Particles::prevLambdaT

Definition at line 172 of file particles.hpp.

Referenced by allocate(), peclet::dem::growContactBuffers(), and prevPairLedger().

◆ hertzSnPair

Kokkos::View<float*, CpMem> peclet::dem::Particles::hertzSnPair

◆ hertzSnWall

Kokkos::View<float*, CpMem> peclet::dem::Particles::hertzSnWall

◆ posLambdaContact

Kokkos::View<float*, CpMem> peclet::dem::Particles::posLambdaContact

◆ posImpulse

◆ prevPosImpulse

Kokkos::View<float*, CpMem> peclet::dem::Particles::prevPosImpulse

◆ restBank

Kokkos::View<float*, CpMem> peclet::dem::Particles::restBank

◆ prevRestBank

Kokkos::View<float*, CpMem> peclet::dem::Particles::prevRestBank

Definition at line 187 of file particles.hpp.

Referenced by allocate(), peclet::dem::growContactBuffers(), and prevPairLedger().

◆ restRel

Kokkos::View<float*, CpMem> peclet::dem::Particles::restRel

◆ restVPeak

Kokkos::View<float*, CpMem> peclet::dem::Particles::restVPeak

◆ prevRestVPeak

Kokkos::View<float*, CpMem> peclet::dem::Particles::prevRestVPeak

Definition at line 196 of file particles.hpp.

Referenced by allocate(), peclet::dem::growContactBuffers(), and prevPairLedger().

◆ bodyOrphan

Kokkos::View<float*, CpMem> peclet::dem::Particles::bodyOrphan

◆ bodyOrphanVPeak

Kokkos::View<float*, CpMem> peclet::dem::Particles::bodyOrphanVPeak

◆ prevMatched

Kokkos::View<unsigned char*, CpMem> peclet::dem::Particles::prevMatched

◆ sideFlags

◆ heightLevel

Kokkos::View<int*, CpMem> peclet::dem::Particles::heightLevel

Definition at line 212 of file particles.hpp.

Referenced by allocate(), ensureCapacity(), and peclet::dem::stabilizeOrdered().

◆ levelKey

Kokkos::View<int*, CpMem> peclet::dem::Particles::levelKey

◆ levelPerm

Kokkos::View<int*, CpMem> peclet::dem::Particles::levelPerm

◆ mlColorPacked

Kokkos::View<long long*, CpMem> peclet::dem::Particles::mlColorPacked

◆ mlParent

Kokkos::View<int*, CpMem> peclet::dem::Particles::mlParent

Definition at line 220 of file particles.hpp.

Referenced by allocate(), and peclet::dem::stabilizeMultilevel().

◆ mlInvMassG

Kokkos::View<float*, CpMem> peclet::dem::Particles::mlInvMassG

◆ mlVelG

Kokkos::View<float* [3], CpMem> peclet::dem::Particles::mlVelG

Definition at line 222 of file particles.hpp.

Referenced by allocate(), and peclet::dem::stabilizeMultilevel().

◆ mlVelG0

Kokkos::View<float* [3], CpMem> peclet::dem::Particles::mlVelG0

Definition at line 223 of file particles.hpp.

Referenced by allocate(), and peclet::dem::stabilizeMultilevel().

◆ mlMassG

Kokkos::View<float*, CpMem> peclet::dem::Particles::mlMassG

Definition at line 224 of file particles.hpp.

Referenced by allocate(), and peclet::dem::stabilizeMultilevel().

◆ mlGrp

Kokkos::View<int*, CpMem> peclet::dem::Particles::mlGrp

Definition at line 225 of file particles.hpp.

Referenced by allocate(), ensureCapacity(), and peclet::dem::stabilizeMultilevel().

◆ mlMate

Kokkos::View<int*, CpMem> peclet::dem::Particles::mlMate

Definition at line 226 of file particles.hpp.

Referenced by allocate(), ensureCapacity(), and peclet::dem::stabilizeMultilevel().

◆ mlOriginG

Kokkos::View<float* [3], CpMem> peclet::dem::Particles::mlOriginG

◆ mlComOffG

Kokkos::View<float* [3], CpMem> peclet::dem::Particles::mlComOffG

◆ mlAngG

Kokkos::View<float* [3], CpMem> peclet::dem::Particles::mlAngG

◆ mlAngG0

Kokkos::View<float* [3], CpMem> peclet::dem::Particles::mlAngG0

◆ mlInvIG

Kokkos::View<float* [6], CpMem> peclet::dem::Particles::mlInvIG

◆ mlAccD

Kokkos::View<double* [7], CpMem> peclet::dem::Particles::mlAccD

◆ hertzXi

Kokkos::View<float* [3], CpMem> peclet::dem::Particles::hertzXi

◆ hertzKeys

Kokkos::View<unsigned long long*, CpMem> peclet::dem::Particles::hertzKeys

◆ hertzPrevKeys

Kokkos::View<unsigned long long*, CpMem> peclet::dem::Particles::hertzPrevKeys

◆ hertzPrevXi

Kokkos::View<float* [3], CpMem> peclet::dem::Particles::hertzPrevXi

◆ hertzXiWall

Kokkos::View<float* [3], CpMem> peclet::dem::Particles::hertzXiWall

◆ hertzWallCand

Kokkos::View<int*, CpMem> peclet::dem::Particles::hertzWallCand

◆ hertzWallCandCount

Kokkos::View<int, CpMem> peclet::dem::Particles::hertzWallCandCount

Definition at line 243 of file particles.hpp.

Referenced by allocate(), and peclet::dem::HertzMindlinLaw::rebuild().

◆ hertzNumWallCand

int peclet::dem::Particles::hertzNumWallCand = 0

◆ hertzContactRadiusFrac

float peclet::dem::Particles::hertzContactRadiusFrac = 0.5f

Definition at line 247 of file particles.hpp.

Referenced by peclet::dem::HertzMindlinLaw::shapes().

◆ hertzRefPos

Kokkos::View<float* [3], CpMem> peclet::dem::Particles::hertzRefPos

◆ hertzDispMax

Kokkos::View<float, CpMem> peclet::dem::Particles::hertzDispMax

Definition at line 249 of file particles.hpp.

Referenced by allocate(), and peclet::dem::hertzRebuildPairs().

◆ hertzE

Kokkos::View<float*, CpMem> peclet::dem::Particles::hertzE

◆ hertzNu

Kokkos::View<float*, CpMem> peclet::dem::Particles::hertzNu

◆ hertzNumPairs

int peclet::dem::Particles::hertzNumPairs = -1

◆ hertzPrevCount

int peclet::dem::Particles::hertzPrevCount = 0

◆ kHertzMaxWalls

int peclet::dem::Particles::kHertzMaxWalls = 4
staticconstexpr

◆ stabilizationMode

int peclet::dem::Particles::stabilizationMode = 1

Definition at line 258 of file particles.hpp.

Referenced by peclet::dem::stabilizeVelocityPhase().

◆ restitutionModel

int peclet::dem::Particles::restitutionModel = 0

Definition at line 263 of file particles.hpp.

Referenced by peclet::dem::demSolveContacts().

◆ materialId

◆ pairMaterials

Kokkos::View<float*, CpMem> peclet::dem::Particles::pairMaterials

◆ contactSlot

Kokkos::View<int*, CpMem> peclet::dem::Particles::contactSlot

◆ contactColor

Kokkos::View<int*, CpMem> peclet::dem::Particles::contactColor

◆ unitStart

Kokkos::View<int*, CpMem> peclet::dem::Particles::unitStart

◆ unitContacts

Kokkos::View<int*, CpMem> peclet::dem::Particles::unitContacts

◆ unitColor

Kokkos::View<int*, CpMem> peclet::dem::Particles::unitColor

◆ numPosUnits

int peclet::dem::Particles::numPosUnits = 0

◆ contactKeys

Kokkos::View<unsigned long long*, CpMem> peclet::dem::Particles::contactKeys

◆ prevContactKeys

Kokkos::View<unsigned long long*, CpMem> peclet::dem::Particles::prevContactKeys

◆ prevContactColor

Kokkos::View<int*, CpMem> peclet::dem::Particles::prevContactColor

◆ posCommitPerm

Kokkos::View<int*, CpMem> peclet::dem::Particles::posCommitPerm

◆ posPrevContactCount

int peclet::dem::Particles::posPrevContactCount = 0

◆ posLastFullColors

int peclet::dem::Particles::posLastFullColors = 0

Definition at line 289 of file particles.hpp.

Referenced by peclet::dem::colorPositionPhase().

◆ velPerm

Kokkos::View<int*, CpMem> peclet::dem::Particles::velPerm

◆ commitPerm

Kokkos::View<int*, CpMem> peclet::dem::Particles::commitPerm

◆ bucketCursor

Kokkos::View<int*, CpMem> peclet::dem::Particles::bucketCursor

◆ mlBucketPerm

Kokkos::View<int*, CpMem> peclet::dem::Particles::mlBucketPerm

Definition at line 300 of file particles.hpp.

Referenced by allocate(), and peclet::dem::stabilizeMultilevel().

◆ posPerm

Kokkos::View<int*, CpMem> peclet::dem::Particles::posPerm

◆ velOffsDev

Kokkos::View<int*, CpMem> peclet::dem::Particles::velOffsDev

Definition at line 306 of file particles.hpp.

Referenced by allocate(), and peclet::dem::demSolveContacts().

◆ posOffsDev

Kokkos::View<int*, CpMem> peclet::dem::Particles::posOffsDev

Definition at line 307 of file particles.hpp.

Referenced by allocate(), and peclet::dem::demSolveContacts().

◆ mlOffsDev

Kokkos::View<int*, CpMem> peclet::dem::Particles::mlOffsDev

Definition at line 308 of file particles.hpp.

Referenced by allocate(), and peclet::dem::stabilizeMultilevel().

◆ fusedBar

Kokkos::View<unsigned*, CpMem> peclet::dem::Particles::fusedBar

◆ graphCache

void* peclet::dem::Particles::graphCache[4] = {nullptr, nullptr, nullptr, nullptr}

◆ bodyWinner

Kokkos::View<long long*, CpMem> peclet::dem::Particles::bodyWinner

Definition at line 314 of file particles.hpp.

Referenced by allocate(), colorScratch(), and ensureCapacity().

◆ bodyColorMask

Kokkos::View<std::uint64_t*, CpMem> peclet::dem::Particles::bodyColorMask

Definition at line 315 of file particles.hpp.

Referenced by allocate(), colorScratch(), and ensureCapacity().

◆ asleep

Kokkos::View<unsigned char*, CpMem> peclet::dem::Particles::asleep

◆ sleepCounter

Kokkos::View<unsigned char*, CpMem> peclet::dem::Particles::sleepCounter

Definition at line 324 of file particles.hpp.

Referenced by allocate(), ensureCapacity(), and sleepState().

◆ sleepMovingWall

Kokkos::View<unsigned char*, CpMem> peclet::dem::Particles::sleepMovingWall

Definition at line 325 of file particles.hpp.

Referenced by allocate(), ensureCapacity(), and sleepState().

◆ sleepCurCount

Kokkos::View<int*, CpMem> peclet::dem::Particles::sleepCurCount

Definition at line 326 of file particles.hpp.

Referenced by allocate(), ensureCapacity(), and sleepState().

◆ sleepPrevCount

Kokkos::View<int*, CpMem> peclet::dem::Particles::sleepPrevCount

Definition at line 327 of file particles.hpp.

Referenced by allocate(), ensureCapacity(), and sleepState().

◆ invMassEff

Kokkos::View<float*, CpMem> peclet::dem::Particles::invMassEff

Definition at line 328 of file particles.hpp.

Referenced by allocate(), peclet::dem::demStep(), and ensureCapacity().

◆ manifoldSleep

Kokkos::View<unsigned char*, CpMem> peclet::dem::Particles::manifoldSleep

◆ contactSleep

Kokkos::View<unsigned char*, CpMem> peclet::dem::Particles::contactSleep

◆ sleepingEnabled

bool peclet::dem::Particles::sleepingEnabled = true

Definition at line 331 of file particles.hpp.

Referenced by peclet::dem::demStep(), and peclet::dem::islandSleepingOn().

◆ sleepScale

float peclet::dem::Particles::sleepScale = 2.0f

Definition at line 332 of file particles.hpp.

Referenced by peclet::dem::demStep().

◆ wakeScale

float peclet::dem::Particles::wakeScale = 40.0f

Definition at line 333 of file particles.hpp.

Referenced by peclet::dem::demStep().

◆ sleepK

int peclet::dem::Particles::sleepK = 64

Definition at line 336 of file particles.hpp.

Referenced by peclet::dem::demStep().

◆ sleepWakeLostContact

bool peclet::dem::Particles::sleepWakeLostContact = false

Definition at line 339 of file particles.hpp.

Referenced by peclet::dem::demStep().

◆ sleepImmovableFrac

float peclet::dem::Particles::sleepImmovableFrac = 0.01f

Definition at line 348 of file particles.hpp.

Referenced by peclet::dem::demStep().

◆ extForceActive

bool peclet::dem::Particles::extForceActive = false

Definition at line 349 of file particles.hpp.

Referenced by peclet::dem::demStep(), and peclet::dem::islandSleepingOn().

◆ extTorqueActive

bool peclet::dem::Particles::extTorqueActive = false

Definition at line 350 of file particles.hpp.

Referenced by peclet::dem::demStep(), and peclet::dem::islandSleepingOn().

◆ impRefPos

Kokkos::View<float* [3], CpMem> peclet::dem::Particles::impRefPos

Definition at line 357 of file particles.hpp.

Referenced by allocate(), ensureCapacity(), and peclet::dem::findCollisionsVerlet().

◆ impDispMax

Kokkos::View<float, CpMem> peclet::dem::Particles::impDispMax

Definition at line 358 of file particles.hpp.

Referenced by allocate().

◆ impNumPairs

int peclet::dem::Particles::impNumPairs = -1

Definition at line 359 of file particles.hpp.

Referenced by peclet::dem::findCollisionsVerlet().

◆ impRefMaxRad

float peclet::dem::Particles::impRefMaxRad = 0.0f

Definition at line 360 of file particles.hpp.

Referenced by peclet::dem::findCollisionsVerlet().

◆ verletSkinFrac

float peclet::dem::Particles::verletSkinFrac = 0.0f

Definition at line 361 of file particles.hpp.

Referenced by peclet::dem::demStep(), and peclet::dem::findCollisionsVerlet().

◆ cudaGraphs

bool peclet::dem::Particles::cudaGraphs = true

Definition at line 367 of file particles.hpp.

Referenced by peclet::dem::demSolveContacts().

◆ fusedSweeps

int peclet::dem::Particles::fusedSweeps = -1

Definition at line 368 of file particles.hpp.

Referenced by peclet::dem::demSolveContacts().

◆ incrementalColoring

bool peclet::dem::Particles::incrementalColoring = true

Definition at line 369 of file particles.hpp.

Referenced by peclet::dem::demSolveContacts().

◆ pairCount

Kokkos::View<int, CpMem> peclet::dem::Particles::pairCount

Definition at line 372 of file particles.hpp.

Referenced by allocate(), and peclet::dem::findCollisionsGrow().

◆ contactCount

Kokkos::View<int, CpMem> peclet::dem::Particles::contactCount

◆ manifoldCount

Kokkos::View<int, CpMem> peclet::dem::Particles::manifoldCount

Definition at line 372 of file particles.hpp.

Referenced by allocate(), and peclet::dem::demStep().

◆ topGhost

Kokkos::View<int, CpMem> peclet::dem::Particles::topGhost

Definition at line 372 of file particles.hpp.

Referenced by allocate(), peclet::dem::computeOverlaps(), and peclet::dem::demStep().

◆ maxOverlap

◆ posResidual

Kokkos::View<float, CpMem> peclet::dem::Particles::posResidual

◆ positionOmega

float peclet::dem::Particles::positionOmega = 1.5f

◆ maxApproach

◆ maxApproachQS

Kokkos::View<float, CpMem> peclet::dem::Particles::maxApproachQS

Definition at line 386 of file particles.hpp.

Referenced by allocate(), and peclet::dem::stabilizeMultilevel().

◆ maxConsensus

◆ shapes

Kokkos::View<ShapeDesc*, CpMem> peclet::dem::Particles::shapes

◆ shell

Kokkos::View<float* [3], CpMem> peclet::dem::Particles::shell

◆ planes

Kokkos::View<PlaneP*, CpMem> peclet::dem::Particles::planes

Definition at line 397 of file particles.hpp.

Referenced by allocate(), and peclet::dem::narrowPhaseGrow().

◆ sdfGrid

Kokkos::View<float*, CpMem> peclet::dem::Particles::sdfGrid

◆ walls

Kokkos::View<WallSdf*, CpMem> peclet::dem::Particles::walls

◆ wallGrid

Kokkos::View<float*, CpMem> peclet::dem::Particles::wallGrid

◆ wallNodes

Kokkos::View<peclet::core::geom::ShapeNode<float>*, CpMem> peclet::dem::Particles::wallNodes

Definition at line 404 of file particles.hpp.

Referenced by allocate().

◆ shapeNodes

Kokkos::View<peclet::core::geom::ShapeNode<float>*, CpMem> peclet::dem::Particles::shapeNodes

Definition at line 406 of file particles.hpp.

Referenced by allocate().

◆ capacity

int peclet::dem::Particles::capacity = 0

◆ numReal

◆ numParticles

◆ maxPairs

int peclet::dem::Particles::maxPairs = 0

Definition at line 410 of file particles.hpp.

Referenced by allocate(), and peclet::dem::findCollisionsGrow().

◆ maxContacts

int peclet::dem::Particles::maxContacts = 0

◆ numPlanes

int peclet::dem::Particles::numPlanes = 0

◆ numWalls

◆ shellPoints

int peclet::dem::Particles::shellPoints = 0

Definition at line 414 of file particles.hpp.

Referenced by peclet::dem::growContactBuffers().

◆ shellDetection

int peclet::dem::Particles::shellDetection = 0

Definition at line 418 of file particles.hpp.

Referenced by peclet::dem::growContactBuffers(), and peclet::dem::narrowPhaseGrow().

◆ wallFrictionMax

float peclet::dem::Particles::wallFrictionMax = 0.0f

Definition at line 421 of file particles.hpp.

Referenced by peclet::dem::frictionOn().

◆ domain

◆ gravity

F3 peclet::dem::Particles::gravity {0, 0, 0}

◆ dt

◆ globalScale

◆ growthRate

◆ growthFactor

float peclet::dem::Particles::growthFactor = -1.0f

Definition at line 424 of file particles.hpp.

Referenced by peclet::dem::demStep().

◆ baseRadius

float peclet::dem::Particles::baseRadius

◆ thermostatTau

float peclet::dem::Particles::thermostatTau = 0.0f

Definition at line 427 of file particles.hpp.

Referenced by peclet::dem::demStep().

◆ thermostatTemp

float peclet::dem::Particles::thermostatTemp = 0.0f

Definition at line 427 of file particles.hpp.

Referenced by peclet::dem::demStep().

◆ thermostatKB

float peclet::dem::Particles::thermostatKB = 1.0f

Definition at line 428 of file particles.hpp.

Referenced by peclet::dem::demStep().

◆ frictionDynamic

◆ restitutionNormal

◆ skin

float peclet::dem::Particles::skin = 0.1f

Definition at line 429 of file particles.hpp.

◆ restitutionTangent

◆ positionIterations

int peclet::dem::Particles::positionIterations = 10

Definition at line 433 of file particles.hpp.

Referenced by peclet::dem::runOverlapProjection().

◆ velocityIterations

◆ velocityUseGS

◆ velCopies

◆ posCopies

PhaseCopies peclet::dem::Particles::posCopies

◆ invMassSolve

◆ invInertiaSolve

Kokkos::View<float* [3], CpMem> peclet::dem::Particles::invInertiaSolve

◆ splitSlot

◆ vertexDegree

Kokkos::View<int*, CpMem> peclet::dem::Particles::vertexDegree

◆ aVel

◆ aPos

Kokkos::View<int*, CpMem> peclet::dem::Particles::aPos

Definition at line 454 of file particles.hpp.

Referenced by peclet::dem::countRankLevelActivity().

◆ kVel

◆ kPos

Kokkos::View<int*, CpMem> peclet::dem::Particles::kPos

◆ activityHit

Kokkos::View<unsigned char*, CpMem> peclet::dem::Particles::activityHit

Definition at line 455 of file particles.hpp.

Referenced by peclet::dem::countRankLevelActivity().

◆ velMask

Kokkos::View<unsigned long long*, CpMem> peclet::dem::Particles::velMask

◆ xGate

Kokkos::View<unsigned char*, CpMem> peclet::dem::Particles::xGate

◆ solveEpoch

long long peclet::dem::Particles::solveEpoch = 0

◆ invMassCoarse

Kokkos::View<float*, CpMem> peclet::dem::Particles::invMassCoarse

Definition at line 464 of file particles.hpp.

Referenced by peclet::dem::coarseVertexInvMass().

◆ invInertiaCoarse

Kokkos::View<float* [3], CpMem> peclet::dem::Particles::invInertiaCoarse

Definition at line 467 of file particles.hpp.

Referenced by peclet::dem::coarseVertexInvInertia().

◆ orphanClampCount

Kokkos::View<int, CpMem> peclet::dem::Particles::orphanClampCount

Definition at line 470 of file particles.hpp.

◆ imageShift

Kokkos::View<float* [3], CpMem> peclet::dem::Particles::imageShift

Definition at line 472 of file particles.hpp.

Referenced by peclet::dem::colorPositionPhase(), and peclet::dem::demStep().

◆ velCopiesLastSubstep

bool peclet::dem::Particles::velCopiesLastSubstep = false

Definition at line 476 of file particles.hpp.

Referenced by peclet::dem::colorVelocityPhase().

◆ splitStats

◆ mlLast

◆ iterCounters

bool peclet::dem::Particles::iterCounters = false

◆ noAdaptiveStop

bool peclet::dem::Particles::noAdaptiveStop = false

Definition at line 493 of file particles.hpp.

Referenced by peclet::dem::demSolveContacts().

◆ iterCountDev

Kokkos::View<int*, CpMem> peclet::dem::Particles::iterCountDev

Definition at line 494 of file particles.hpp.

Referenced by peclet::dem::demIterCountSlot(), and peclet::dem::demReadIterCount().

◆ debugCapture

bool peclet::dem::Particles::debugCapture = false

Definition at line 497 of file particles.hpp.

◆ debugCaptured

DebugContactCapture peclet::dem::Particles::debugCaptured

Definition at line 498 of file particles.hpp.


The documentation for this struct was generated from the following file: