Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F95218286
pendulecp2.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
Fri, Dec 13, 20:18
Size
1 KB
Mime Type
text/x-c++
Expires
Sun, Dec 15, 20:18 (2 d)
Engine
blob
Format
Raw Data
Handle
22933767
Attached To
rSYMKIT symkit
pendulecp2.h
View Options
#ifndef PENDULECP2_H
#define PENDULECP2_H
#include "descriptors/oscillateur.h"
class
PenduleCp2
:
public
Oscillateur
{
public:
/* Constructeurs */
PenduleCp2
(
const
Vector
&
p
,
const
Vector
&
p_p
,
const
double
&
l1
,
const
double
&
l2
,
const
double
&
m1
,
const
double
&
m2
,
const
double
&
g
=
9.81
,
integral_operation
op
=
NEWMARK
);
PenduleCp2
(
const
std
::
vector
<
double
>&
p
,
const
std
::
vector
<
double
>&
p_p
,
const
double
&
l1
,
const
double
&
l2
,
const
double
&
m1
,
const
double
&
m2
,
const
double
&
g
=
9.81
,
integral_operation
op
=
NEWMARK
);
/* Accesseurs */
double
getl1
()
const
;
double
getl2
()
const
;
double
getm1
()
const
;
double
getm2
()
const
;
double
getg
()
const
;
/* Manipulateurs */
void
setl1
(
const
double
&
);
void
setl2
(
const
double
&
);
void
setm1
(
const
double
&
);
void
setm2
(
const
double
&
);
void
setg
(
const
double
&
);
/* Convertit position en un SVector<3> pour l'implementation graphique */
virtual
SVector
<
3
>
cartesiennes
()
const
override
;
SVector
<
3
>
cartesiennes2
()
const
;
private:
double
l1
;
double
l2
;
double
m1
;
double
m2
;
double
g
;
/* Equation caractérisant le mouvement d'un Pendule Couplé */
virtual
Vector
equation
()
const
override
;
};
#endif
// PENDULECP2_H
Event Timeline
Log In to Comment