Files
katrin-plasma/src/mc_electron/tests.h
T

48 lines
1.3 KiB
C++

//
// 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 <stdio.h>
#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<double,3> speed_ms, species spec) : Particle(mass_eV, charge_e, speed_ms, spec){};
TestParticle(double mass_eV, double charge_e,blitz::TinyVector<double,3> loc_m, blitz::TinyVector<double,3> speed_ms, double idnum, double parentIdnum, species spec) : Particle(mass_eV, charge_e, loc_m, speed_ms, idnum, parentIdnum, spec) {};
};
*/
#endif