KIDS  ver-0.0.1
KIDS : Kernel Integrated Dynamics Simulator
Loading...
Searching...
No Matches
Model_ElectronTransfer.h
Go to the documentation of this file.
1#ifndef Model_ElectronTransfer_H
2#define Model_ElectronTransfer_H
3
4#include "kids/Kernel.h"
5#include "kids/Model_Bath.h"
6#include "kids/Policy.h"
7
8namespace PROJECT_NS {
9
10class Model_ElectronTransfer final : public Kernel {
11 public:
12 virtual const std::string getName();
13
14 virtual int getType() const;
15
17 appendChild(std::shared_ptr<Model_Bath>(new Model_Bath())); //
18 }
19
20 private:
21 // parameters
22 int nbath; // no. of bath
23 int Nb; // discrete no.
24
25 // system & coupling
26 kids_real* Hsys; /* Hamiltonian for system part */
27 kids_real* Q; /* system part in interaction with different bath [size: NvalinQ * nbath * FF] */
28
29
35
36 // bath
41
42 // integrator
43 kids_real *x, *p, *m;
44
45 // model
49
50 virtual void setInputParam_impl(std::shared_ptr<Param>& PM);
51 virtual void setInputDataSet_impl(std::shared_ptr<DataSet>& DS);
52 virtual Status& initializeKernel_impl(Status& stat);
53 virtual Status& executeKernel_impl(Status& stat);
54};
55
56}; // namespace PROJECT_NS
57
58#endif // Model_ElectronTransfer_H
this file provide Kernel class
this class provides the container and implementation of algorithms
Definition Kernel.h:60
Kernel & appendChild(std::shared_ptr< Kernel > ker)
Append a kernel as the last child of the current tree node.
Definition Kernel.cpp:78
kids_real * omegas
save discrete frequencies (only for simple model, L=1)
virtual int getType() const
Get the type of the kernel.
virtual void setInputParam_impl(std::shared_ptr< Param > &PM)
Virtual function to set input parameters for the kernel implementation.
kids_real * coeffs
save coupling coefficients (only for simple model, L=1)
virtual const std::string getName()
Get the name of the kernel.
virtual void setInputDataSet_impl(std::shared_ptr< DataSet > &DS)
Virtual function to set input data set for the kernel implementation.
virtual Status & executeKernel_impl(Status &stat)
Virtual function to execute the kernel implementation.
virtual Status & initializeKernel_impl(Status &stat)
Virtual function to initialize the kernel implementation.
< http://warp.povusers.org/FunctionParser/fparser.html
Definition Context.h:39
double kids_real
Alias for real number type.
Definition Types.h:59