Bridge++  Ver. 2.0.2
GradientFlow Class Reference

GradientFlow construction. More...

#include <gradientFlow.h>

Public Member Functions

 GradientFlow (Action *action)
 
 GradientFlow (Action *action, const Parameters &params)
 
 ~GradientFlow ()
 
void set_parameters (const Parameters &params)
 
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 get_parameters (Parameters &params) const
 
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 &)
 
GradientFlowoperator= (const GradientFlow &)
 

Private Attributes

int m_Norder_RK
 
double m_Estep
 
int m_Nprec
 
double m_tolerance
 
double m_safety
 
bool m_is_adaptive
 
Actionm_action
 
Staple_lex m_staple
 
GradientFlow_RungeKuttam_impl
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ GradientFlow() [1/3]

GradientFlow::GradientFlow ( Action action)

Definition at line 19 of file gradientFlow.cpp.

◆ GradientFlow() [2/3]

GradientFlow::GradientFlow ( Action action,
const Parameters params 
)

Definition at line 29 of file gradientFlow.cpp.

◆ ~GradientFlow()

GradientFlow::~GradientFlow ( )

Definition at line 48 of file gradientFlow.cpp.

◆ GradientFlow() [3/3]

GradientFlow::GradientFlow ( const GradientFlow )
private

Member Function Documentation

◆ evolve() [1/2]

double GradientFlow::evolve ( double &  t,
Field_G U 
)

Definition at line 200 of file gradientFlow.cpp.

◆ evolve() [2/2]

double GradientFlow::evolve ( Field_G U,
int  ntau 
)

ntau is used to shift t in t^2E with ntau*m_Nstep.

◆ evolve_wo_output()

double GradientFlow::evolve_wo_output ( Field_G U)

Mainly used for adjoint flow of fermion field.

◆ evolve_wt_output()

double GradientFlow::evolve_wt_output ( Field_G U)

Mainly used for gauge field flow.

◆ get_parameters()

void GradientFlow::get_parameters ( Parameters params) const

Definition at line 94 of file gradientFlow.cpp.

◆ initialize()

void GradientFlow::initialize ( )

Definition at line 40 of file gradientFlow.cpp.

◆ operator=()

GradientFlow& GradientFlow::operator= ( const GradientFlow )
private

◆ set_parameter_Norder_RK()

void GradientFlow::set_parameter_Norder_RK ( const int  order,
const bool  is_adaptive 
)

Definition at line 166 of file gradientFlow.cpp.

◆ set_parameters() [1/3]

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 124 of file gradientFlow.cpp.

◆ set_parameters() [2/3]

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 112 of file gradientFlow.cpp.

◆ set_parameters() [3/3]

void GradientFlow::set_parameters ( const Parameters params)

Definition at line 55 of file gradientFlow.cpp.

Member Data Documentation

◆ class_name

const std::string GradientFlow::class_name = "GradientFlow"
static

Definition at line 50 of file gradientFlow.h.

◆ m_action

Action* GradientFlow::m_action
private

Definition at line 63 of file gradientFlow.h.

◆ m_Estep

double GradientFlow::m_Estep
private

Definition at line 57 of file gradientFlow.h.

◆ m_impl

GradientFlow_RungeKutta* GradientFlow::m_impl
private

Definition at line 66 of file gradientFlow.h.

◆ m_is_adaptive

bool GradientFlow::m_is_adaptive
private

Definition at line 61 of file gradientFlow.h.

◆ m_Norder_RK

int GradientFlow::m_Norder_RK
private

Definition at line 56 of file gradientFlow.h.

◆ m_Nprec

int GradientFlow::m_Nprec
private

Definition at line 58 of file gradientFlow.h.

◆ m_safety

double GradientFlow::m_safety
private

Definition at line 60 of file gradientFlow.h.

◆ m_staple

Staple_lex GradientFlow::m_staple
private

Definition at line 64 of file gradientFlow.h.

◆ m_tolerance

double GradientFlow::m_tolerance
private

Definition at line 59 of file gradientFlow.h.

◆ m_vl

Bridge::VerboseLevel GradientFlow::m_vl
protected

Definition at line 53 of file gradientFlow.h.


The documentation for this class was generated from the following files: