Bridge++
Version 1.5.4
|
action class for RHMC, with externally constructed Fopr_Rational. More...
#include <action_F_Rational.h>
Public Member Functions | |
Action_F_Rational (Fopr *fopr_langev, Fopr *fopr_H, Force *fopr_force_MD) | |
constructor requires pointers to Fopr and Force instances. More... | |
Action_F_Rational (unique_ptr< Fopr > &fopr_langev, unique_ptr< Fopr > &fopr_H, unique_ptr< Force > &fopr_force_MD) | |
~Action_F_Rational () | |
destructor. constructed instances are deconstructed in tydyup(). More... | |
void | set_parameters (const Parameters ¶ms) |
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 () |
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_Rational" |
Private Attributes | |
std::string | m_label |
Fopr * | m_fopr_langev |
Fopr * | m_fopr_H |
Force * | m_fopr_force_MD |
Field * | m_U |
Field | m_psf |
Additional Inherited Members | |
Protected Attributes inherited from Action | |
Bridge::VerboseLevel | m_vl |
action class for RHMC, with externally constructed Fopr_Rational.
For the class, Fopr and Force objects are instantiated outside the class and specified at the construction. This class just provides the framework of rational actions. [28 Dec 2011 H.Matsufuru] unique_ptr is introduced to avoid memory leaks [21 Mar 2015 Y.Namekawa]
Definition at line 37 of file action_F_Rational.h.
|
inline |
constructor requires pointers to Fopr and Force instances.
Definition at line 55 of file action_F_Rational.h.
|
inline |
Definition at line 61 of file action_F_Rational.h.
|
inline |
destructor. constructed instances are deconstructed in tydyup().
Definition at line 68 of file action_F_Rational.h.
|
virtual |
|
virtual |
returns the force for updating conjugate momentum.
Implements Action.
Definition at line 79 of file action_F_Rational.cpp.
|
inline |
returns the label of action.
Definition at line 80 of file action_F_Rational.h.
|
virtual |
Langevin step called at the beginning of HMC.
Implements Action.
Definition at line 28 of file action_F_Rational.cpp.
|
inlinevirtual |
|
inline |
set the label of action.
Definition at line 73 of file action_F_Rational.h.
|
virtual |
Implements Action.
Definition at line 19 of file action_F_Rational.cpp.
|
static |
Definition at line 40 of file action_F_Rational.h.
|
private |
Definition at line 47 of file action_F_Rational.h.
|
private |
Definition at line 46 of file action_F_Rational.h.
|
private |
Definition at line 45 of file action_F_Rational.h.
|
private |
Definition at line 43 of file action_F_Rational.h.
|
private |
Definition at line 51 of file action_F_Rational.h.
|
private |
Definition at line 49 of file action_F_Rational.h.