KIDS  ver-0.0.1
KIDS : Kernel Integrated Dynamics Simulator
Loading...
Searching...
No Matches
Kernel_Update_p.h
Go to the documentation of this file.
1#ifndef Kernel_Update_p_H
2#define Kernel_Update_p_H
3
4#include "kids/Kernel.h"
5
6namespace PROJECT_NS {
7
8class Kernel_Update_p : public Kernel {
9 public:
11
12 virtual const std::string getName();
13
14 virtual int getType() const;
15
16 private:
17 double * p, *f, *minv;
18 double* Ekin;
19 double scale, *dt_ptr;
21
22 virtual void setInputDataSet_impl(std::shared_ptr<DataSet>& DS);
23
24 virtual Status& initializeKernel_impl(Status& stat);
25
26 virtual Status& executeKernel_impl(Status& stat);
27};
28
29
30}; // namespace PROJECT_NS
31
32
33#endif // Kernel_Update_p_H
this file provide Kernel class
virtual void setInputDataSet_impl(std::shared_ptr< DataSet > &DS)
Virtual function to set input data set for the kernel implementation.
virtual const std::string getName()
Get the name of the kernel.
virtual int getType() const
Get the type of the kernel.
virtual Status & initializeKernel_impl(Status &stat)
Virtual function to initialize the kernel implementation.
virtual Status & executeKernel_impl(Status &stat)
Virtual function to execute the kernel implementation.
this class provides the container and implementation of algorithms
Definition Kernel.h:60
< http://warp.povusers.org/FunctionParser/fparser.html
Definition Context.h:39
int kids_bint
Alias for integer type.
Definition Types.h:58