Bridge++  Ver. 2.0.2
Action_F_Ratio_lex_alt< AFIELD > Class Template Reference

HMC action for Hasenbusch preconditioned fermions. More...

#include <action_F_Ratio_lex_alt.h>

Inheritance diagram for Action_F_Ratio_lex_alt< AFIELD >:
Action

Public Types

typedef AFIELD::real_t real_t
 

Public Member Functions

 Action_F_Ratio_lex_alt (AFopr< AFIELD > *fopr_prec, AForce_F< AFIELD > *fopr_prec_force, AFopr< AFIELD > *fopr, AForce_F< AFIELD > *fopr_force, AFprop< AFIELD > *fprop_H_prec, AFprop< AFIELD > *fprop_MD, AFprop< AFIELD > *fprop_H)
 
 ~Action_F_Ratio_lex_alt ()
 
void set_parameters (const Parameters &)
 
void set_parameters ()
 
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 get_parameters (Parameters &param) const =0
 
virtual void force (Field &v, Field &U)
 

Static Public Attributes

static const std::string class_name = "Action_F_Ratio_lex_alt"
 

Private Member Functions

void init ()
 
void tidyup ()
 

Private Attributes

Fieldm_U
 
AFopr< AFIELD > * m_fopr_prec
 
AForce_F< AFIELD > * m_fopr_prec_force
 
AFopr< AFIELD > * m_fopr
 
AForce_F< AFIELD > * m_fopr_force
 
AFIELD m_psf
 
std::string m_label
 
AFprop< AFIELD > * m_fprop_H_prec
 
AFprop< AFIELD > * m_fprop_MD
 
AFprop< AFIELD > * m_fprop_H
 

Detailed Description

template<typename AFIELD>
class Action_F_Ratio_lex_alt< AFIELD >

HMC action for Hasenbusch preconditioned fermions.

Hasenbusch preconditioned fermion action in alternative implementation. [04 Feb 2019 H.Matsufuru]

Definition at line 33 of file action_F_Ratio_lex_alt.h.

Member Typedef Documentation

◆ real_t

template<typename AFIELD >
typedef AFIELD::real_t Action_F_Ratio_lex_alt< AFIELD >::real_t

Definition at line 37 of file action_F_Ratio_lex_alt.h.

Constructor & Destructor Documentation

◆ Action_F_Ratio_lex_alt()

template<typename AFIELD >
Action_F_Ratio_lex_alt< AFIELD >::Action_F_Ratio_lex_alt ( AFopr< AFIELD > *  fopr_prec,
AForce_F< AFIELD > *  fopr_prec_force,
AFopr< AFIELD > *  fopr,
AForce_F< AFIELD > *  fopr_force,
AFprop< AFIELD > *  fprop_H_prec,
AFprop< AFIELD > *  fprop_MD,
AFprop< AFIELD > *  fprop_H 
)
inline

Definition at line 55 of file action_F_Ratio_lex_alt.h.

◆ ~Action_F_Ratio_lex_alt()

template<typename AFIELD >
Action_F_Ratio_lex_alt< AFIELD >::~Action_F_Ratio_lex_alt ( )
inline

Definition at line 67 of file action_F_Ratio_lex_alt.h.

Member Function Documentation

◆ calcH()

template<typename AFIELD >
double Action_F_Ratio_lex_alt< AFIELD >::calcH ( )
virtual

calculate Hamiltonian of this action term.

Implements Action.

Definition at line 132 of file action_F_Ratio_lex_alt-tmpl.h.

◆ force()

template<typename AFIELD >
void Action_F_Ratio_lex_alt< AFIELD >::force ( Field )
virtual

returns force for molcular dynamical update of conjugate momenta.

Implements Action.

Definition at line 190 of file action_F_Ratio_lex_alt-tmpl.h.

◆ get_label()

template<typename AFIELD >
std::string Action_F_Ratio_lex_alt< AFIELD >::get_label ( )
inline

Definition at line 79 of file action_F_Ratio_lex_alt.h.

◆ init()

template<typename AFIELD >
void Action_F_Ratio_lex_alt< AFIELD >::init
private

Definition at line 16 of file action_F_Ratio_lex_alt-tmpl.h.

◆ langevin()

template<typename AFIELD >
double Action_F_Ratio_lex_alt< AFIELD >::langevin ( RandomNumbers )
virtual

Langevis step.

Implements Action.

Definition at line 63 of file action_F_Ratio_lex_alt-tmpl.h.

◆ set_config()

template<typename AFIELD >
void Action_F_Ratio_lex_alt< AFIELD >::set_config ( Field U)
virtual

setting pointer to the gauge configuration.

Implements Action.

Definition at line 49 of file action_F_Ratio_lex_alt-tmpl.h.

◆ set_label()

template<typename AFIELD >
void Action_F_Ratio_lex_alt< AFIELD >::set_label ( const std::string  label)
inline

Definition at line 73 of file action_F_Ratio_lex_alt.h.

◆ set_parameters() [1/2]

template<typename AFIELD >
void Action_F_Ratio_lex_alt< AFIELD >::set_parameters

Definition at line 41 of file action_F_Ratio_lex_alt-tmpl.h.

◆ set_parameters() [2/2]

template<typename AFIELD >
void Action_F_Ratio_lex_alt< AFIELD >::set_parameters ( const Parameters params)
virtual

Implements Action.

Definition at line 32 of file action_F_Ratio_lex_alt-tmpl.h.

◆ tidyup()

template<typename AFIELD >
void Action_F_Ratio_lex_alt< AFIELD >::tidyup
private

Definition at line 24 of file action_F_Ratio_lex_alt-tmpl.h.

Member Data Documentation

◆ class_name

template<typename AFIELD >
const std::string Action_F_Ratio_lex_alt< AFIELD >::class_name = "Action_F_Ratio_lex_alt"
static

Definition at line 38 of file action_F_Ratio_lex_alt.h.

◆ m_fopr

template<typename AFIELD >
AFopr<AFIELD>* Action_F_Ratio_lex_alt< AFIELD >::m_fopr
private

Definition at line 45 of file action_F_Ratio_lex_alt.h.

◆ m_fopr_force

template<typename AFIELD >
AForce_F<AFIELD>* Action_F_Ratio_lex_alt< AFIELD >::m_fopr_force
private

Definition at line 46 of file action_F_Ratio_lex_alt.h.

◆ m_fopr_prec

template<typename AFIELD >
AFopr<AFIELD>* Action_F_Ratio_lex_alt< AFIELD >::m_fopr_prec
private

Definition at line 43 of file action_F_Ratio_lex_alt.h.

◆ m_fopr_prec_force

template<typename AFIELD >
AForce_F<AFIELD>* Action_F_Ratio_lex_alt< AFIELD >::m_fopr_prec_force
private

Definition at line 44 of file action_F_Ratio_lex_alt.h.

◆ m_fprop_H

template<typename AFIELD >
AFprop<AFIELD>* Action_F_Ratio_lex_alt< AFIELD >::m_fprop_H
private

Definition at line 52 of file action_F_Ratio_lex_alt.h.

◆ m_fprop_H_prec

template<typename AFIELD >
AFprop<AFIELD>* Action_F_Ratio_lex_alt< AFIELD >::m_fprop_H_prec
private

Definition at line 50 of file action_F_Ratio_lex_alt.h.

◆ m_fprop_MD

template<typename AFIELD >
AFprop<AFIELD>* Action_F_Ratio_lex_alt< AFIELD >::m_fprop_MD
private

Definition at line 51 of file action_F_Ratio_lex_alt.h.

◆ m_label

template<typename AFIELD >
std::string Action_F_Ratio_lex_alt< AFIELD >::m_label
private

Definition at line 48 of file action_F_Ratio_lex_alt.h.

◆ m_psf

template<typename AFIELD >
AFIELD Action_F_Ratio_lex_alt< AFIELD >::m_psf
private

Definition at line 47 of file action_F_Ratio_lex_alt.h.

◆ m_U

template<typename AFIELD >
Field* Action_F_Ratio_lex_alt< AFIELD >::m_U
private

Definition at line 41 of file action_F_Ratio_lex_alt.h.


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