Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F76391562
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
Wed, Aug 7, 17:20
Size
669 B
Mime Type
text/x-c++
Expires
Fri, Aug 9, 17:20 (2 d)
Engine
blob
Format
Raw Data
Handle
19659109
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
computePairInteraction
(
Particle
&
par1
,
Particle
&
par2
)
override
;
// Accessors
public
:
//! Set penalty
void
setPenalty
(
Real
penalty
);
// Members
protected
:
Real
penalty
;
};
/* -------------------------------------------------------------------------- */
#endif
//__COMPUTE_CONTACT__HH__
Event Timeline
Log In to Comment