Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F79311060
system.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
Sun, Aug 25, 18:42
Size
453 B
Mime Type
text/x-c
Expires
Tue, Aug 27, 18:42 (1 d, 22 h)
Engine
blob
Format
Raw Data
Handle
20173707
Attached To
R7571 SP4E-TB-TL-FR
system.cc
View Options
#include "system.hh"
Particle
&
System
::
getParticle
(
UInt
i
)
{
return
*
list_particles
.
at
(
i
);
}
/* -------------------------------------------------------------------------- */
void
System
::
addParticle
(
const
std
::
shared_ptr
<
Particle
>&
new_particle
)
{
list_particles
.
push_back
(
new_particle
);
}
/* -------------------------------------------------------------------------- */
UInt
System
::
getNbParticles
()
{
return
list_particles
.
size
();
}
Event Timeline
Log In to Comment