Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F71437026
compute_interaction.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, Jul 11, 20:13
Size
562 B
Mime Type
text/x-c++
Expires
Sat, Jul 13, 20:13 (2 d)
Engine
blob
Format
Raw Data
Handle
18951515
Attached To
R7571 SP4E-TB-TL-FR
compute_interaction.hh
View Options
#ifndef __COMPUTE_INTERACTION__HH__
#define __COMPUTE_INTERACTION__HH__
/* -------------------------------------------------------------------------- */
#include "compute.hh"
//! Base class for interaction computation
class ComputeInteraction : public Compute {
public:
void compute(System& system) override;
//! Compute interaction for a pair of particles
virtual void computePairInteraction(Particle& par1, Particle& par2) = 0;
};
/* -------------------------------------------------------------------------- */
#endif //__COMPUTE_INTERACTION__HH__
Event Timeline
Log In to Comment