mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-04 05:54:32 +00:00 
			
		
		
		
	fixed stout smearing for now
This commit is contained in:
		@@ -71,9 +71,13 @@ public:
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  /*! Default constructor. rho is constant in all directions, optionally except for orthogonal dimension */
 | 
					  /*! Default constructor. rho is constant in all directions, optionally except for orthogonal dimension */
 | 
				
			||||||
  Smear_Stout(double rho = 1.0, int orthogdim = -1)
 | 
					  /*Smear_Stout(double rho = 1.0, int orthogdim = -1)
 | 
				
			||||||
    : OwnedBase{new Smear_APE<Gimpl>(rho3D(rho,orthogdim))}, SmearBase{OwnedBase.get()} {
 | 
					    : OwnedBase{new Smear_APE<Gimpl>(rho3D(rho,orthogdim))}, SmearBase{OwnedBase.get()} {
 | 
				
			||||||
    assert(Nc == 3 && "Stout smearing currently implemented only for Nc==3");
 | 
					    assert(Nc == 3 && "Stout smearing currently implemented only for Nc==3");
 | 
				
			||||||
 | 
					  }*/
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  Smear_Stout(double rho = 1.0) : SmearBase(new Smear_APE<Gimpl>(rho)) {
 | 
				
			||||||
 | 
					    assert(Nc == 3);//                  "Stout smearing currently implemented only for Nc==3");
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  ~Smear_Stout() {}  // delete SmearBase...
 | 
					  ~Smear_Stout() {}  // delete SmearBase...
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -113,7 +113,8 @@ void TStoutSmearing3D<GImpl>::execute(void)
 | 
				
			|||||||
                 << " of 3D-stout smearing and rho= " << par().rho
 | 
					                 << " of 3D-stout smearing and rho= " << par().rho
 | 
				
			||||||
		 << "orthogonal to dimension " << par().orthogdim << std::endl;
 | 
							 << "orthogonal to dimension " << par().orthogdim << std::endl;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    Smear_Stout<GImpl> smearer(par().rho, par().orthogdim);
 | 
					    //Smear_Stout<GImpl> smearer(par().rho, par().orthogdim);
 | 
				
			||||||
 | 
					    Smear_Stout<GImpl> smearer(par().rho);
 | 
				
			||||||
    auto               &U    = envGet(GaugeField, par().gauge);
 | 
					    auto               &U    = envGet(GaugeField, par().gauge);
 | 
				
			||||||
    auto               &Usmr = envGet(GaugeField, getName());
 | 
					    auto               &Usmr = envGet(GaugeField, getName());
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user