// // Driver program for NeutronTransport class defined in fission.h // #include <iostream> #include "fission.h" using namespace std; int main() { int maxEvent = 10000; // Maximum number of events (number of neutrons) required (default 1) int maxGen = 100; // Maximum number of generations (defalult 100) double purity = 0.938; // Purity of 235 in the medium (default 3%) double radius = 8.726; // Radius of the spherical bulk (default 10 cm) bool detail = false; // To print details of each event and generations (default false) int seed = 31415; // A seed to initiate random number generator (default 0) NeutronTransport nt(maxEvent, maxGen, purity, radius, detail, seed); nt.start(); nt.execute(); nt.end(); return 0; }