Bridge++  Ver. 2.0.2
Fprop Class Referenceabstract

Base class for fermion propagator class family. More...

#include <fprop.h>

Inheritance diagram for Fprop:
Fprop_alt< AFIELD > Fprop_alt< AFIELD_d > Fprop_Standard_eo Fprop_Standard_lex Fprop_Standard_Precond Fprop_alt_QWS< AFIELD > Fprop_alt_Standard_eo< AFIELD > Fprop_alt_Standard_lex< AFIELD > Fprop_alt_Standard_SAP< AFIELD > Fprop_alt_Standard_eo_Mixedprec< AFIELD_d, AFIELD_f > Fprop_alt_Standard_eo_Richardson< AFIELD_d, AFIELD_f > Fprop_alt_Standard_lex_Mixedprec< AFIELD_d, AFIELD_f >

Public Member Functions

 Fprop ()
 
virtual ~Fprop ()
 
void set_parameter_verboselevel (const Bridge::VerboseLevel vl)
 
virtual void invert_D (Field &, const Field &, int &, double &)=0
 
virtual void invert_DdagD (Field &, const Field &, int &, double &)=0
 
virtual void set_config (Field *)=0
 
virtual double flop_count ()=0
 
virtual void invert (Field &x, const Field &b, int &nconv, double &diff)
 invert accordingly to the mode. [22 Sep 2018 H.Matsufuru] More...
 
virtual void set_mode (const std::string &mode)
 set the mode for invert(). [22 Sep 2018 H.Matsufuru] More...
 
virtual void reset_performance ()
 
virtual void get_performance (double &flop_count, double &elapsed_time)
 
virtual void report_performance ()
 
virtual void mult_performance (const std::string mode, const int Nrepeat)
 

Protected Attributes

Bridge::VerboseLevel m_vl
 
std::string m_mode
 

Private Member Functions

 Fprop (const Fprop &)
 
Fpropoperator= (const Fprop &)
 

Detailed Description

Base class for fermion propagator class family.

                                [28 Dec 2011 H.Matsufuru]

Introduce unique_ptr to avoid memory leaks. [21 Mar 2015 Y.Namekawa] Add flop_count. [ 8 Aug 2016 Y.Namekawa] m_mode is added as a protected member data. Methods added: invert(), set_mode(), reset_performance(), report_performance(), mult_performance(). [22 Sep 2018 H.Matsufuru]

Definition at line 34 of file fprop.h.

Constructor & Destructor Documentation

◆ Fprop() [1/2]

Fprop::Fprop ( )
inline

Definition at line 41 of file fprop.h.

◆ ~Fprop()

virtual Fprop::~Fprop ( )
inlinevirtual

Definition at line 44 of file fprop.h.

◆ Fprop() [2/2]

Fprop::Fprop ( const Fprop )
private

Member Function Documentation

◆ flop_count()

◆ get_performance()

virtual void Fprop::get_performance ( double &  flop_count,
double &  elapsed_time 
)
inlinevirtual

◆ invert()

◆ invert_D()

◆ invert_DdagD()

◆ mult_performance()

◆ operator=()

Fprop& Fprop::operator= ( const Fprop )
private

◆ report_performance()

◆ reset_performance()

◆ set_config()

◆ set_mode()

virtual void Fprop::set_mode ( const std::string &  mode)
inlinevirtual

set the mode for invert(). [22 Sep 2018 H.Matsufuru]

Definition at line 75 of file fprop.h.

◆ set_parameter_verboselevel()

void Fprop::set_parameter_verboselevel ( const Bridge::VerboseLevel  vl)
inline

Definition at line 52 of file fprop.h.

Member Data Documentation

◆ m_mode

std::string Fprop::m_mode
protected

Definition at line 38 of file fprop.h.

◆ m_vl

Bridge::VerboseLevel Fprop::m_vl
protected

Definition at line 37 of file fprop.h.


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