KIDS  ver-0.0.1
KIDS : Kernel Integrated Dynamics Simulator
Loading...
Searching...
No Matches
Model_LVCM.h
Go to the documentation of this file.
1#ifndef Model_LVCM_H
2#define Model_LVCM_H
3
4#include "kids/Kernel.h"
5#include "kids/Policy.h"
6
7namespace PROJECT_NS {
8
9DEFINE_POLICY(LVCMPolicy, //
10 PYR3, //
11 PYR3_SPEC, //
12 PYR4, //
13 PYR4_SPEC, //
14 PYR24, //
15 CRC2, //
16 CRC5, //
17 BEN5, //
18 BUTA5, //
19 PENTA5, //
20 CED2, //
21 CED3, //
22 PYR2CED, //
23 Read); //
24
25class Model_LVCM final : public Kernel {
26 public:
27 virtual const std::string getName();
28
29 virtual int getType() const;
30
32
33 private:
34 LVCMPolicy::_type lvcm_type;
35 int N_coup;
36 int N_mode;
38
39
42
47
48 // integrator
49 kids_real *x, *p, *m, *w;
50
51 // model
55
56 // int N_ligh;
57 // N = N_mode + N_coup + N_ligh
58
59 void setInputParam_impl(std::shared_ptr<Param>& PM);
60
61 void setInputDataSet_impl(std::shared_ptr<DataSet>& DS);
62
64
66};
67
68}; // namespace PROJECT_NS
69
70#endif // Model_LVCM_H
this file provide Kernel class
#define DEFINE_POLICY(Policy,...)
Definition Policy.h:83
this class provides the container and implementation of algorithms
Definition Kernel.h:60
Status & executeKernel_impl(Status &stat)
Virtual function to execute the kernel implementation.
void setInputParam_impl(std::shared_ptr< Param > &PM)
Virtual function to set input parameters for the kernel implementation.
Status & initializeKernel_impl(Status &stat)
Virtual function to initialize the kernel implementation.
virtual int getType() const
Get the type of the kernel.
LVCMPolicy::_type lvcm_type
Definition Model_LVCM.h:34
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.
< http://warp.povusers.org/FunctionParser/fparser.html
Definition Context.h:39
double kids_real
Alias for real number type.
Definition Types.h:59