Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102755272
main.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, Feb 23, 20:58
Size
777 B
Mime Type
text/x-c
Expires
Tue, Feb 25, 20:58 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24422067
Attached To
R7571 SP4E-TB-TL-FR
main.cc
View Options
#include "compute_gravity.hh"
#include "compute_verlet_integration.hh"
#include "csv_reader.hh"
#include "csv_writer.hh"
#include "my_types.hh"
#include "ping_pong_balls_factory.hh"
#include "planets_factory.hh"
#include "system.hh"
/* -------------------------------------------------------------------------- */
#include <cstdlib>
#include <iostream>
#include <sstream>
/* -------------------------------------------------------------------------- */
int
main
(
int
argc
,
char
**
argv
)
{
if
(
argc
!=
6
)
{
std
::
cout
<<
"Usage: "
<<
argv
[
0
]
<<
" nsteps dump_freq input.csv particle_type timestep"
<<
std
::
endl
;
std
::
cout
<<
"
\t
particle type can be: planet, ping_pong"
<<
std
::
endl
;
std
::
exit
(
EXIT_FAILURE
);
}
return
EXIT_SUCCESS
;
}
Event Timeline
Log In to Comment