mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-10-31 20:14:32 +00:00 
			
		
		
		
	MSource::Convolution use type PropagatorField
This commit is contained in:
		| @@ -71,7 +71,7 @@ std::vector<std::string> TConvolution<FImpl>::getOutput(void) | |||||||
| template <typename FImpl> | template <typename FImpl> | ||||||
| void TConvolution<FImpl>::setup(void) | void TConvolution<FImpl>::setup(void) | ||||||
| { | { | ||||||
|     envCreateLat(LatticeFermion, getName()); |     envCreateLat(PropagatorField, getName()); | ||||||
|     envTmpLat(LatticeComplex, "momfield1"); |     envTmpLat(LatticeComplex, "momfield1"); | ||||||
|     envTmp(FFT, "fft", 1, env().getGrid()); |     envTmp(FFT, "fft", 1, env().getGrid()); | ||||||
| } | } | ||||||
| @@ -81,8 +81,8 @@ template <typename FImpl> | |||||||
| void TConvolution<FImpl>::execute(void) | void TConvolution<FImpl>::execute(void) | ||||||
| { | { | ||||||
|     auto &field1 = envGet(LatticeComplex, par().field1); |     auto &field1 = envGet(LatticeComplex, par().field1); | ||||||
|     auto &field2 = envGet(LatticeFermion, par().field2); |     auto &field2 = envGet(PropagatorField, par().field2); | ||||||
|     auto &out    = envGet(LatticeFermion, getName()); |     auto &out    = envGet(PropagatorField, getName()); | ||||||
|     envGetTmp(LatticeComplex, momfield1); |     envGetTmp(LatticeComplex, momfield1); | ||||||
|     envGetTmp(FFT, fft); |     envGetTmp(FFT, fft); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user