forked from gfrd/egfrd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPairGreensFunction.hpp
52 lines (38 loc) · 995 Bytes
/
PairGreensFunction.hpp
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
#if !defined( __PAIRGREENSFUNCTION_HPP )
#define __PAIRGREENSFUNCTION_HPP
#include "Defs.hpp"
#include <string>
#include "GreensFunction.hpp"
class PairGreensFunction: public GreensFunction
{
public:
PairGreensFunction(Real D, Real kf, Real r0, Real Sigma)
: GreensFunction(D), kf(kf), r0(r0), Sigma(Sigma) {}
virtual ~PairGreensFunction() {}
Real getD() const
{
return this->D;
}
Real getkf() const
{
return this->kf;
}
Real getSigma() const
{
return this->Sigma;
}
Real getr0() const
{
return this->r0;
}
virtual std::string dump() const = 0;
virtual const char* getName() const = 0;
virtual Real drawTime(Real rnd) const = 0;
virtual Real drawR(Real rnd, Real t) const = 0;
virtual Real drawTheta(Real rnd, Real r, Real t) const = 0;
protected:
const Real kf;
const Real r0;
const Real Sigma;
};
#endif /* __PAIRGREENSFUNCTION_HPP */