Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F95014605
interactingsystem.h
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, Dec 12, 04:12
Size
584 B
Mime Type
text/x-c++
Expires
Sat, Dec 14, 04:12 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
22915791
Attached To
rSYMKIT symkit
interactingsystem.h
View Options
#ifndef PARTICLESYSTEM_H
#define PARTICLESYSTEM_H
#include "actors/systems/particlesystem.h"
class InteractingSystem : public ParticleSystem
{
public:
/*
* Two times update call, for each particle
* updateForces then evolve
*/
virtual void evolve(float) override;
/*
* Overriding this methods allows to check
* the type of the entries
*/
virtual void attach(Particle *) override;
/*
* Interaction function between two particles
*/
virtual void interaction(Particle*, Particle*) = 0;
};
#endif // PARTICLESYSTEM_H
Event Timeline
Log In to Comment