51 #define SYNC cudaThreadSynchronize()
54 using namespace swarm;
59 const double destination_time = 5 * 2 * M_PI ;
62 const char * config_pairs[5][2] = {
63 {
"integrator" ,
"hermite" }
64 ,{
"time_step",
"0.001" }
65 ,{
"log_writer",
"null" }
74 config cfg( config_pairs );
77 int main(
int argc,
char* argv[]){
100 integ->set_ensemble(ens);
102 integ->set_destination_time ( destination_time );
120 std::cout <<
"Max Energy Conservation Error = " << max_deltaE << std::endl;