www.cemf.ir
boundaryGrainInteraction< contactForceModel, geometryMotionModel > Class Template Reference
+ Inheritance diagram for boundaryGrainInteraction< contactForceModel, geometryMotionModel >:
+ Collaboration diagram for boundaryGrainInteraction< contactForceModel, geometryMotionModel >:

Public Types

using BoundaryGrainInteractionType = boundaryGrainInteraction< contactForceModel, geometryMotionModel >
 
using GeometryMotionModel = geometryMotionModel
 
using ContactForceModel = contactForceModel
 
using MotionModel = typename geometryMotionModel::MotionModel
 
using ModelStorage = typename ContactForceModel::contactForceStorage
 
using IdType = uint32
 
using IndexType = uint32
 
using ContactListType = sortedContactList< ModelStorage, DefaultExecutionSpace, IdType >
 

Public Member Functions

 TypeInfoTemplate12 ("boundaryGrainInteraction", ContactForceModel, MotionModel)
 
 boundaryGrainInteraction (const boundaryBase &boundary, const grainParticles &grnPrtcls, const GeometryMotionModel &geomMotion)
 
 create_vCtor (BoundaryGrainInteractionType, boundaryBase,(const boundaryBase &boundary, const grainParticles &grnPrtcls, const GeometryMotionModel &geomMotion),(boundary, grnPrtcls, geomMotion))
 
 add_vCtor (BoundaryGrainInteractionType, BoundaryGrainInteractionType, boundaryBase)
 
 ~boundaryGrainInteraction () override=default
 
const auto & grnParticles () const
 
const auto & geometryMotion () const
 
ContactListTypeppPairs ()
 
const ContactListTypeppPairs () const
 
ContactListTypepwPairs ()
 
const ContactListTypepwPairs () const
 
bool ppPairsAllocated () const
 
bool pwPairsAllocated () const
 
virtual bool grainGrainInteraction (real dt, const ContactForceModel &cfModel, uint32 step)
 
bool hearChanges (real t, real dt, uint32 iter, const message &msg, const anyList &varList) override
 
- Public Member Functions inherited from generalBoundary
 TypeInfo ("generalBoundary")
 
 generalBoundary (const boundaryBase &boundary, const pointStructure &pStruct, const word &dataType, const word &option)
 
 ~generalBoundary () override=default
 
uint32 thisBoundaryIndex () const
 
uint32 mirrorBoundaryindex () const
 
auto size () const
 
auto capacity () const
 
auto neighborProcSize () const
 
int neighborProcessorNo () const
 
int thisProcessorNo () const
 
const auto & boundary () const
 
const auto & indexList () const
 
const auto & mirrorBoundary () const
 
const wordboundaryName () const
 
const wordtype () const
 
const auto & pStruct () const
 
bool isBoundaryMaster () const
 
const Timetime () const
 
- Public Member Functions inherited from observer
 observer (message msg)
 
 observer (const subscriber *subscrbr, message msg)
 
virtual ~observer ()
 
void subscribe (const subscriber *subscrbr, message msg)
 
observeraddEvent (message::EVENT event)
 
bool subscribed () const
 
void addToSubscriber (const subscriber *subscrbr, message msg)
 
bool addToSubscriber (const subscriber &subscriber)
 

Static Public Member Functions

static uniquePtr< BoundaryGrainInteractionTypecreate (const boundaryBase &boundary, const grainParticles &sphPrtcls, const GeometryMotionModel &geomMotion)
 
- Static Public Member Functions inherited from observer
static constexpr auto numEvents ()
 

Protected Member Functions

void allocatePPPairs ()
 
void allocatePWPairs ()
 

Private Attributes

const GeometryMotionModelgeometryMotion_
 
const grainParticlesgrnParticles_
 const reference to sphere particles More...
 
uniquePtr< ContactListTypeppPairs_ = nullptr
 
uniquePtr< ContactListTypepwPairs_ = nullptr
 

Detailed Description

template<typename contactForceModel, typename geometryMotionModel>
class pFlow::boundaryGrainInteraction< contactForceModel, geometryMotionModel >

Definition at line 32 of file boundaryGrainInteraction.hpp.

Member Typedef Documentation

◆ BoundaryGrainInteractionType

using BoundaryGrainInteractionType = boundaryGrainInteraction<contactForceModel, geometryMotionModel>

Definition at line 39 of file boundaryGrainInteraction.hpp.

◆ GeometryMotionModel

using GeometryMotionModel = geometryMotionModel

Definition at line 41 of file boundaryGrainInteraction.hpp.

◆ ContactForceModel

using ContactForceModel = contactForceModel

Definition at line 43 of file boundaryGrainInteraction.hpp.

◆ MotionModel

using MotionModel = typename geometryMotionModel::MotionModel

Definition at line 45 of file boundaryGrainInteraction.hpp.

◆ ModelStorage

using ModelStorage = typename ContactForceModel::contactForceStorage

Definition at line 47 of file boundaryGrainInteraction.hpp.

◆ IdType

using IdType = uint32

Definition at line 49 of file boundaryGrainInteraction.hpp.

◆ IndexType

using IndexType = uint32

Definition at line 51 of file boundaryGrainInteraction.hpp.

◆ ContactListType

Constructor & Destructor Documentation

◆ boundaryGrainInteraction()

boundaryGrainInteraction ( const boundaryBase boundary,
const grainParticles grnPrtcls,
const GeometryMotionModel geomMotion 
)

Definition at line 38 of file boundaryGrainInteraction.cpp.

◆ ~boundaryGrainInteraction()

~boundaryGrainInteraction ( )
overridedefault

Member Function Documentation

◆ allocatePPPairs()

void allocatePPPairs
protected

◆ allocatePWPairs()

void allocatePWPairs
protected

◆ TypeInfoTemplate12()

TypeInfoTemplate12 ( "boundaryGrainInteraction< contactForceModel, geometryMotionModel >"  ,
ContactForceModel  ,
MotionModel   
)

◆ create_vCtor()

create_vCtor ( BoundaryGrainInteractionType  ,
boundaryBase  ,
(const boundaryBase &boundary, const grainParticles &grnPrtcls, const GeometryMotionModel &geomMotion)  ,
(boundary, grnPrtcls, geomMotion)   
)

◆ add_vCtor()

◆ grnParticles()

const auto& grnParticles ( ) const
inline

◆ geometryMotion()

◆ ppPairs() [1/2]

◆ ppPairs() [2/2]

◆ pwPairs() [1/2]

◆ pwPairs() [2/2]

◆ ppPairsAllocated()

bool ppPairsAllocated ( ) const
inline

◆ pwPairsAllocated()

bool pwPairsAllocated ( ) const
inline

◆ grainGrainInteraction()

virtual bool grainGrainInteraction ( real  dt,
const ContactForceModel cfModel,
uint32  step 
)
inlinevirtual

◆ hearChanges()

bool hearChanges ( real  t,
real  dt,
uint32  iter,
const message msg,
const anyList varList 
)
inlineoverridevirtual

Implements observer.

Definition at line 158 of file boundaryGrainInteraction.hpp.

References generalBoundary::boundaryName(), pFlow::endl(), pFlow::pOutput, and generalBoundary::type().

+ Here is the call graph for this function:

◆ create()

pFlow::uniquePtr< pFlow::boundaryGrainInteraction< cFM, gMM > > create ( const boundaryBase boundary,
const grainParticles sphPrtcls,
const GeometryMotionModel geomMotion 
)
static

Member Data Documentation

◆ geometryMotion_

◆ grnParticles_

const grainParticles& grnParticles_
private

const reference to sphere particles

Definition at line 61 of file boundaryGrainInteraction.hpp.

Referenced by boundaryGrainInteraction< contactForceModel, geometryMotionModel >::grnParticles().

◆ ppPairs_

◆ pwPairs_


The documentation for this class was generated from the following files: