KIDS  ver-0.0.1
KIDS : Kernel Integrated Dynamics Simulator
Loading...
Searching...
No Matches
Kernel_Prioritization.h
Go to the documentation of this file.
1
28#ifndef Kernel_Prioritization_H
29#define Kernel_Prioritization_H
30
31#include "kids/Kernel.h"
32
33namespace PROJECT_NS {
34
38class Kernel_Prioritization final : public Kernel {
39 public:
40 Kernel_Prioritization(std::vector<std::shared_ptr<Kernel>> kers, int ptype_in);
41
42 virtual const std::string getName();
43
44 virtual int getType() const;
45
46 private:
47 int ptype;
48 std::vector<std::shared_ptr<Kernel>> _ref_kernels;
49
50 virtual void setInputParam_impl(std::shared_ptr<Param>& PM);
51
52 virtual void setInputDataSet_impl(std::shared_ptr<DataSet>& DS);
53
54 virtual Status& initializeKernel_impl(Status& stat);
55};
56
57}; // namespace PROJECT_NS
58
59#endif // Kernel_Prioritization_H
this file provide Kernel class
This class specifies the kernels that prioritizing other kernels.
virtual Status & initializeKernel_impl(Status &stat)
Virtual function to initialize the kernel implementation.
Kernel_Prioritization(std::vector< std::shared_ptr< Kernel > > kers, int ptype_in)
std::vector< std::shared_ptr< Kernel > > _ref_kernels
virtual void setInputParam_impl(std::shared_ptr< Param > &PM)
Virtual function to set input parameters for the kernel implementation.
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 int getType() const
Get the type 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