Swarm-NG
1.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
tutorial_propagator_plugin.cu
Go to the documentation of this file.
1
7
// This is the .cu file where you define the plugin
8
//
9
//
10
#include "
tutorial_propagator.hpp
"
11
#include "
monitors/stop_on_ejection.hpp
"
12
#include "
swarm/gpu/gravitation_accjerk.hpp
"
13
14
typedef
gpulog::device_log
L
;
15
using namespace
swarm::monitors;
16
using
swarm::integrator_plugin_initializer
;
17
18
19
// The generic is the generic integrator. It takes three parameters:
20
// an integrator, a monitor and an implementation of gravitational force
21
// calculation.
22
integrator_plugin_initializer< generic< TutorialPropagator, stop_on_ejection<L>
, GravitationAccJerk > >
23
tutorial_prop_plugin(
"tutorial"
24
,
"This is the integrator based on tutorial propagator"
);
25
26
27
// For complete listing of these two files look at \ref src/tutorials/tutorial_propagator.hpp and \ref src/tutorials/tutorial_propagator_plugin.cu
swarm
src
tutorials
tutorial_propagator_plugin.cu
Generated on Sun Jul 21 2013 11:11:54 for Swarm-NG by
1.8.4