-
Notifications
You must be signed in to change notification settings - Fork 2
/
Transport.h
70 lines (58 loc) · 1.5 KB
/
Transport.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
/*
Author: Blake
Date: 11/21/17
Req. Files: Cell.cpp, Material.h, Surface.h, Random.h
*/
#ifndef __TRANSPORT_H__
#define __TRANSPORT_H__
#include <iostream>
#include <memory>
#include <stack>
#include <limits>
#include <string>
#include "Cell.h"
#include "Material.h"
#include "Surface.h"
#include "Random.h"
#include "Particle.h"
#include "Constants.h"
#include "Geometry.h"
#include "Source.h"
#include "Mesh.h"
#include "Tet.h"
#include "HammerTime.h"
using std::vector;
using std::stack;
using std::cout;
using std::endl;
typedef std::shared_ptr<Cell> Cell_ptr;
typedef std::shared_ptr<Particle> Part_ptr;
typedef std::shared_ptr<Material> Mat_ptr;
typedef std::shared_ptr<surface> Surf_ptr;
typedef std::shared_ptr<Mesh> Mesh_ptr;
typedef std::shared_ptr<HammerTime> Time_ptr;
typedef std::shared_ptr<Geometry> Geom_ptr;
typedef std::shared_ptr<Constants> Cons_ptr;
class Transport {
private:
int numHis;
//vector<Mat_ptr> mats;
//vector<Cell_ptr> cells; //vector of cells (to be moved into Geometry)
//vector<Surf_ptr> surfaces; //vector of surfaces '
stack<Part_ptr> pstack;
vector<double> tallies;
Cons_ptr constants;
Geom_ptr geometry;
Mesh_ptr mesh;
Time_ptr timer;
public:
//constructor
Transport( Geom_ptr geoin, Cons_ptr consti, Mesh_ptr meshin , Time_ptr timein );
~Transport() {};
//to be altered once input is added
//functions
//void setup();
void runTransport();
void output();
};
#endif