www.cemf.ir
pwInteractionFunctor< ContactForceModel, ContactListType, TraingleAccessor, MotionModel > Struct Template Reference
+ Collaboration diagram for pwInteractionFunctor< ContactForceModel, ContactListType, TraingleAccessor, MotionModel >:

Public Types

using PairType = typename ContactListType::PairType
 
using ValueType = typename ContactListType::ValueType
 

Public Member Functions

 pwInteractionFunctor (real dt, ContactForceModel forceModel, ContactListType tobeFilled, TraingleAccessor triangles, MotionModel motionModel, deviceViewType1D< real > diam, deviceViewType1D< real > coarseGrainFactor, deviceViewType1D< uint32 > propId, deviceViewType1D< realx3 > pos, deviceViewType1D< realx3 > lVel, deviceViewType1D< realx3 > rVel, deviceViewType1D< realx3 > cForce, deviceViewType1D< realx3 > cTorque, deviceViewType1D< uint32 > wTriMotionIndex, deviceViewType1D< uint32 > wPropId, deviceViewType1D< realx3 > wCForce)
 
INLINE_FUNCTION_HD void operator() (const int32 n) const
 

Public Attributes

real dt_
 
ContactForceModel forceModel_
 
ContactListType tobeFilled_
 
TraingleAccessor triangles_
 
MotionModel motionModel_
 
deviceViewType1D< realdiam_
 
deviceViewType1D< realcoarseGrainFactor_
 
deviceViewType1D< uint32propId_
 
deviceViewType1D< realx3pos_
 
deviceViewType1D< realx3lVel_
 
deviceViewType1D< realx3rVel_
 
deviceViewType1D< realx3cForce_
 
deviceViewType1D< realx3cTorque_
 
deviceViewType1D< uint32wTriMotionIndex_
 
deviceViewType1D< uint32wPropId_
 
deviceViewType1D< realx3wCForce_
 

Detailed Description

template<typename ContactForceModel, typename ContactListType, typename TraingleAccessor, typename MotionModel>
struct pFlow::grainInteractionKernels::pwInteractionFunctor< ContactForceModel, ContactListType, TraingleAccessor, MotionModel >

Definition at line 177 of file grainInteractionKernels.hpp.

Member Typedef Documentation

◆ PairType

using PairType = typename ContactListType::PairType

Definition at line 179 of file grainInteractionKernels.hpp.

◆ ValueType

using ValueType = typename ContactListType::ValueType

Definition at line 180 of file grainInteractionKernels.hpp.

Constructor & Destructor Documentation

◆ pwInteractionFunctor()

pwInteractionFunctor ( real  dt,
ContactForceModel  forceModel,
ContactListType  tobeFilled,
TraingleAccessor  triangles,
MotionModel  motionModel,
deviceViewType1D< real diam,
deviceViewType1D< real coarseGrainFactor,
deviceViewType1D< uint32 propId,
deviceViewType1D< realx3 pos,
deviceViewType1D< realx3 lVel,
deviceViewType1D< realx3 rVel,
deviceViewType1D< realx3 cForce,
deviceViewType1D< realx3 cTorque,
deviceViewType1D< uint32 wTriMotionIndex,
deviceViewType1D< uint32 wPropId,
deviceViewType1D< realx3 wCForce 
)
inline

Definition at line 203 of file grainInteractionKernels.hpp.

Member Function Documentation

◆ operator()()

INLINE_FUNCTION_HD void operator() ( const int32  n) const
inline

Definition at line 240 of file grainInteractionKernels.hpp.

References pwInteractionFunctor< ContactForceModel, ContactListType, TraingleAccessor, MotionModel >::cForce_, pwInteractionFunctor< ContactForceModel, ContactListType, TraingleAccessor, MotionModel >::coarseGrainFactor_, cross(), pwInteractionFunctor< ContactForceModel, ContactListType, TraingleAccessor, MotionModel >::cTorque_, pwInteractionFunctor< ContactForceModel, ContactListType, TraingleAccessor, MotionModel >::diam_, pwInteractionFunctor< ContactForceModel, ContactListType, TraingleAccessor, MotionModel >::dt_, pwInteractionFunctor< ContactForceModel, ContactListType, TraingleAccessor, MotionModel >::forceModel_, pFlow::grnTriInteraction::isGrainInContactBothSides(), pwInteractionFunctor< ContactForceModel, ContactListType, TraingleAccessor, MotionModel >::lVel_, pwInteractionFunctor< ContactForceModel, ContactListType, TraingleAccessor, MotionModel >::motionModel_, n, pwInteractionFunctor< ContactForceModel, ContactListType, TraingleAccessor, MotionModel >::pos_, pwInteractionFunctor< ContactForceModel, ContactListType, TraingleAccessor, MotionModel >::propId_, pwInteractionFunctor< ContactForceModel, ContactListType, TraingleAccessor, MotionModel >::rVel_, pwInteractionFunctor< ContactForceModel, ContactListType, TraingleAccessor, MotionModel >::tobeFilled_, pwInteractionFunctor< ContactForceModel, ContactListType, TraingleAccessor, MotionModel >::triangles_, pwInteractionFunctor< ContactForceModel, ContactListType, TraingleAccessor, MotionModel >::wCForce_, pwInteractionFunctor< ContactForceModel, ContactListType, TraingleAccessor, MotionModel >::wPropId_, pwInteractionFunctor< ContactForceModel, ContactListType, TraingleAccessor, MotionModel >::wTriMotionIndex_, triple< T >::x_, triple< T >::y_, and triple< T >::z_.

+ Here is the call graph for this function:

Member Data Documentation

◆ dt_

◆ forceModel_

◆ tobeFilled_

◆ triangles_

◆ motionModel_

◆ diam_

◆ coarseGrainFactor_

◆ propId_

◆ pos_

◆ lVel_

◆ rVel_

◆ cForce_

◆ cTorque_

◆ wTriMotionIndex_

◆ wPropId_

◆ wCForce_


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