KIDS  ver-0.0.1
KIDS : Kernel Integrated Dynamics Simulator
Loading...
Searching...
No Matches
Kernel_Update_T.h
Go to the documentation of this file.
1#ifndef Kernel_Update_T_H
2#define Kernel_Update_T_H
3
4#include "kids/Kernel.h"
5
6namespace PROJECT_NS {
7
8class Kernel_Update_T : public Kernel {
9 public:
11
12 virtual const std::string getName();
13
14 virtual int getType() const;
15
16 private:
17 double *p, *m;
18 // for Langevin
19 double *c1, *c2p;
20 // for NHC
21 double *nhc_x, *nhc_p, *nhc_G, *nhc_Q;
22 //
23 double scale, *dt_ptr;
24 double beta;
25 double gammal;
26 double randu;
27
28 virtual void setInputParam_impl(std::shared_ptr<Param> &PM);
29
30 virtual void setInputDataSet_impl(std::shared_ptr<DataSet> &DS);
31
32 virtual Status &executeKernel_impl(Status &stat);
33};
34
35}; // namespace PROJECT_NS
36
37
38#endif // Kernel_Update_T_H
this file provide Kernel class
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.
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 const std::string getName()
Get the name of the kernel.
this class provides the container and implementation of algorithms
Definition Kernel.h:60
< http://warp.povusers.org/FunctionParser/fparser.html
Definition Context.h:39