Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GradientFlow Class Reference

GradientFlow construction. More...

#include <gradientFlow.h>

Public Member Functions

 GradientFlow (Action *action)
 
 GradientFlow (unique_ptr< Action > &action)
 
 ~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 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 &)
 
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::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.

GradientFlow::GradientFlow ( const GradientFlow )
private

Member Function Documentation

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.

GradientFlow& GradientFlow::operator= ( const GradientFlow )
private
void GradientFlow::set_parameter_Norder_RK ( const int  order,
const bool  is_adaptive 
)

Definition at line 146 of file gradientFlow.cpp.

void GradientFlow::set_parameter_verboselevel ( const Bridge::VerboseLevel  vl)
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.

Member Data Documentation

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

Definition at line 50 of file gradientFlow.h.

Action* GradientFlow::m_action
private

Definition at line 63 of file gradientFlow.h.

double GradientFlow::m_Estep
private

Definition at line 57 of file gradientFlow.h.

GradientFlow_RungeKutta* GradientFlow::m_impl
private

Definition at line 66 of file gradientFlow.h.

bool GradientFlow::m_is_adaptive
private

Definition at line 61 of file gradientFlow.h.

int GradientFlow::m_Norder_RK
private

Definition at line 56 of file gradientFlow.h.

int GradientFlow::m_Nprec
private

Definition at line 58 of file gradientFlow.h.

double GradientFlow::m_safety
private

Definition at line 60 of file gradientFlow.h.

Staple_lex GradientFlow::m_staple
private

Definition at line 64 of file gradientFlow.h.

double GradientFlow::m_tolerance
private

Definition at line 59 of file gradientFlow.h.

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: