phantom2d.h 580 Bytes
Newer Older
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
#ifndef PHANTOM2D
#define PHANTOM2D

#include "electronrt.h"
#include <fstream>
#include <numeric>

#include "common/config.h"
#include "common/io.h"
#include "common/mesh.h"
#include "interpolation.h"

class Phantom2D : public ElectronRT
{
  private:
    Phantom2D() = delete;

  public:
    Phantom2D( Config* settings, Mesh* mesh );
    virtual ~Phantom2D();
    virtual std::vector<VectorVector> GetExternalSource( const Vector& energies );
    virtual VectorVector SetupIC();
    std::vector<double> GetDensity( const VectorVector& cellMidPoints );
};

#endif    // PHANTOM2D