Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F97651335
pendulecoupl.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
Mon, Jan 6, 02:18
Size
986 B
Mime Type
text/x-c++
Expires
Wed, Jan 8, 02:18 (2 d)
Engine
blob
Format
Raw Data
Handle
23441779
Attached To
rSYMKIT symkit
pendulecoupl.h
View Options
#ifndef PENDULECOUPL_H
#define PENDULECOUPL_H
#include "pendparticle.h"
#include "actors/particlesystem.h"
#include "vector.h"
/* Forward declaration */
class PendParticle;
class PenduleC1;
class PenduleC2;
class GLModel;
class PenduleCoupl : public ParticleSystem
{
public:
/* Constructor and Destructor */
PenduleCoupl(GLModel * model);
~PenduleCoupl();
/* initialize function */
//virtual void initialize() override;
virtual void render(symkit::render_s &) override;
double energy() const;
private:
/* Descriptors */
PenduleC1 * pendulec1;
PenduleC2 * pendulec2;
/* Particles */
PendParticle * pend1;
PendParticle * pend2;
/* Initialization values */
static const Vector p1;
static const Vector p_prime1;
static const Vector p2;
static const Vector p_prime2;
static const double l1;
static const double m1;
static const double l2;
static const double m2;
};
#endif // PENDULEC_H
Event Timeline
Log In to Comment