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

#include <fopr_Rational_SF.h>

Inheritance diagram for Fopr_Rational_SF:
Fopr

Public Member Functions

 Fopr_Rational_SF (Fopr *fopr)
 
 ~Fopr_Rational_SF ()
 
void set_parameters (const Parameters &params)
 
void set_parameters (int Np, int n_exp, int d_exp, double x_min, double x_max, int Niter, double Stop_cond)
 
void set_config (Field *U)
 setting pointer to the gauge configuration. More...
 
const Field mult (const Field &f)
 
void mult (Field &v, const Field &f)
 multiplies fermion operator to a given field (2nd argument) More...
 
const Field mult_dag (const Field &f)
 hermitian conjugate of mult(const Field&). More...
 
void mult_dag (Field &v, const Field &f)
 hermitian conjugate of mult(Field&, const Field&). More...
 
double func (double x)
 
int field_nvol ()
 returns the volume for which the fermion operator is defined. More...
 
int field_nin ()
 returns the on-site d.o.f. for which the fermion operator is defined. More...
 
int field_nex ()
 returns the external d.o.f. for which the fermion operator is defined. More...
 
- Public Member Functions inherited from Fopr
 Fopr ()
 
virtual ~Fopr ()
 
void set_parameter_verboselevel (const Bridge::VerboseLevel vl)
 
virtual void mult_up (int mu, Field &, const Field &)
 nearest neighbor hopping term: temporary entry [H.Matsufuru] More...
 
virtual void mult_dn (int mu, Field &, const Field &)
 
virtual void set_mode (std::string mode)
 setting the mode of multiplication if necessary. Default implementation here is just to avoid irrelevant call. More...
 
virtual std::string get_mode () const
 
virtual double flop_count ()
 returns the flops per site. More...
 

Static Public Attributes

static const std::string class_name = "Fopr_Rational_SF"
 

Private Member Functions

void init_parameters ()
 

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
 
Foprm_fopr
 
Shiftsolver_CGm_solver
 
double m_a0
 
std::valarray< double > m_cl
 
std::valarray< double > m_bl
 
std::valarray< Fieldm_xq
 

Additional Inherited Members

- Protected Attributes inherited from Fopr
Bridge::VerboseLevel m_vl
 

Detailed Description

Definition at line 49 of file fopr_Rational_SF.h.

Constructor & Destructor Documentation

Fopr_Rational_SF::Fopr_Rational_SF ( Fopr fopr)
inline

Definition at line 71 of file fopr_Rational_SF.h.

Fopr_Rational_SF::~Fopr_Rational_SF ( )
inline

Definition at line 74 of file fopr_Rational_SF.h.

Member Function Documentation

int Fopr_Rational_SF::field_nex ( )
inlinevirtual

returns the external d.o.f. for which the fermion operator is defined.

Implements Fopr.

Definition at line 109 of file fopr_Rational_SF.h.

int Fopr_Rational_SF::field_nin ( )
inlinevirtual

returns the on-site d.o.f. for which the fermion operator is defined.

Implements Fopr.

Definition at line 108 of file fopr_Rational_SF.h.

int Fopr_Rational_SF::field_nvol ( )
inlinevirtual

returns the volume for which the fermion operator is defined.

Implements Fopr.

Definition at line 107 of file fopr_Rational_SF.h.

double Fopr_Rational_SF::func ( double  x)

Definition at line 198 of file fopr_Rational_SF.cpp.

void Fopr_Rational_SF::init_parameters ( )
private

Definition at line 124 of file fopr_Rational_SF.cpp.

const Field Fopr_Rational_SF::mult ( const Field b)
virtual

A modification from the original funtion is:

  • Set the source vector at the boundary to zero by set_boundary_zero(v)
  • Set the sokution vector at the boundary to zero by set_boundary_zero(v)

Implements Fopr.

Definition at line 166 of file fopr_Rational_SF.cpp.

void Fopr_Rational_SF::mult ( Field ,
const Field  
)
inlinevirtual

multiplies fermion operator to a given field (2nd argument)

Reimplemented from Fopr.

Definition at line 90 of file fopr_Rational_SF.h.

const Field Fopr_Rational_SF::mult_dag ( const Field )
inlinevirtual

hermitian conjugate of mult(const Field&).

Reimplemented from Fopr.

Definition at line 95 of file fopr_Rational_SF.h.

void Fopr_Rational_SF::mult_dag ( Field ,
const Field  
)
inlinevirtual

hermitian conjugate of mult(Field&, const Field&).

Reimplemented from Fopr.

Definition at line 100 of file fopr_Rational_SF.h.

void Fopr_Rational_SF::set_config ( Field )
inlinevirtual

setting pointer to the gauge configuration.

Implements Fopr.

Definition at line 83 of file fopr_Rational_SF.h.

void Fopr_Rational_SF::set_parameters ( const Parameters params)
virtual

Implements Fopr.

Definition at line 49 of file fopr_Rational_SF.cpp.

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

Definition at line 81 of file fopr_Rational_SF.cpp.

Member Data Documentation

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

Definition at line 52 of file fopr_Rational_SF.h.

double Fopr_Rational_SF::m_a0
private

Definition at line 64 of file fopr_Rational_SF.h.

std::valarray<double> Fopr_Rational_SF::m_bl
private

Definition at line 66 of file fopr_Rational_SF.h.

std::valarray<double> Fopr_Rational_SF::m_cl
private

Definition at line 65 of file fopr_Rational_SF.h.

int Fopr_Rational_SF::m_d_exp
private

Definition at line 56 of file fopr_Rational_SF.h.

Fopr* Fopr_Rational_SF::m_fopr
private

Definition at line 61 of file fopr_Rational_SF.h.

int Fopr_Rational_SF::m_n_exp
private

Definition at line 56 of file fopr_Rational_SF.h.

int Fopr_Rational_SF::m_Niter
private

Definition at line 58 of file fopr_Rational_SF.h.

int Fopr_Rational_SF::m_Np
private

Definition at line 55 of file fopr_Rational_SF.h.

Shiftsolver_CG* Fopr_Rational_SF::m_solver
private

Definition at line 62 of file fopr_Rational_SF.h.

double Fopr_Rational_SF::m_Stop_cond
private

Definition at line 59 of file fopr_Rational_SF.h.

double Fopr_Rational_SF::m_x_max
private

Definition at line 57 of file fopr_Rational_SF.h.

double Fopr_Rational_SF::m_x_min
private

Definition at line 57 of file fopr_Rational_SF.h.

std::valarray<Field> Fopr_Rational_SF::m_xq
private

Definition at line 67 of file fopr_Rational_SF.h.


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