Bridge++  Ver. 2.0.2
Action_F_Ratio_eo Class Reference

HMC action for Hasenbusch preconditioned fermions. More...

#include <action_F_Ratio_eo.h>

Inheritance diagram for Action_F_Ratio_eo:
Action

Public Member Functions

 Action_F_Ratio_eo (Fopr *fopr_prec, Force *fopr_prec_force, Fopr *fopr, Force *fopr_force, Fprop *fprop_H_prec, Fprop *fprop_MD, Fprop *fprop_H)
 
 Action_F_Ratio_eo (Fopr *fopr_prec, Force *fopr_prec_force, Fopr *fopr, Force *fopr_force, Fprop *fprop_H_prec, Fprop *fprop_MD, Fprop *fprop_H, const Parameters &params)
 
 ~Action_F_Ratio_eo ()
 
void set_parameters (const Parameters &)
 
void set_parameters ()
 
void get_parameters (Parameters &) const
 
void set_label (const std::string label)
 
std::string get_label ()
 
void set_config (Field *U)
 setting pointer to the gauge configuration. More...
 
double langevin (RandomNumbers *)
 Langevis step. More...
 
double calcH ()
 calculate Hamiltonian of this action term. More...
 
void force (Field &)
 returns force for molcular dynamical update of conjugate momenta. More...
 
- Public Member Functions inherited from Action
 Action ()
 
virtual ~Action ()
 
virtual void force (Field &v, Field &U)
 

Static Public Attributes

static const std::string class_name = "Action_F_Ratio_eo"
 

Private Attributes

Bridge::VerboseLevel m_vl
 
Fieldm_U
 
Foprm_fopr_prec
 
Forcem_fopr_prec_force
 
Foprm_fopr
 
Forcem_fopr_force
 
Field m_psf
 
std::string m_label
 
Fpropm_fprop_H_prec
 
Fpropm_fprop_MD
 
Fpropm_fprop_H
 

Detailed Description

HMC action for Hasenbusch preconditioned fermions.

This class is used to define an fermion action used in HMC which is given as a ratio of two fermion operators. Two sets of fermion and Force operators are given at the construction. 05 Dec 2011 H.Matsufuru Even-odd is implemented. [03 Mar 2013 Y.Namekawa] unique_ptr is introduced to avoid memory leaks [21 Mar 2015 Y.Namekawa] change the action to H_prec (DdagD)^{-1} Hdag_prec from Hdag_prec (DdagD)^{-1} H_prec [ 7 Jul 2019 I.Kanamori]

Definition at line 41 of file action_F_Ratio_eo.h.

Constructor & Destructor Documentation

◆ Action_F_Ratio_eo() [1/2]

Action_F_Ratio_eo::Action_F_Ratio_eo ( Fopr fopr_prec,
Force fopr_prec_force,
Fopr fopr,
Force fopr_force,
Fprop fprop_H_prec,
Fprop fprop_MD,
Fprop fprop_H 
)
inline

Definition at line 63 of file action_F_Ratio_eo.h.

◆ Action_F_Ratio_eo() [2/2]

Action_F_Ratio_eo::Action_F_Ratio_eo ( Fopr fopr_prec,
Force fopr_prec_force,
Fopr fopr,
Force fopr_force,
Fprop fprop_H_prec,
Fprop fprop_MD,
Fprop fprop_H,
const Parameters params 
)
inline

Definition at line 77 of file action_F_Ratio_eo.h.

◆ ~Action_F_Ratio_eo()

Action_F_Ratio_eo::~Action_F_Ratio_eo ( )
inline

Definition at line 92 of file action_F_Ratio_eo.h.

Member Function Documentation

◆ calcH()

double Action_F_Ratio_eo::calcH ( )
virtual

calculate Hamiltonian of this action term.

Implements Action.

Definition at line 101 of file action_F_Ratio_eo.cpp.

◆ force()

void Action_F_Ratio_eo::force ( Field )
virtual

returns force for molcular dynamical update of conjugate momenta.

Implements Action.

Definition at line 137 of file action_F_Ratio_eo.cpp.

◆ get_label()

std::string Action_F_Ratio_eo::get_label ( )
inline

Definition at line 105 of file action_F_Ratio_eo.h.

◆ get_parameters()

void Action_F_Ratio_eo::get_parameters ( Parameters params) const
virtual

Implements Action.

Definition at line 29 of file action_F_Ratio_eo.cpp.

◆ langevin()

double Action_F_Ratio_eo::langevin ( RandomNumbers )
virtual

Langevis step.

Implements Action.

Definition at line 56 of file action_F_Ratio_eo.cpp.

◆ set_config()

void Action_F_Ratio_eo::set_config ( Field U)
virtual

setting pointer to the gauge configuration.

Implements Action.

Definition at line 43 of file action_F_Ratio_eo.cpp.

◆ set_label()

void Action_F_Ratio_eo::set_label ( const std::string  label)
inline

Definition at line 99 of file action_F_Ratio_eo.h.

◆ set_parameters() [1/2]

void Action_F_Ratio_eo::set_parameters ( )

Definition at line 36 of file action_F_Ratio_eo.cpp.

◆ set_parameters() [2/2]

void Action_F_Ratio_eo::set_parameters ( const Parameters params)
virtual

Implements Action.

Definition at line 19 of file action_F_Ratio_eo.cpp.

Member Data Documentation

◆ class_name

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

Definition at line 44 of file action_F_Ratio_eo.h.

◆ m_fopr

Fopr* Action_F_Ratio_eo::m_fopr
private

Definition at line 53 of file action_F_Ratio_eo.h.

◆ m_fopr_force

Force* Action_F_Ratio_eo::m_fopr_force
private

Definition at line 54 of file action_F_Ratio_eo.h.

◆ m_fopr_prec

Fopr* Action_F_Ratio_eo::m_fopr_prec
private

Definition at line 51 of file action_F_Ratio_eo.h.

◆ m_fopr_prec_force

Force* Action_F_Ratio_eo::m_fopr_prec_force
private

Definition at line 52 of file action_F_Ratio_eo.h.

◆ m_fprop_H

Fprop* Action_F_Ratio_eo::m_fprop_H
private

Definition at line 60 of file action_F_Ratio_eo.h.

◆ m_fprop_H_prec

Fprop* Action_F_Ratio_eo::m_fprop_H_prec
private

Definition at line 58 of file action_F_Ratio_eo.h.

◆ m_fprop_MD

Fprop* Action_F_Ratio_eo::m_fprop_MD
private

Definition at line 59 of file action_F_Ratio_eo.h.

◆ m_label

std::string Action_F_Ratio_eo::m_label
private

Definition at line 56 of file action_F_Ratio_eo.h.

◆ m_psf

Field Action_F_Ratio_eo::m_psf
private

Definition at line 55 of file action_F_Ratio_eo.h.

◆ m_U

Field* Action_F_Ratio_eo::m_U
private

Definition at line 49 of file action_F_Ratio_eo.h.

◆ m_vl

Bridge::VerboseLevel Action_F_Ratio_eo::m_vl
private

Definition at line 47 of file action_F_Ratio_eo.h.


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