Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F95105184
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
Thu, Dec 12, 21:55
Size
986 B
Mime Type
text/x-c++
Expires
Sat, Dec 14, 21:55 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22915831
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