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

Force calculation for smeared fermion operators. More...

#include <force_F_Rational.h>

Inheritance diagram for Force_F_Rational:
Force

Public Member Functions

 Force_F_Rational (Fopr *fopr, Force *force)
 
 Force_F_Rational (unique_ptr< Fopr > &fopr, unique_ptr< Force > &force)
 
 ~Force_F_Rational ()
 
void set_parameters (const Parameters &params)
 
void set_parameters (const int Np, const int n_exp, const int d_exp, const double x_min, const double x_max, const int Niter, const double Stop_cond)
 
void set_config (Field *U)
 
void force_udiv (Field &, const Field &)
 
void force_core1 (Field &, const Field &, const Field &)
 
void force_udiv1 (Field &, const Field &, const Field &)
 
- Public Member Functions inherited from Force
 Force ()
 
virtual ~Force ()
 
void set_parameter_verboselevel (const Bridge::VerboseLevel vl)
 
virtual void set_mode (const std::string &mode)
 in Force, setting the mode is optional when H is nonhermitian. More...
 
virtual void force_core (Field &, const Field &)
 

Static Public Attributes

static const std::string class_name = "Force_F_Rational"
 

Private Member Functions

void force_udiv_impl (Field_G &, const Field_F &)
 

Private Attributes

int m_Np
 
int m_n_exp
 
int m_d_exp
 
double m_x_min
 
double m_x_max
 
int m_Niter
 
double m_Stop_cond
 
Field_Gm_U
 
Foprm_fopr
 
Forcem_force
 
double m_a0
 
std::vector< double > m_bl
 
std::vector< double > m_cl
 

Additional Inherited Members

- Protected Attributes inherited from Force
Field_Gm_U
 
Bridge::VerboseLevel m_vl
 

Detailed Description

Force calculation for smeared fermion operators.

This class determines the force of a rational approximation for a given fermion operator. 28 Dec 2011 H.Matsufuru YAML is implemented. [14 Nov 2012 Y.Namekawa] unique_ptr is introduced to avoid memory leaks [21 Mar 2015 Y.Namekawa]

Definition at line 39 of file force_F_Rational.h.

Constructor & Destructor Documentation

Force_F_Rational::Force_F_Rational ( Fopr fopr,
Force force 
)
inline

Definition at line 61 of file force_F_Rational.h.

Force_F_Rational::Force_F_Rational ( unique_ptr< Fopr > &  fopr,
unique_ptr< Force > &  force 
)
inline

Definition at line 64 of file force_F_Rational.h.

Force_F_Rational::~Force_F_Rational ( )
inline

Definition at line 67 of file force_F_Rational.h.

Member Function Documentation

void Force_F_Rational::force_core1 ( Field ,
const Field ,
const Field  
)
virtual

Reimplemented from Force.

Definition at line 164 of file force_F_Rational.cpp.

void Force_F_Rational::force_udiv ( Field force_,
const Field eta_ 
)
virtual

Reimplemented from Force.

Definition at line 109 of file force_F_Rational.cpp.

void Force_F_Rational::force_udiv1 ( Field ,
const Field ,
const Field  
)
virtual

Reimplemented from Force.

Definition at line 172 of file force_F_Rational.cpp.

void Force_F_Rational::force_udiv_impl ( Field_G force,
const Field_F eta 
)
private

Definition at line 124 of file force_F_Rational.cpp.

void Force_F_Rational::set_config ( Field U)
inlinevirtual

Implements Force.

Definition at line 73 of file force_F_Rational.h.

void Force_F_Rational::set_parameters ( const Parameters params)
virtual

Implements Force.

Definition at line 19 of file force_F_Rational.cpp.

void Force_F_Rational::set_parameters ( const int  Np,
const int  n_exp,
const int  d_exp,
const double  x_min,
const double  x_max,
const int  Niter,
const double  Stop_cond 
)

Definition at line 51 of file force_F_Rational.cpp.

Member Data Documentation

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

Definition at line 42 of file force_F_Rational.h.

double Force_F_Rational::m_a0
private

Definition at line 56 of file force_F_Rational.h.

std::vector<double> Force_F_Rational::m_bl
private

Definition at line 57 of file force_F_Rational.h.

std::vector<double> Force_F_Rational::m_cl
private

Definition at line 58 of file force_F_Rational.h.

int Force_F_Rational::m_d_exp
private

Definition at line 46 of file force_F_Rational.h.

Fopr* Force_F_Rational::m_fopr
private

Definition at line 52 of file force_F_Rational.h.

Force* Force_F_Rational::m_force
private

Definition at line 53 of file force_F_Rational.h.

int Force_F_Rational::m_n_exp
private

Definition at line 46 of file force_F_Rational.h.

int Force_F_Rational::m_Niter
private

Definition at line 48 of file force_F_Rational.h.

int Force_F_Rational::m_Np
private

Definition at line 45 of file force_F_Rational.h.

double Force_F_Rational::m_Stop_cond
private

Definition at line 49 of file force_F_Rational.h.

Field_G* Force_F_Rational::m_U
private

Definition at line 51 of file force_F_Rational.h.

double Force_F_Rational::m_x_max
private

Definition at line 47 of file force_F_Rational.h.

double Force_F_Rational::m_x_min
private

Definition at line 47 of file force_F_Rational.h.


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