walberla::pe::cr::DEMSolver< Integrator, ContactResolver > Class Template Reference

#include <DEM.h>

+ Inheritance diagram for walberla::pe::cr::DEMSolver< Integrator, ContactResolver >:

Public Member Functions

 DEMSolver (const Integrator &integrate, const ContactResolver &resolveContact, const shared_ptr< BodyStorage > &globalBodyStorage, const shared_ptr< BlockStorage > &blockStorage, domain_decomposition::BlockDataID storageID, domain_decomposition::BlockDataID ccdID, domain_decomposition::BlockDataID fcdID, WcTimingTree *tt=nullptr)
 
void operator() (const real_t dt)
 forwards to timestep Convenience operator to make class a functor. More...
 
void timestep (const real_t dt) override
 Advances the simulation dt seconds. More...
 
Integrator getIntegrator () const
 
ContactResolver getContactResolver () const
 
real_t getMaximumPenetration () const override
 
size_t getNumberOfContacts () const override
 
size_t getNumberOfContactsTreated () const override
 
- Public Member Functions inherited from walberla::pe::cr::ICR
 ICR ()
 
virtual ~ICR ()=default
 
void setGlobalLinearAcceleration (const Vec3 &acc)
 Sets the global linear acceleration. More...
 
const Vec3getGlobalLinearAcceleration () const
 

Private Attributes

Integrator integrate_
 
ContactResolver resolveContact_
 
shared_ptr< BodyStorageglobalBodyStorage_
 
shared_ptr< BlockStorageblockStorage_
 
domain_decomposition::BlockDataID storageID_
 
domain_decomposition::BlockDataID ccdID_
 
domain_decomposition::BlockDataID fcdID_
 
WcTimingTreett_
 
real_t maxPenetration_
 
size_t numberOfContacts_
 
size_t numberOfContactsTreated_
 

Constructor & Destructor Documentation

◆ DEMSolver()

template<typename Integrator , typename ContactResolver >
walberla::pe::cr::DEMSolver< Integrator, ContactResolver >::DEMSolver ( const Integrator &  integrate,
const ContactResolver &  resolveContact,
const shared_ptr< BodyStorage > &  globalBodyStorage,
const shared_ptr< BlockStorage > &  blockStorage,
domain_decomposition::BlockDataID  storageID,
domain_decomposition::BlockDataID  ccdID,
domain_decomposition::BlockDataID  fcdID,
WcTimingTree tt = nullptr 
)

Member Function Documentation

◆ getContactResolver()

template<typename Integrator , typename ContactResolver >
ContactResolver walberla::pe::cr::DEMSolver< Integrator, ContactResolver >::getContactResolver ( ) const
inline

◆ getIntegrator()

template<typename Integrator , typename ContactResolver >
Integrator walberla::pe::cr::DEMSolver< Integrator, ContactResolver >::getIntegrator ( ) const
inline

◆ getMaximumPenetration()

template<typename Integrator , typename ContactResolver >
real_t walberla::pe::cr::DEMSolver< Integrator, ContactResolver >::getMaximumPenetration ( ) const
inlineoverridevirtual

Reimplemented from walberla::pe::cr::ICR.

◆ getNumberOfContacts()

template<typename Integrator , typename ContactResolver >
size_t walberla::pe::cr::DEMSolver< Integrator, ContactResolver >::getNumberOfContacts ( ) const
inlineoverridevirtual

Reimplemented from walberla::pe::cr::ICR.

◆ getNumberOfContactsTreated()

template<typename Integrator , typename ContactResolver >
size_t walberla::pe::cr::DEMSolver< Integrator, ContactResolver >::getNumberOfContactsTreated ( ) const
inlineoverridevirtual

Reimplemented from walberla::pe::cr::ICR.

◆ operator()()

template<typename Integrator , typename ContactResolver >
void walberla::pe::cr::DEMSolver< Integrator, ContactResolver >::operator() ( const real_t  dt)
inline

forwards to timestep Convenience operator to make class a functor.

◆ timestep()

template<typename Integrator , typename ContactResolver >
void walberla::pe::cr::DEMSolver< Integrator, ContactResolver >::timestep ( const real_t  dt)
overridevirtual

Advances the simulation dt seconds.

Implements walberla::pe::cr::ICR.

Member Data Documentation

◆ blockStorage_

template<typename Integrator , typename ContactResolver >
shared_ptr<BlockStorage> walberla::pe::cr::DEMSolver< Integrator, ContactResolver >::blockStorage_
private

◆ ccdID_

template<typename Integrator , typename ContactResolver >
domain_decomposition::BlockDataID walberla::pe::cr::DEMSolver< Integrator, ContactResolver >::ccdID_
private

◆ fcdID_

template<typename Integrator , typename ContactResolver >
domain_decomposition::BlockDataID walberla::pe::cr::DEMSolver< Integrator, ContactResolver >::fcdID_
private

◆ globalBodyStorage_

template<typename Integrator , typename ContactResolver >
shared_ptr<BodyStorage> walberla::pe::cr::DEMSolver< Integrator, ContactResolver >::globalBodyStorage_
private

◆ integrate_

template<typename Integrator , typename ContactResolver >
Integrator walberla::pe::cr::DEMSolver< Integrator, ContactResolver >::integrate_
private

◆ maxPenetration_

template<typename Integrator , typename ContactResolver >
real_t walberla::pe::cr::DEMSolver< Integrator, ContactResolver >::maxPenetration_
private

◆ numberOfContacts_

template<typename Integrator , typename ContactResolver >
size_t walberla::pe::cr::DEMSolver< Integrator, ContactResolver >::numberOfContacts_
private

◆ numberOfContactsTreated_

template<typename Integrator , typename ContactResolver >
size_t walberla::pe::cr::DEMSolver< Integrator, ContactResolver >::numberOfContactsTreated_
private

◆ resolveContact_

template<typename Integrator , typename ContactResolver >
ContactResolver walberla::pe::cr::DEMSolver< Integrator, ContactResolver >::resolveContact_
private

◆ storageID_

template<typename Integrator , typename ContactResolver >
domain_decomposition::BlockDataID walberla::pe::cr::DEMSolver< Integrator, ContactResolver >::storageID_
private

◆ tt_

template<typename Integrator , typename ContactResolver >
WcTimingTree* walberla::pe::cr::DEMSolver< Integrator, ContactResolver >::tt_
private

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