Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Action_F_Standard_eo Class Reference

Standard even-odd preconditioned fermion action for HMC. More...

#include <action_F_Standard_eo.h>

Inheritance diagram for Action_F_Standard_eo:
Action

Public Member Functions

 Action_F_Standard_eo (Fopr *fopr, Force *fopr_force, Fprop *fprop_MD, Fprop *fprop_H)
 
 Action_F_Standard_eo (unique_ptr< Fopr > &fopr, unique_ptr< Force > &fopr_force, unique_ptr< Fprop > &fprop_MD, unique_ptr< Fprop > &fprop_H)
 
 ~Action_F_Standard_eo ()
 
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 ()
 
void set_parameter_verboselevel (const Bridge::VerboseLevel vl)
 
virtual void force (Field &v, Field &U)
 

Static Public Attributes

static const std::string class_name = "Action_F_Standard_eo"
 

Private Attributes

Foprm_fopr
 
Forcem_fopr_force
 
Field m_psf
 
std::string m_label
 
Fpropm_fprop_MD
 
Fpropm_fprop_H
 
Fieldm_U
 

Additional Inherited Members

- Protected Attributes inherited from Action
Bridge::VerboseLevel m_vl
 

Detailed Description

Standard even-odd preconditioned fermion action for HMC.

This class is used to define an action used in HMC. Fermion and Force operators are given at the construction. 19 Jun 2012 S.UEDA Modify this code to work. [03 Mar 2013 Y.Namekawa] unique_ptr is introduced to avoid memory leaks [21 Mar 2015 Y.Namekawa]

Definition at line 37 of file action_F_Standard_eo.h.

Constructor & Destructor Documentation

Action_F_Standard_eo::Action_F_Standard_eo ( Fopr fopr,
Force fopr_force,
Fprop fprop_MD,
Fprop fprop_H 
)
inline

Definition at line 55 of file action_F_Standard_eo.h.

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

Definition at line 63 of file action_F_Standard_eo.h.

Action_F_Standard_eo::~Action_F_Standard_eo ( )
inline

Definition at line 71 of file action_F_Standard_eo.h.

Member Function Documentation

double Action_F_Standard_eo::calcH ( )
virtual

calculate Hamiltonian of this action term.

Implements Action.

Definition at line 73 of file action_F_Standard_eo.cpp.

void Action_F_Standard_eo::force ( Field )
virtual

returns force for molcular dynamical update of conjugate momenta.

Implements Action.

Definition at line 101 of file action_F_Standard_eo.cpp.

std::string Action_F_Standard_eo::get_label ( )
inline

Definition at line 81 of file action_F_Standard_eo.h.

double Action_F_Standard_eo::langevin ( RandomNumbers )
virtual

Langevis step.

Implements Action.

Definition at line 39 of file action_F_Standard_eo.cpp.

void Action_F_Standard_eo::set_config ( Field U)
virtual

setting pointer to the gauge configuration.

Implements Action.

Definition at line 28 of file action_F_Standard_eo.cpp.

void Action_F_Standard_eo::set_label ( const std::string  label)
inline

Definition at line 75 of file action_F_Standard_eo.h.

void Action_F_Standard_eo::set_parameters ( const Parameters params)
virtual

Implements Action.

Definition at line 19 of file action_F_Standard_eo.cpp.

Member Data Documentation

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

Definition at line 40 of file action_F_Standard_eo.h.

Fopr* Action_F_Standard_eo::m_fopr
private

Definition at line 43 of file action_F_Standard_eo.h.

Force* Action_F_Standard_eo::m_fopr_force
private

Definition at line 44 of file action_F_Standard_eo.h.

Fprop* Action_F_Standard_eo::m_fprop_H
private

Definition at line 49 of file action_F_Standard_eo.h.

Fprop* Action_F_Standard_eo::m_fprop_MD
private

Definition at line 48 of file action_F_Standard_eo.h.

std::string Action_F_Standard_eo::m_label
private

Definition at line 46 of file action_F_Standard_eo.h.

Field Action_F_Standard_eo::m_psf
private

Definition at line 45 of file action_F_Standard_eo.h.

Field* Action_F_Standard_eo::m_U
private

Definition at line 51 of file action_F_Standard_eo.h.


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