Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
fopr_Smeared.cpp
Go to the documentation of this file.
1 
14 #include "fopr_Smeared.h"
15 
16 #ifdef USE_FACTORY_AUTOREGISTER
17 namespace {
18  bool init = Fopr_Smeared::register_factory();
19 }
20 #endif
21 
22 const std::string Fopr_Smeared::class_name = "Fopr_Smeared";
23 
24 //====================================================================
26 {
27  const string str_vlevel = params.get_string("verbose_level");
28 
29  m_vl = vout.set_verbose_level(str_vlevel);
30 }
31 
32 
33 //====================================================================
35 {
37 
38  const int Nsmear = m_dr_smear->get_Nsmear();
39  Field *Uptr = m_dr_smear->getptr_smearedConfig(Nsmear);
40 
41  m_fopr->set_config(Uptr);
42 }
43 
44 
45 //====================================================================
46 //============================================================END=====
BridgeIO vout
Definition: bridgeIO.cpp:503
virtual void set_config(Field *)=0
setting pointer to the gauge configuration.
Container of Field-type object.
Definition: field.h:45
Class for parameters.
Definition: parameters.h:46
Fopr * m_fopr
Definition: fopr_Smeared.h:47
Bridge::VerboseLevel m_vl
Definition: fopr.h:127
void set_config(Field *U)
set pointer to original thin link variable
int get_Nsmear()
get number of applied smearing operation
Field * getptr_smearedConfig(const int i_smear)
get pointer to i-th smeared config (0th is original thin link)
void set_parameters(const Parameters &)
string get_string(const string &key) const
Definition: parameters.cpp:221
Director_Smear * m_dr_smear
Definition: fopr_Smeared.h:48
void set_config(Field *U)
set pointer to original thin link variable
static VerboseLevel set_verbose_level(const std::string &str)
Definition: bridgeIO.cpp:131
static const std::string class_name
Definition: fopr_Smeared.h:44