72 std::cout <<
"disable conserve around last try mndo\n";
78 std::cout <<
"last try conservation with thres = " << thres <<
"\n";
82 std::cout <<
"fail in conserve ERROR: "
this file provides Kernel_Conserve class enabling energy tracing and conservation.
initialization kernels for electonic DOFs
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_bint * last_attempt_ptr
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.
Status & executeKernel(Status &stat)
Execute the kernel's algorithm and those of its children.
#define LOC()
show the location information for debug
VARIABLE< kids_real > Etot
VARIABLE< kids_real > Epot
VARIABLE< kids_real > Etot
VARIABLE< kids_real > Ekin
VARIABLE< kids_bint > frez
VARIABLE< kids_bint > last_attempt
VARIABLE< kids_int > fail_type
VARIABLE< kids_bint > succ
VARIABLE< kids_real > Etot
VARIABLE< kids_real > vpes
std::size_t N
Number of nuclear degrees of freedom.
std::size_t P
Number of parallel trajectories (swarms of trajectories) in each Monte Carlo run.
std::size_t F
Number of electronic degrees of freedom.
< http://warp.povusers.org/FunctionParser/fparser.html
double kids_real
Alias for real number type.
static CONSTTYPE real_precision au_2_kcal_1mea
constexpr uint32_t hash(const char *str)
declaration of variables used in the program.