Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F95092128
pendules.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, 19:20
Size
1 KB
Mime Type
text/x-c++
Expires
Sat, Dec 14, 19:20 (2 d)
Engine
blob
Format
Raw Data
Handle
22915858
Attached To
rSYMKIT symkit
pendules.h
View Options
#ifndef PENDULES_H_
#define PENDULES_H_
#include "descriptors/oscillateursimple.h"
class
PenduleS
:
public
OscillateurSimple
{
public:
/* Constructeurs */
PenduleS
(
const
Vector
&
p
,
const
Vector
&
p_prime
,
const
double
&
l
,
const
double
&
m
,
const
double
&
fr
=
0
,
const
double
&
g
=
9.81
,
integral_operation
op
=
NEWMARK
);
PenduleS
(
const
std
::
vector
<
double
>&
p
,
const
std
::
vector
<
double
>&
p_prime
,
const
double
&
l
,
const
double
&
m
,
const
double
&
fr
=
0
,
const
double
&
g
=
9.81
,
integral_operation
op
=
NEWMARK
);
/* Accesseurs */
double
getg
()
const
;
double
getl
()
const
;
double
getfr
()
const
;
double
getm
()
const
;
/* Manipulateurs */
void
setg
(
const
double
&
);
void
setfr
(
const
double
&
);
void
setl
(
const
double
&
);
void
setm
(
const
double
&
);
/* Convertit position en un SVector<3> pour l'implementation graphique */
virtual
SVector
<
3
>
cartesiennes
()
const
override
;
private:
double
g
;
double
fr
;
double
l
;
double
m
;
/* Equation caractérisant le mouvement d'un Pendule Simple */
virtual
Vector
equation
()
const
override
;
};
#endif
Event Timeline
Log In to Comment