fix in operator PEC-calc

pull/1/head
Thorsten Liebig 2010-03-12 08:38:07 +01:00
parent 73e2b153b6
commit 9b638b1568
1 changed files with 2 additions and 2 deletions

View File

@ -679,13 +679,13 @@ bool Operator::CalcPEC()
{
for (pos[2]=0;pos[2]<numLines[2];++pos[2])
{
coord[2] = discLines[2][pos[2]];
for (pos[1]=0;pos[1]<numLines[1];++pos[1])
{
coord[1] = discLines[1][pos[1]];
for (pos[0]=0;pos[0]<numLines[0];++pos[0])
{
coord[0] = discLines[0][pos[0]];
coord[1] = discLines[1][pos[1]];
coord[2] = discLines[2][pos[2]];
MainOp->SetPos(pos[0],pos[1],pos[2]);
delta=MainOp->GetIndexDelta(n,pos[n]);
coord[n]= discLines[n][pos[n]] + delta*0.5;