Bridge++
Version 1.5.4
|
GradientFlow construction. More...
#include <gradientFlow.h>
Public Member Functions | |
GradientFlow (Action *action) | |
GradientFlow (unique_ptr< Action > &action) | |
~GradientFlow () | |
void | set_parameters (const Parameters ¶ms) |
void | set_parameters (const int Norder_RK, const double Estep, const int Nprec, const int adaptive, const double tolerance, const double safety) |
void | set_parameters (const int Norder_RK, const double Estep, const int Nprec, const bool adaptive, const double tolerance, const double safety) |
void | set_parameter_Norder_RK (const int order, const bool is_adaptive) |
void | set_parameter_verboselevel (const Bridge::VerboseLevel vl) |
void | initialize () |
double | evolve (double &t, Field_G &U) |
double | evolve (Field_G &U, int ntau) |
ntau is used to shift t in t^2E with ntau*m_Nstep. More... | |
double | evolve_wt_output (Field_G &U) |
Mainly used for gauge field flow. More... | |
double | evolve_wo_output (Field_G &U) |
Mainly used for adjoint flow of fermion field. More... | |
Static Public Attributes | |
static const std::string | class_name = "GradientFlow" |
Protected Attributes | |
Bridge::VerboseLevel | m_vl |
Private Member Functions | |
GradientFlow (const GradientFlow &) | |
GradientFlow & | operator= (const GradientFlow &) |
Private Attributes | |
int | m_Norder_RK |
double | m_Estep |
int | m_Nprec |
double | m_tolerance |
double | m_safety |
bool | m_is_adaptive |
Action * | m_action |
Staple_lex | m_staple |
GradientFlow_RungeKutta * | m_impl |
GradientFlow construction.
This is written by S. Aoki, based on staple.h 01 July 2012 S.Aoki YAML is implemented. [14 Nov 2012 Y.Namekawa] 4th order Runge-Kutta in commutator-free method formulated by E.Celledoni et al. FGCS 19, 341 (2003), as well as 1st and 2nd order Runge-Kutta are implemented. [10 Oct 2014 Y.Namekawa] unique_ptr is introduced to avoid memory leaks [21 Mar 2015 Y.Namekawa] Adaptive stepsize control is implemented. [01 May 2015 Y.Namekawa]
Definition at line 47 of file gradientFlow.h.
GradientFlow::GradientFlow | ( | Action * | action | ) |
Definition at line 19 of file gradientFlow.cpp.
GradientFlow::GradientFlow | ( | unique_ptr< Action > & | action | ) |
Definition at line 29 of file gradientFlow.cpp.
GradientFlow::~GradientFlow | ( | ) |
Definition at line 47 of file gradientFlow.cpp.
|
private |
double GradientFlow::evolve | ( | double & | t, |
Field_G & | U | ||
) |
Definition at line 180 of file gradientFlow.cpp.
double GradientFlow::evolve | ( | Field_G & | U, |
int | ntau | ||
) |
ntau is used to shift t in t^2E with ntau*m_Nstep.
double GradientFlow::evolve_wo_output | ( | Field_G & | U | ) |
Mainly used for adjoint flow of fermion field.
double GradientFlow::evolve_wt_output | ( | Field_G & | U | ) |
Mainly used for gauge field flow.
void GradientFlow::initialize | ( | ) |
Definition at line 39 of file gradientFlow.cpp.
|
private |
void GradientFlow::set_parameter_Norder_RK | ( | const int | order, |
const bool | is_adaptive | ||
) |
Definition at line 146 of file gradientFlow.cpp.
|
inline |
Definition at line 91 of file gradientFlow.h.
void GradientFlow::set_parameters | ( | const Parameters & | params | ) |
Definition at line 54 of file gradientFlow.cpp.
void GradientFlow::set_parameters | ( | const int | Norder_RK, |
const double | Estep, | ||
const int | Nprec, | ||
const int | adaptive, | ||
const double | tolerance, | ||
const double | safety | ||
) |
Definition at line 92 of file gradientFlow.cpp.
void GradientFlow::set_parameters | ( | const int | Norder_RK, |
const double | Estep, | ||
const int | Nprec, | ||
const bool | adaptive, | ||
const double | tolerance, | ||
const double | safety | ||
) |
Definition at line 104 of file gradientFlow.cpp.
|
static |
Definition at line 50 of file gradientFlow.h.
|
private |
Definition at line 63 of file gradientFlow.h.
|
private |
Definition at line 57 of file gradientFlow.h.
|
private |
Definition at line 66 of file gradientFlow.h.
|
private |
Definition at line 61 of file gradientFlow.h.
|
private |
Definition at line 56 of file gradientFlow.h.
|
private |
Definition at line 58 of file gradientFlow.h.
|
private |
Definition at line 60 of file gradientFlow.h.
|
private |
Definition at line 64 of file gradientFlow.h.
|
private |
Definition at line 59 of file gradientFlow.h.
|
protected |
Definition at line 53 of file gradientFlow.h.