mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-04 05:54:32 +00:00 
			
		
		
		
	Hadron WeakEye and A2ALoop bug fixes, and WWVVContraction bug fix
This commit is contained in:
		@@ -89,7 +89,7 @@ std::vector<std::string> TA2ALoop<FImpl>::getInput(void)
 | 
			
		||||
template <typename FImpl>
 | 
			
		||||
std::vector<std::string> TA2ALoop<FImpl>::getOutput(void)
 | 
			
		||||
{
 | 
			
		||||
    std::vector<std::string> out = {};
 | 
			
		||||
    std::vector<std::string> out = {getName()};
 | 
			
		||||
    
 | 
			
		||||
    return out;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -52,7 +52,7 @@ BEGIN_HADRONS_NAMESPACE
 | 
			
		||||
 *                                        |
 | 
			
		||||
 *                one trace               |                two traces
 | 
			
		||||
 * 
 | 
			
		||||
 * one trace : tr(qbr*gOut*qs*adj(gIn)*g5*adj(qbl)*g5*G*loop*G*qbr*gOut)
 | 
			
		||||
 * one trace : tr(qbr*gOut*qs*adj(gIn)*g5*adj(qbl)*g5*G*loop*G)
 | 
			
		||||
 * two traces: tr(qbr*gOut*qs*adj(gIn)*g5*adj(qbl)*g5*G)*tr(loop*G)
 | 
			
		||||
 * 
 | 
			
		||||
 */
 | 
			
		||||
@@ -118,7 +118,7 @@ template <typename FImpl>
 | 
			
		||||
std::vector<std::string> TWeakEye3pt<FImpl>::getInput(void)
 | 
			
		||||
{
 | 
			
		||||
    std::vector<std::string> in = {par().qBarLeft, par().qBarRight, 
 | 
			
		||||
                                   par().qSpectator};
 | 
			
		||||
                                   par().qSpectator, par().loop};
 | 
			
		||||
    
 | 
			
		||||
    return in;
 | 
			
		||||
}
 | 
			
		||||
@@ -170,7 +170,7 @@ void TWeakEye3pt<FImpl>::execute(void)
 | 
			
		||||
 | 
			
		||||
        r.info.op = G.g;
 | 
			
		||||
        // one trace
 | 
			
		||||
        corr = trace(qbr*gOut*qst*adj(gIn)*g5*adj(qbl)*g5*G*loop*G*qbr*gOut);
 | 
			
		||||
        corr = trace(qbr*gOut*qst*adj(gIn)*g5*adj(qbl)*g5*G*loop*G);
 | 
			
		||||
        sliceSum(corr, buf, Tp);
 | 
			
		||||
        r.corr.clear();
 | 
			
		||||
        for (unsigned int t = 0; t < buf.size(); ++t)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user