Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92005504
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
Sat, Nov 16, 13:28
Size
638 B
Mime Type
text/x-c++
Expires
Mon, Nov 18, 13:28 (2 d)
Engine
blob
Format
Raw Data
Handle
22342293
Attached To
R9316 Omid_Ashtari
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