Bridge++  Ver. 2.0.2
gradientFlow_RungeKutta_1st.cpp
Go to the documentation of this file.
1 
15 
16 const std::string GradientFlow_RungeKutta_1st::class_name = "GradientFlow_RungeKutta_1st";
17 
18 //====================================================================
19 void GradientFlow_RungeKutta_1st::flow(double& t, double& Estep, Field_G& U)
20 {
21  //- aliases
22  Field_G& w0 = U;
23  Field_G& w1 = U;
24 
25  Field_G& z0 = m_z0;
26 
27  //- step 0
28  // calculate gradient of m_action Z_0 (SA)
29  m_action->force(z0, w0);
30 
31  // W_1=e^{Z_0}*U
32  mult_exp_Field_G(w1, Estep, z0, w0, m_Nprec); // assume it is ok for w = u case.
33 
34  t += Estep;
35 }
36 
37 
38 //====================================================================
39 //============================================================END=====
gradientFlow_RungeKutta_1st.h
Action::force
virtual void force(Field &)=0
returns force for molcular dynamical update of conjugate momenta.
GradientFlow_RungeKutta_1st::m_Nprec
int m_Nprec
Definition: gradientFlow_RungeKutta_1st.h:39
GradientFlow_RungeKutta_1st::m_z0
Field_G m_z0
Definition: gradientFlow_RungeKutta_1st.h:43
GradientFlow_RungeKutta_1st::m_action
Action * m_action
Definition: gradientFlow_RungeKutta_1st.h:38
GradientFlow_RungeKutta_1st::flow
void flow(double &t, double &Estep, Field_G &U)
Definition: gradientFlow_RungeKutta_1st.cpp:19
GradientFlow_RungeKutta_1st::class_name
static const std::string class_name
Definition: gradientFlow_RungeKutta_1st.h:32
mult_exp_Field_G
void mult_exp_Field_G(Field_G &W, const double alpha, const Field_G &iP, const Field_G &U, const int Nprec)
Definition: field_G_imp.cpp:496
Field_G
SU(N) gauge field.
Definition: field_G.h:38