Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F94112491
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
Wed, Dec 4, 00:34
Size
1 KB
Mime Type
text/x-c++
Expires
Fri, Dec 6, 00:34 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22737894
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
;
double
kineticEnergy
()
const
;
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