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

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

Member Function Documentation

const Vec3& walberla::pe::cr::ICR::getGlobalLinearAcceleration ( ) const
inline
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.

Member Data Documentation

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

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