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

Standard fermion action with SF BC for HMC. More...

#include <action_F_Standard_SF.h>

Inheritance diagram for Action_F_Standard_SF:
Action

Public Member Functions

 Action_F_Standard_SF (Fopr *fopr, Force *fopr_force)
 
 ~Action_F_Standard_SF ()
 
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_Standard_SF"
 

Private Attributes

Foprm_fopr
 
Forcem_fopr_force
 
Field m_psf
 
std::string m_label
 
Field m_force
 
Solverm_solver
 
Fieldm_U
 
int m_status_linkv
 
RandomNumbersm_rand
 
Communicatorcomm
 Needed to know a node at the temporal boundary. More...
 
int Svol
 A spatial volume in a node. More...
 
int m_Nc2
 number of the doubled color elements More...
 
int m_Nd
 dimension of the spinor index More...
 

Additional Inherited Members

- Protected Attributes inherited from Action
Bridge::VerboseLevel m_vl
 

Detailed Description

Standard fermion action with SF BC for HMC.

This class defines an action with SF BC used in HMC.

  • Generated by copying Action_F_Standard class.
  • The argument Fopr and Force of the constructor should be implemented for the SF BC.
  • The only modification is in Action_F_Standard_SF::langevin
    • For the calculation of the initial Hamiltonian the pre-pseudo fermion field xi is set to zero at the boundary.
    • A private function set_boundary_zero(Field&) is introduced for this bounadry manipulation.
    • A few private members are added for this function.
  • The following properties are the same as those of the Action_F_Standard class.
    • Fermion and Force operators and given at the construction.
    • The solver is explicitly set to CG algorithm whose object is created in set_parameters().
  • [05 Apr 2012 Y.Yusuke]

selector is implemented. [02 Feb 2013 Y.Namekawa] (Selectors are replaced with factories by Aoyama-san)

Definition at line 50 of file action_F_Standard_SF.h.

Constructor & Destructor Documentation

Action_F_Standard_SF::Action_F_Standard_SF ( Fopr fopr,
Force fopr_force 
)
inline

Definition at line 83 of file action_F_Standard_SF.h.

Action_F_Standard_SF::~Action_F_Standard_SF ( )
inline

Definition at line 89 of file action_F_Standard_SF.h.

Member Function Documentation

double Action_F_Standard_SF::calcH ( )
virtual

calculate Hamiltonian of this action term.

Implements Action.

Definition at line 89 of file action_F_Standard_SF.cpp.

const Field Action_F_Standard_SF::force ( )
virtual

returns force for molcular dynamical update of conjugate momenta.

Implements Action.

Definition at line 126 of file action_F_Standard_SF.cpp.

std::string Action_F_Standard_SF::get_label ( )
inline

Definition at line 103 of file action_F_Standard_SF.h.

double Action_F_Standard_SF::langevin ( RandomNumbers )
virtual

Langevis step.

Implements Action.

Definition at line 53 of file action_F_Standard_SF.cpp.

void Action_F_Standard_SF::notify_linkv ( )
inlinevirtual

to be called when gauge configuration is updated.

Implements Action.

Definition at line 115 of file action_F_Standard_SF.h.

void Action_F_Standard_SF::set_config ( Field U)
inlinevirtual

setting pointer to the gauge configuration.

Implements Action.

Definition at line 108 of file action_F_Standard_SF.h.

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

Definition at line 97 of file action_F_Standard_SF.h.

void Action_F_Standard_SF::set_parameters ( const Parameters params)
virtual

Implements Action.

Definition at line 19 of file action_F_Standard_SF.cpp.

void Action_F_Standard_SF::set_parameters ( )

Definition at line 28 of file action_F_Standard_SF.cpp.

Member Data Documentation

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

Definition at line 53 of file action_F_Standard_SF.h.

Communicator* Action_F_Standard_SF::comm
private

Needed to know a node at the temporal boundary.

Definition at line 70 of file action_F_Standard_SF.h.

Fopr* Action_F_Standard_SF::m_fopr
private

Definition at line 56 of file action_F_Standard_SF.h.

Force* Action_F_Standard_SF::m_fopr_force
private

Definition at line 57 of file action_F_Standard_SF.h.

Field Action_F_Standard_SF::m_force
private

Definition at line 60 of file action_F_Standard_SF.h.

std::string Action_F_Standard_SF::m_label
private

Definition at line 59 of file action_F_Standard_SF.h.

int Action_F_Standard_SF::m_Nc2
private

number of the doubled color elements

Definition at line 74 of file action_F_Standard_SF.h.

int Action_F_Standard_SF::m_Nd
private

dimension of the spinor index

Definition at line 76 of file action_F_Standard_SF.h.

Field Action_F_Standard_SF::m_psf
private

Definition at line 58 of file action_F_Standard_SF.h.

RandomNumbers* Action_F_Standard_SF::m_rand
private

Definition at line 67 of file action_F_Standard_SF.h.

Solver* Action_F_Standard_SF::m_solver
private

Definition at line 62 of file action_F_Standard_SF.h.

int Action_F_Standard_SF::m_status_linkv
private

Definition at line 65 of file action_F_Standard_SF.h.

Field* Action_F_Standard_SF::m_U
private

Definition at line 64 of file action_F_Standard_SF.h.

int Action_F_Standard_SF::Svol
private

A spatial volume in a node.

Definition at line 72 of file action_F_Standard_SF.h.


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