Bridge++  Version 1.5.4
 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 (unique_ptr< Fopr > &fopr, unique_ptr< Force > &fopr_force)
 
 ~Action_F_Standard_SF ()
 
void set_parameters (const Parameters &)
 
void set_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_SF"
 

Private Attributes

Foprm_fopr
 
Forcem_fopr_force
 
Field m_psf
 
std::string m_label
 
Solverm_solver
 
Fieldm_U
 
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) unique_ptr is introduced to avoid memory leaks [21 Mar 2015 Y.Namekawa]

Definition at line 54 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 82 of file action_F_Standard_SF.h.

Action_F_Standard_SF::Action_F_Standard_SF ( unique_ptr< Fopr > &  fopr,
unique_ptr< Force > &  fopr_force 
)
inline

Definition at line 88 of file action_F_Standard_SF.h.

Action_F_Standard_SF::~Action_F_Standard_SF ( )
inline

Definition at line 94 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 80 of file action_F_Standard_SF.cpp.

void Action_F_Standard_SF::force ( Field )
virtual

returns force for molcular dynamical update of conjugate momenta.

Implements Action.

Definition at line 116 of file action_F_Standard_SF.cpp.

std::string Action_F_Standard_SF::get_label ( )
inline

Definition at line 108 of file action_F_Standard_SF.h.

double Action_F_Standard_SF::langevin ( RandomNumbers )
virtual

Langevis step.

Implements Action.

Definition at line 43 of file action_F_Standard_SF.cpp.

void Action_F_Standard_SF::set_config ( Field U)
inlinevirtual

setting pointer to the gauge configuration.

Implements Action.

Definition at line 113 of file action_F_Standard_SF.h.

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

Definition at line 102 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 57 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 60 of file action_F_Standard_SF.h.

Force* Action_F_Standard_SF::m_fopr_force
private

Definition at line 61 of file action_F_Standard_SF.h.

std::string Action_F_Standard_SF::m_label
private

Definition at line 63 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 62 of file action_F_Standard_SF.h.

Solver* Action_F_Standard_SF::m_solver
private

Definition at line 65 of file action_F_Standard_SF.h.

Field* Action_F_Standard_SF::m_U
private

Definition at line 67 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: