KIDS  ver-0.0.1
KIDS : Kernel Integrated Dynamics Simulator
Loading...
Searching...
No Matches
Kernel_Conserve.h
Go to the documentation of this file.
1
26#ifndef Kernel_Conserve_H
27#define Kernel_Conserve_H
28
29#include "kids/Kernel.h"
30
31namespace PROJECT_NS {
32
36class Kernel_Conserve final : public Kernel {
37 public:
38 virtual const std::string getName();
39
40 virtual int getType() const;
41
42 private:
52
54
60
61 int cnt_loose = 0;
62
63 virtual void setInputParam_impl(std::shared_ptr<Param>& PM);
64
65 virtual void setInputDataSet_impl(std::shared_ptr<DataSet>& DS);
66
67 virtual Status& initializeKernel_impl(Status& stat);
68
69 virtual Status& executeKernel_impl(Status& stat);
70};
71
72}; // namespace PROJECT_NS
73
74
75#endif // Kernel_Conserve_H
this file provide Kernel class
This class implements a process for energy conservation.
virtual void setInputParam_impl(std::shared_ptr< Param > &PM)
Virtual function to set input parameters for the kernel implementation.
virtual int getType() const
Get the type of the kernel.
virtual const std::string getName()
Get the name of the kernel.
kids_real * Etot
total energy
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.
kids_real * Ekin
kinematic energy
kids_real * p
nuclear momemtum
kids_real * E
adiabatic energies
kids_real * vpes
potential energy (only nuclear part)
kids_real * Epot
potential energy
kids_real * Etot_init
total energy at initial time
kids_real * Etot_prev
total energy in previous step
kids_real * m
nuclear mass
virtual Status & initializeKernel_impl(Status &stat)
Virtual function to initialize 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
double kids_real
Alias for real number type.
Definition Types.h:59
int kids_bint
Alias for integer type.
Definition Types.h:58