36 lines
603 B
C++
36 lines
603 B
C++
//
|
|
// main.cpp
|
|
// mc_electron
|
|
//
|
|
// Created by Christian Reiling on 20.09.18.
|
|
// Copyright © 2018 Christian Reiling. All rights reserved.
|
|
//
|
|
|
|
#include "simulation.h"
|
|
#include "tests.h"
|
|
|
|
#ifdef DEBUG
|
|
#define Debug( x ) std::cout << x << std::endl;
|
|
#else
|
|
#define Debug( x )
|
|
#endif
|
|
|
|
|
|
int main(int argc, const char * argv[]) {
|
|
Debug("Debug Mode is on.")
|
|
|
|
runTests();
|
|
/*
|
|
std::clock_t start;
|
|
double duration;
|
|
start = std::clock();
|
|
|
|
Simulation Sim;
|
|
Sim.initLogger();
|
|
Sim.doit();
|
|
|
|
duration = ( std::clock() - start ) / (double) CLOCKS_PER_SEC;
|
|
std::cout<<"Duration: "<< duration <<'\n';
|
|
*/
|
|
}
|