Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F81400595
ping_pong_ball.cc
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, Sep 5, 20:19
Size
407 B
Mime Type
text/x-c
Expires
Sat, Sep 7, 20:19 (2 d)
Engine
blob
Format
Raw Data
Handle
20560634
Attached To
R7571 SP4E-TB-TL-FR
ping_pong_ball.cc
View Options
#include "ping_pong_ball.hh"
/* -------------------------------------------------------------------------- */
void
PingPongBall
::
printself
(
std
::
ostream
&
stream
)
const
{
Particle
::
printself
(
stream
);
stream
<<
" "
<<
radius
;
}
/* -------------------------------------------------------------------------- */
void
PingPongBall
::
initself
(
std
::
istream
&
sstr
)
{
Particle
::
initself
(
sstr
);
sstr
>>
radius
;
}
Event Timeline
Log In to Comment