Subversion Repositories gelsvn

Rev

Rev 61 | Rev 304 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 61 Rev 299
Line 100... Line 100...
100
			 of the algorithm. */ 
100
			 of the algorithm. */ 
101
		for(int i=0;i<3;++i)
101
		for(int i=0;i<3;++i)
102
			{
102
			{
103
				const int k1 = (i + 1) % 3;
103
				const int k1 = (i + 1) % 3;
104
				const int k2 = (i + 2) % 3;
104
				const int k2 = (i + 2) % 3;
105
				disc[i][k1] = static_cast<long long int>(delta[i])*dir[k1];
105
				disc[i][k1] = static_cast<__int64>(delta[i])*dir[k1];
106
				disc[i][k2] = static_cast<long long int>(delta[i])*dir[k2];
106
				disc[i][k2] = static_cast<__int64>(delta[i])*dir[k2];
107
			}
107
			}
108
 
108
 
109
		// Finally, we set the cell position equal to the first_cell and we
109
		// Finally, we set the cell position equal to the first_cell and we
110
		// are ready to iterate.
110
		// are ready to iterate.
111
		cell = first_cell;
111
		cell = first_cell;