Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102770831
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
Mon, Feb 24, 00:50
Size
638 B
Mime Type
text/x-c++
Expires
Wed, Feb 26, 00:50 (1 d, 16 h)
Engine
blob
Format
Raw Data
Handle
24319121
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