Bridge++  Ver. 1.2.x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Action_F_Ratio Class Reference

HMC action for Hasenbusch preconditioned fermions. More...

#include <action_F_Ratio.h>

Inheritance diagram for Action_F_Ratio:
Action

Public Member Functions

 Action_F_Ratio (Fopr *fopr_prec, Force *fopr_prec_force, Fopr *fopr, Force *fopr_force)
 
 ~Action_F_Ratio ()
 
void set_parameters (const Parameters &)
 
void set_parameters ()
 
void set_label (std::string label)
 
std::string get_label ()
 
void set_config (Field *U)
 setting pointer to the gauge configuration. More...
 
void notify_linkv ()
 to be called when gauge configuration is updated. More...
 
double langevin (RandomNumbers *)
 Langevis step. More...
 
double calcH ()
 calculate Hamiltonian of this action term. More...
 
const Field force ()
 returns force for molcular dynamical update of conjugate momenta. More...
 
- Public Member Functions inherited from Action
 Action ()
 
virtual ~Action ()
 
void set_parameter_verboselevel (const Bridge::VerboseLevel vl)
 

Static Public Attributes

static const std::string class_name = "Action_F_Ratio"
 

Private Attributes

Fieldm_U
 
int m_status_linkv
 
Foprm_fopr_prec
 
Forcem_fopr_prec_force
 
Foprm_fopr
 
Forcem_fopr_force
 
Field m_psf
 
std::string m_label
 
Field m_force
 
Solverm_solver_H_prec
 
Solverm_solver_MD
 
Solverm_solver_H
 
RandomNumbersm_rand
 

Additional Inherited Members

- Protected Attributes inherited from Action
Bridge::VerboseLevel m_vl
 

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 and given at the construction. 05 Dec 2011 H.Matsufuru Selectors are implemented. [02 Feb 2013 Y.Namekawa] (Selectors are replaced with factories by Aoyama-san)

Definition at line 36 of file action_F_Ratio.h.

Constructor & Destructor Documentation

Action_F_Ratio::Action_F_Ratio ( Fopr fopr_prec,
Force fopr_prec_force,
Fopr fopr,
Force fopr_force 
)
inline

Definition at line 61 of file action_F_Ratio.h.

Action_F_Ratio::~Action_F_Ratio ( )
inline

Definition at line 71 of file action_F_Ratio.h.

Member Function Documentation

double Action_F_Ratio::calcH ( )
virtual

calculate Hamiltonian of this action term.

Implements Action.

Definition at line 118 of file action_F_Ratio.cpp.

const Field Action_F_Ratio::force ( )
virtual

returns force for molcular dynamical update of conjugate momenta.

Implements Action.

Definition at line 154 of file action_F_Ratio.cpp.

std::string Action_F_Ratio::get_label ( )
inline

Definition at line 87 of file action_F_Ratio.h.

double Action_F_Ratio::langevin ( RandomNumbers )
virtual

Langevis step.

Implements Action.

Definition at line 58 of file action_F_Ratio.cpp.

void Action_F_Ratio::notify_linkv ( )
inlinevirtual

to be called when gauge configuration is updated.

Implements Action.

Definition at line 103 of file action_F_Ratio.h.

void Action_F_Ratio::set_config ( Field U)
inlinevirtual

setting pointer to the gauge configuration.

Implements Action.

Definition at line 92 of file action_F_Ratio.h.

void Action_F_Ratio::set_label ( std::string  label)
inline

Definition at line 81 of file action_F_Ratio.h.

void Action_F_Ratio::set_parameters ( const Parameters params)
virtual

Implements Action.

Definition at line 19 of file action_F_Ratio.cpp.

void Action_F_Ratio::set_parameters ( )

Definition at line 28 of file action_F_Ratio.cpp.

Member Data Documentation

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

Definition at line 39 of file action_F_Ratio.h.

Fopr* Action_F_Ratio::m_fopr
private

Definition at line 47 of file action_F_Ratio.h.

Force* Action_F_Ratio::m_fopr_force
private

Definition at line 48 of file action_F_Ratio.h.

Fopr* Action_F_Ratio::m_fopr_prec
private

Definition at line 45 of file action_F_Ratio.h.

Force* Action_F_Ratio::m_fopr_prec_force
private

Definition at line 46 of file action_F_Ratio.h.

Field Action_F_Ratio::m_force
private

Definition at line 51 of file action_F_Ratio.h.

std::string Action_F_Ratio::m_label
private

Definition at line 50 of file action_F_Ratio.h.

Field Action_F_Ratio::m_psf
private

Definition at line 49 of file action_F_Ratio.h.

RandomNumbers* Action_F_Ratio::m_rand
private

Definition at line 57 of file action_F_Ratio.h.

Solver* Action_F_Ratio::m_solver_H
private

Definition at line 55 of file action_F_Ratio.h.

Solver* Action_F_Ratio::m_solver_H_prec
private

Definition at line 53 of file action_F_Ratio.h.

Solver* Action_F_Ratio::m_solver_MD
private

Definition at line 54 of file action_F_Ratio.h.

int Action_F_Ratio::m_status_linkv
private

Definition at line 43 of file action_F_Ratio.h.

Field* Action_F_Ratio::m_U
private

Definition at line 42 of file action_F_Ratio.h.


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