Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F81390400
compute_contact.hh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Sep 5, 18:14
Size
638 B
Mime Type
text/x-c++
Expires
Sat, Sep 7, 18:14 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
19876172
Attached To
R7571 SP4E-TB-TL-FR
compute_contact.hh
View Options
#ifndef __COMPUTE_CONTACT__HH__
#define __COMPUTE_CONTACT__HH__
/* -------------------------------------------------------------------------- */
#include "compute_interaction.hh"
//! Compute contact interaction between ping-pong balls
class ComputeContact : public ComputeInteraction {
// Virtual implementation
public:
//! Penalty contact implementation
void compute(System& system) override;
// Accessors
public:
//! Set penalty
void setPenalty(Real penalty);
// Members
protected:
Real penalty;
};
/* -------------------------------------------------------------------------- */
#endif //__COMPUTE_CONTACT__HH__
Event Timeline
Log In to Comment