mirror of
				https://github.com/paboyle/Grid.git
				synced 2025-11-03 21:44:33 +00:00 
			
		
		
		
	small stuff
This commit is contained in:
		@@ -180,7 +180,7 @@ void TDistilVectors<FImpl>::execute(void)
 | 
			
		||||
		{
 | 
			
		||||
                    for (int ds = 0; ds < dp.SI; ds++) 
 | 
			
		||||
		    {
 | 
			
		||||
                        vecindex = inoise + dp.nnoise * dk + dp.nnoise * dp.LI * ds + dp.nnoise *dp.LI * dp.SI*dt;
 | 
			
		||||
                        vecindex = inoise + dp.nnoise * (dk + dp.LI * (ds + dp.SI * dt));
 | 
			
		||||
                        rho[vecindex] = 0;
 | 
			
		||||
                        for (int it = dt; it < Nt; it += dp.TI)
 | 
			
		||||
			{
 | 
			
		||||
@@ -218,7 +218,7 @@ void TDistilVectors<FImpl>::execute(void)
 | 
			
		||||
		{
 | 
			
		||||
                    for (int ds = 0; ds < dp.SI; ds++) 
 | 
			
		||||
		    {
 | 
			
		||||
                        vecindex = inoise + dp.nnoise * dk + dp.nnoise * dp.LI * ds + dp.nnoise *dp.LI *dp. SI*dt;
 | 
			
		||||
                        vecindex = inoise + dp.nnoise * (dk + dp.LI * (ds + dp.SI * dt));
 | 
			
		||||
                        phi[vecindex] = 0;
 | 
			
		||||
                        for (int t = Ntfirst; t < Ntfirst + Ntlocal; t++) 
 | 
			
		||||
			{
 | 
			
		||||
 
 | 
			
		||||
@@ -92,7 +92,8 @@ template <typename FImpl>
 | 
			
		||||
void TNoises<FImpl>::setup(void)
 | 
			
		||||
{
 | 
			
		||||
    const DistilParameters &dp{envGet(DistilParameters, par().DistilParams)};
 | 
			
		||||
    const int Nt{env().getDim(Tdir)}; 
 | 
			
		||||
    const int Nt{env().getDim(Tdir)};
 | 
			
		||||
    std::cout << dp.nnoise << dp.nvec << Nt << Ns << std::endl; 
 | 
			
		||||
    envCreate(NoiseTensor, getName(), 1, dp.nnoise, Nt, dp.nvec, Ns);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user