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

action class for RHMC, with externally constructed AFopr_Rational. More...

#include <action_F_Rational_alt.h>

Inheritance diagram for Action_F_Rational_alt< AFIELD >:
Action

Public Types

typedef AFIELD::real_t real_t
 

Public Member Functions

 Action_F_Rational_alt (AFopr< AFIELD > *fopr_langev, AFopr< AFIELD > *fopr_H, AForce_F< AFIELD > *fopr_force_MD)
 constructor. More...
 
 ~Action_F_Rational_alt ()
 destructor. More...
 
void set_parameters (const Parameters &params)
 
void set_label (const std::string label)
 set the label of action. More...
 
std::string get_label ()
 returns the label of action. More...
 
void set_config (Field *U)
 setting gauge configuration. More...
 
double langevin (RandomNumbers *)
 Langevin step called at the beginning of HMC. More...
 
double calcH ()
 calculation of Hamiltonian. More...
 
void force (Field &)
 returns the force for updating conjugate momentum. 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_Rational_alt"
 

Private Member Functions

void init ()
 
void tidyup ()
 

Private Attributes

std::string m_label
 
AFopr< AFIELD > * m_fopr_langev
 
AFopr< AFIELD > * m_fopr_H
 
AForce_F< AFIELD > * m_fopr_force_MD
 
Fieldm_U
 
AFIELD m_psf
 

Detailed Description

template<typename AFIELD>
class Action_F_Rational_alt< AFIELD >

action class for RHMC, with externally constructed AFopr_Rational.

Action class for RHMC that is an alternative to Action_F_Rational in the core library. [05 Feb 2019 H.Matsufuru]

Definition at line 34 of file action_F_Rational_alt.h.

Member Typedef Documentation

◆ real_t

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

Definition at line 38 of file action_F_Rational_alt.h.

Constructor & Destructor Documentation

◆ Action_F_Rational_alt()

template<typename AFIELD >
Action_F_Rational_alt< AFIELD >::Action_F_Rational_alt ( AFopr< AFIELD > *  fopr_langev,
AFopr< AFIELD > *  fopr_H,
AForce_F< AFIELD > *  fopr_force_MD 
)
inline

constructor.

Definition at line 54 of file action_F_Rational_alt.h.

◆ ~Action_F_Rational_alt()

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

destructor.

Definition at line 63 of file action_F_Rational_alt.h.

Member Function Documentation

◆ calcH()

template<typename AFIELD >
double Action_F_Rational_alt< AFIELD >::calcH
virtual

calculation of Hamiltonian.

Implements Action.

Definition at line 98 of file action_F_Rational_alt-tmpl.h.

◆ force()

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

returns the force for updating conjugate momentum.

Implements Action.

Definition at line 122 of file action_F_Rational_alt-tmpl.h.

◆ get_label()

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

returns the label of action.

Definition at line 75 of file action_F_Rational_alt.h.

◆ init()

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

Definition at line 20 of file action_F_Rational_alt-tmpl.h.

◆ langevin()

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

Langevin step called at the beginning of HMC.

Implements Action.

Definition at line 56 of file action_F_Rational_alt-tmpl.h.

◆ set_config()

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

setting gauge configuration.

Implements Action.

Definition at line 45 of file action_F_Rational_alt-tmpl.h.

◆ set_label()

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

set the label of action.

Definition at line 68 of file action_F_Rational_alt.h.

◆ set_parameters()

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

Implements Action.

Definition at line 36 of file action_F_Rational_alt-tmpl.h.

◆ tidyup()

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

Definition at line 28 of file action_F_Rational_alt-tmpl.h.

Member Data Documentation

◆ class_name

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

Definition at line 39 of file action_F_Rational_alt.h.

◆ m_fopr_force_MD

template<typename AFIELD >
AForce_F<AFIELD>* Action_F_Rational_alt< AFIELD >::m_fopr_force_MD
private

Definition at line 46 of file action_F_Rational_alt.h.

◆ m_fopr_H

template<typename AFIELD >
AFopr<AFIELD>* Action_F_Rational_alt< AFIELD >::m_fopr_H
private

Definition at line 45 of file action_F_Rational_alt.h.

◆ m_fopr_langev

template<typename AFIELD >
AFopr<AFIELD>* Action_F_Rational_alt< AFIELD >::m_fopr_langev
private

Definition at line 44 of file action_F_Rational_alt.h.

◆ m_label

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

Definition at line 42 of file action_F_Rational_alt.h.

◆ m_psf

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

Definition at line 50 of file action_F_Rational_alt.h.

◆ m_U

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

Definition at line 48 of file action_F_Rational_alt.h.


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