// // tests.h // mc_electron // // Created by Christian Reiling on 17.10.18. // Copyright © 2018 Christian Reiling. All rights reserved. // #ifndef tests_h #define tests_h #include #include "simulation.h" void runTests(); class TestSimulation: public Simulation { public: ~TestSimulation(){} TestSimulation() : Simulation(){}; void injection (int numParticles, string outputFilePath); void decaySpectrum (int numPoints, string outputFilePath); void rejectionBetaDecay(int numDecays, string outputFilePath); void maxwellBoltzmann(int numDecays, string outputFilePath); void SigmaTot_m2(int numPointsPerPower, string outputFilePath, int EminPower, int EmaxPower); void MFP_m(int numPointsPerPower, string outputFilePath, int EminPower, int EmaxPower); }; /* class TestParticle: public Particle { public: ~TestParticle(){} TestParticle() : Particle(){}; TestParticle(double mass_eV, double charge_e, blitz::TinyVector speed_ms, species spec) : Particle(mass_eV, charge_e, speed_ms, spec){}; TestParticle(double mass_eV, double charge_e,blitz::TinyVector loc_m, blitz::TinyVector speed_ms, double idnum, double parentIdnum, species spec) : Particle(mass_eV, charge_e, loc_m, speed_ms, idnum, parentIdnum, spec) {}; }; */ #endif