00001 /************************************************************************* 00002 * Copyright (C) 2011 by Saleh Dindar and the Swarm-NG Development Team * 00003 * * 00004 * This program is free software; you can redistribute it and/or modify * 00005 * it under the terms of the GNU General Public License as published by * 00006 * the Free Software Foundation; either version 3 of the License. * 00007 * * 00008 * This program is distributed in the hope that it will be useful, * 00009 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00010 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00011 * GNU General Public License for more details. * 00012 * * 00013 * You should have received a copy of the GNU General Public License * 00014 * along with this program; if not, write to the * 00015 * Free Software Foundation, Inc., * 00016 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 00017 ************************************************************************/ 00018 00024 #include "propagators/mvs.hpp" 00025 #include "monitors/composites.hpp" 00026 #include "monitors/stop_on_ejection.hpp" 00027 #include "monitors/log_time_interval.hpp" 00028 #include "swarm/gpu/gravitation_acc.hpp" 00029 00031 typedef gpulog::device_log L; 00032 using namespace swarm::monitors; 00033 using namespace swarm::gpu::bppt; 00034 using swarm::integrator_plugin_initializer; 00035 00037 integrator_plugin_initializer< generic< MVSPropagator, stop_on_ejection<L>, GravitationAcc > > 00038 mvs_prop_plugin("mvs" 00039 ,"This is the integrator based on mvs propagator"); 00040 00042 integrator_plugin_initializer< generic< MVSPropagator, stop_on_ejection_or_close_encounter<L>, GravitationAcc > > 00043 mvs_prop_ce_plugin("mvs_close_encounter" 00044 ,"This is the integrator based on mvs propagator, monitor stop_on_ejection_or_close_encounter"); 00045 00046