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

Standard fermion action for HMC. More...

#include <action_F_Standard_lex_alt.h>

Inheritance diagram for Action_F_Standard_lex_alt< AFIELD >:
Action

Public Types

typedef AFIELD::real_t real_t
 

Public Member Functions

 Action_F_Standard_lex_alt (AFopr< AFIELD > *fopr, AForce_F< AFIELD > *fopr_force, AFprop< AFIELD > *fprop_MD, AFprop< AFIELD > *fprop_H)
 
 Action_F_Standard_lex_alt (unique_ptr< AFopr< AFIELD > > &fopr, unique_ptr< AForce_F< AFIELD > > &fopr_force, unique_ptr< AFprop< AFIELD > > &fprop_MD, unique_ptr< AFprop< AFIELD > > &fprop_H)
 
 ~Action_F_Standard_lex_alt ()
 
void set_parameters (const 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_Standard_lex_alt"
 

Private Member Functions

void init ()
 
void tidyup ()
 

Private Attributes

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

Detailed Description

template<typename AFIELD>
class Action_F_Standard_lex_alt< AFIELD >

Standard fermion action for HMC.

Standard fermion action with alternative implementation. [04 Oct 2018 H.Matsufuru]

Definition at line 32 of file action_F_Standard_lex_alt.h.

Member Typedef Documentation

◆ real_t

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

Definition at line 36 of file action_F_Standard_lex_alt.h.

Constructor & Destructor Documentation

◆ Action_F_Standard_lex_alt() [1/2]

template<typename AFIELD >
Action_F_Standard_lex_alt< AFIELD >::Action_F_Standard_lex_alt ( AFopr< AFIELD > *  fopr,
AForce_F< AFIELD > *  fopr_force,
AFprop< AFIELD > *  fprop_MD,
AFprop< AFIELD > *  fprop_H 
)
inline

Definition at line 51 of file action_F_Standard_lex_alt.h.

◆ Action_F_Standard_lex_alt() [2/2]

template<typename AFIELD >
Action_F_Standard_lex_alt< AFIELD >::Action_F_Standard_lex_alt ( unique_ptr< AFopr< AFIELD > > &  fopr,
unique_ptr< AForce_F< AFIELD > > &  fopr_force,
unique_ptr< AFprop< AFIELD > > &  fprop_MD,
unique_ptr< AFprop< AFIELD > > &  fprop_H 
)
inline

Definition at line 59 of file action_F_Standard_lex_alt.h.

◆ ~Action_F_Standard_lex_alt()

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

Definition at line 69 of file action_F_Standard_lex_alt.h.

Member Function Documentation

◆ calcH()

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

calculate Hamiltonian of this action term.

Implements Action.

Definition at line 107 of file action_F_Standard_lex_alt-tmpl.h.

◆ force()

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

returns force for molcular dynamical update of conjugate momenta.

Implements Action.

Definition at line 140 of file action_F_Standard_lex_alt-tmpl.h.

◆ get_label()

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

Definition at line 80 of file action_F_Standard_lex_alt.h.

◆ init()

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

Definition at line 23 of file action_F_Standard_lex_alt-tmpl.h.

◆ langevin()

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

Langevis step.

Implements Action.

Definition at line 59 of file action_F_Standard_lex_alt-tmpl.h.

◆ set_config()

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

setting pointer to the gauge configuration.

Implements Action.

Definition at line 48 of file action_F_Standard_lex_alt-tmpl.h.

◆ set_label()

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

Definition at line 74 of file action_F_Standard_lex_alt.h.

◆ set_parameters()

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

Implements Action.

Definition at line 39 of file action_F_Standard_lex_alt-tmpl.h.

◆ tidyup()

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

Definition at line 31 of file action_F_Standard_lex_alt-tmpl.h.

Member Data Documentation

◆ class_name

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

Definition at line 37 of file action_F_Standard_lex_alt.h.

◆ m_fopr

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

Definition at line 40 of file action_F_Standard_lex_alt.h.

◆ m_fopr_force

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

Definition at line 41 of file action_F_Standard_lex_alt.h.

◆ m_fprop_H

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

Definition at line 46 of file action_F_Standard_lex_alt.h.

◆ m_fprop_MD

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

Definition at line 45 of file action_F_Standard_lex_alt.h.

◆ m_label

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

Definition at line 43 of file action_F_Standard_lex_alt.h.

◆ m_psf

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

Definition at line 42 of file action_F_Standard_lex_alt.h.

◆ m_U

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

Definition at line 48 of file action_F_Standard_lex_alt.h.


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