walberla::pe::cr::ICR Class Referenceabstract

#include <ICR.h>

+ Inheritance diagram for walberla::pe::cr::ICR:

Public Member Functions

 ICR ()
 
virtual ~ICR ()
 
virtual void timestep (const real_t dt)=0
 
void setGlobalLinearAcceleration (const Vec3 &acc)
 Sets the global linear acceleration. More...
 
const Vec3getGlobalLinearAcceleration () const
 
virtual real_t getMaximumPenetration () const
 
virtual size_t getNumberOfContacts () const
 
virtual size_t getNumberOfContactsTreated () const
 

Private Attributes

Vec3 globalLinearAcceleration_
 

Constructor & Destructor Documentation

◆ ICR()

walberla::pe::cr::ICR::ICR ( )
inline

◆ ~ICR()

virtual walberla::pe::cr::ICR::~ICR ( )
inlinevirtual

Member Function Documentation

◆ getGlobalLinearAcceleration()

const Vec3& walberla::pe::cr::ICR::getGlobalLinearAcceleration ( ) const
inline

◆ getMaximumPenetration()

real_t walberla::pe::cr::ICR::getMaximumPenetration ( ) const
inlinevirtual

◆ getNumberOfContacts()

size_t walberla::pe::cr::ICR::getNumberOfContacts ( ) const
inlinevirtual

◆ getNumberOfContactsTreated()

size_t walberla::pe::cr::ICR::getNumberOfContactsTreated ( ) const
inlinevirtual

◆ setGlobalLinearAcceleration()

void walberla::pe::cr::ICR::setGlobalLinearAcceleration ( const Vec3 acc)
inline

Sets the global linear acceleration.

This can be used for example to set a gravitational force.

◆ timestep()

Member Data Documentation

◆ globalLinearAcceleration_

Vec3 walberla::pe::cr::ICR::globalLinearAcceleration_
private

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