Bridge++  Ver. 2.0.2
Action_F_Staggered_lex Class Reference

Standard fermion action for HMC. More...

#include <action_F_Staggered_lex.h>

Inheritance diagram for Action_F_Staggered_lex:
Action

Public Member Functions

 Action_F_Staggered_lex (Fopr_Staggered *fopr, Force *fopr_force, Fprop *fprop_MD, Fprop *fprop_H)
 
 Action_F_Staggered_lex (unique_ptr< Fopr > &fopr, unique_ptr< Force > &fopr_force, unique_ptr< Fprop > &fprop_MD, unique_ptr< Fprop > &fprop_H)
 
 ~Action_F_Staggered_lex ()
 
void set_parameters (const Parameters &)
 
void set_parameters ()
 
void get_parameters (Parameters &params) const
 
void set_label (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_Staggered_lex"
 

Private Attributes

Fopr_Staggeredm_fopr
 
Forcem_fopr_force
 
Field m_psf
 
std::string m_label
 
Fpropm_fprop_MD
 
Fpropm_fprop_H
 
Fieldm_U
 
Bridge::VerboseLevel m_vl
 

Detailed Description

Standard fermion action for HMC.

This class is used to define an ataggered fermion action used in HMC. The pseudo-fermion field is set on only even stes so as to halve the number of flavors. The implementation is based on the Action_F_Standard_lex class. Added code discards the pseudo-fermion field on odd sites. [03 Oct 2015 H.Matsufuru]

Definition at line 37 of file action_F_Staggered_lex.h.

Constructor & Destructor Documentation

◆ Action_F_Staggered_lex() [1/2]

Action_F_Staggered_lex::Action_F_Staggered_lex ( Fopr_Staggered fopr,
Force fopr_force,
Fprop fprop_MD,
Fprop fprop_H 
)
inline

Definition at line 57 of file action_F_Staggered_lex.h.

◆ Action_F_Staggered_lex() [2/2]

Action_F_Staggered_lex::Action_F_Staggered_lex ( unique_ptr< Fopr > &  fopr,
unique_ptr< Force > &  fopr_force,
unique_ptr< Fprop > &  fprop_MD,
unique_ptr< Fprop > &  fprop_H 
)
inline

Definition at line 67 of file action_F_Staggered_lex.h.

◆ ~Action_F_Staggered_lex()

Action_F_Staggered_lex::~Action_F_Staggered_lex ( )
inline

Definition at line 78 of file action_F_Staggered_lex.h.

Member Function Documentation

◆ calcH()

double Action_F_Staggered_lex::calcH ( )
virtual

calculate Hamiltonian of this action term.

Implements Action.

Definition at line 98 of file action_F_Staggered_lex.cpp.

◆ force()

void Action_F_Staggered_lex::force ( Field )
virtual

returns force for molcular dynamical update of conjugate momenta.

Implements Action.

Definition at line 130 of file action_F_Staggered_lex.cpp.

◆ get_label()

std::string Action_F_Staggered_lex::get_label ( )
inline

Definition at line 94 of file action_F_Staggered_lex.h.

◆ get_parameters()

void Action_F_Staggered_lex::get_parameters ( Parameters params) const
virtual

Implements Action.

Definition at line 41 of file action_F_Staggered_lex.cpp.

◆ langevin()

double Action_F_Staggered_lex::langevin ( RandomNumbers )
virtual

Langevis step.

Implements Action.

Definition at line 58 of file action_F_Staggered_lex.cpp.

◆ set_config()

void Action_F_Staggered_lex::set_config ( Field U)
virtual

setting pointer to the gauge configuration.

Implements Action.

Definition at line 48 of file action_F_Staggered_lex.cpp.

◆ set_label()

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

Definition at line 88 of file action_F_Staggered_lex.h.

◆ set_parameters() [1/2]

void Action_F_Staggered_lex::set_parameters ( )

Definition at line 29 of file action_F_Staggered_lex.cpp.

◆ set_parameters() [2/2]

void Action_F_Staggered_lex::set_parameters ( const Parameters params)
virtual

Implements Action.

Definition at line 19 of file action_F_Staggered_lex.cpp.

Member Data Documentation

◆ class_name

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

Definition at line 40 of file action_F_Staggered_lex.h.

◆ m_fopr

Fopr_Staggered* Action_F_Staggered_lex::m_fopr
private

Definition at line 43 of file action_F_Staggered_lex.h.

◆ m_fopr_force

Force* Action_F_Staggered_lex::m_fopr_force
private

Definition at line 44 of file action_F_Staggered_lex.h.

◆ m_fprop_H

Fprop* Action_F_Staggered_lex::m_fprop_H
private

Definition at line 49 of file action_F_Staggered_lex.h.

◆ m_fprop_MD

Fprop* Action_F_Staggered_lex::m_fprop_MD
private

Definition at line 48 of file action_F_Staggered_lex.h.

◆ m_label

std::string Action_F_Staggered_lex::m_label
private

Definition at line 46 of file action_F_Staggered_lex.h.

◆ m_psf

Field Action_F_Staggered_lex::m_psf
private

Definition at line 45 of file action_F_Staggered_lex.h.

◆ m_U

Field* Action_F_Staggered_lex::m_U
private

Definition at line 51 of file action_F_Staggered_lex.h.

◆ m_vl

Bridge::VerboseLevel Action_F_Staggered_lex::m_vl
private

Definition at line 53 of file action_F_Staggered_lex.h.


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