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

Public Types

using BoundarySphereInteractionType = boundarySphereInteraction< 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 ("boundarySphereInteraction", ContactForceModel, MotionModel)
 
 boundarySphereInteraction (const boundaryBase &boundary, const sphereParticles &sphPrtcls, const GeometryMotionModel &geomMotion)
 
 create_vCtor (BoundarySphereInteractionType, boundaryBase,(const boundaryBase &boundary, const sphereParticles &sphPrtcls, const GeometryMotionModel &geomMotion),(boundary, sphPrtcls, geomMotion))
 
 add_vCtor (BoundarySphereInteractionType, BoundarySphereInteractionType, boundaryBase)
 
 ~boundarySphereInteraction () override=default
 
const auto & sphParticles () const
 
const auto & geometryMotion () const
 
ContactListType & ppPairs ()
 
const ContactListType & ppPairs () const
 
ContactListType & pwPairs ()
 
const ContactListType & pwPairs () const
 
bool ppPairsAllocated () const
 
bool pwPairsAllocated () const
 
virtual bool sphereSphereInteraction (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 word & boundaryName () const
 
const word & type () const
 
const auto & pStruct () const
 
bool isBoundaryMaster () const
 
const Time & time () 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)
 
observer & addEvent (message::EVENT event)
 
bool subscribed () const
 
void addToSubscriber (const subscriber *subscrbr, message msg)
 
bool addToSubscriber (const subscriber &subscriber)
 

Static Public Member Functions

static uniquePtr< BoundarySphereInteractionType > create (const boundaryBase &boundary, const sphereParticles &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 GeometryMotionModel & geometryMotion_
 
const sphereParticles & sphParticles_
 const reference to sphere particles More...
 
uniquePtr< ContactListType > ppPairs_ = nullptr
 
uniquePtr< ContactListType > pwPairs_ = nullptr
 

Detailed Description

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

Definition at line 32 of file boundarySphereInteraction.hpp.

Member Typedef Documentation

◆ BoundarySphereInteractionType

using BoundarySphereInteractionType = boundarySphereInteraction<contactForceModel, geometryMotionModel>

Definition at line 39 of file boundarySphereInteraction.hpp.

◆ GeometryMotionModel

using GeometryMotionModel = geometryMotionModel

Definition at line 41 of file boundarySphereInteraction.hpp.

◆ ContactForceModel

using ContactForceModel = contactForceModel

Definition at line 43 of file boundarySphereInteraction.hpp.

◆ MotionModel

using MotionModel = typename geometryMotionModel::MotionModel

Definition at line 45 of file boundarySphereInteraction.hpp.

◆ ModelStorage

using ModelStorage = typename ContactForceModel::contactForceStorage

Definition at line 47 of file boundarySphereInteraction.hpp.

◆ IdType

using IdType = uint32

Definition at line 49 of file boundarySphereInteraction.hpp.

◆ IndexType

using IndexType = uint32

Definition at line 51 of file boundarySphereInteraction.hpp.

◆ ContactListType

Constructor & Destructor Documentation

◆ boundarySphereInteraction()

boundarySphereInteraction ( const boundaryBase &  boundary,
const sphereParticles &  sphPrtcls,
const GeometryMotionModel &  geomMotion 
)

Definition at line 38 of file boundarySphereInteraction.cpp.

◆ ~boundarySphereInteraction()

~boundarySphereInteraction ( )
overridedefault

Member Function Documentation

◆ allocatePPPairs()

void allocatePPPairs
protected

◆ allocatePWPairs()

void allocatePWPairs
protected

◆ TypeInfoTemplate12()

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

◆ create_vCtor()

create_vCtor ( BoundarySphereInteractionType  ,
boundaryBase  ,
(const boundaryBase &boundary, const sphereParticles &sphPrtcls, const GeometryMotionModel &geomMotion)  ,
(boundary, sphPrtcls, geomMotion)   
)

◆ add_vCtor()

◆ sphParticles()

const auto& sphParticles ( ) 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

◆ sphereSphereInteraction()

virtual bool sphereSphereInteraction ( 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 boundarySphereInteraction.hpp.

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

+ Here is the call graph for this function:

◆ create()

pFlow::uniquePtr< pFlow::boundarySphereInteraction< cFM, gMM > > create ( const boundaryBase &  boundary,
const sphereParticles &  sphPrtcls,
const GeometryMotionModel &  geomMotion 
)
static

Member Data Documentation

◆ geometryMotion_

◆ sphParticles_

const sphereParticles& sphParticles_
private

const reference to sphere particles

Definition at line 61 of file boundarySphereInteraction.hpp.

Referenced by boundarySphereInteraction< contactForceModel, geometryMotionModel >::sphParticles().

◆ ppPairs_

◆ pwPairs_


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