fix in operator PEC-calc
parent
73e2b153b6
commit
9b638b1568
|
@ -679,13 +679,13 @@ bool Operator::CalcPEC()
|
||||||
{
|
{
|
||||||
for (pos[2]=0;pos[2]<numLines[2];++pos[2])
|
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])
|
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])
|
for (pos[0]=0;pos[0]<numLines[0];++pos[0])
|
||||||
{
|
{
|
||||||
coord[0] = discLines[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]);
|
MainOp->SetPos(pos[0],pos[1],pos[2]);
|
||||||
delta=MainOp->GetIndexDelta(n,pos[n]);
|
delta=MainOp->GetIndexDelta(n,pos[n]);
|
||||||
coord[n]= discLines[n][pos[n]] + delta*0.5;
|
coord[n]= discLines[n][pos[n]] + delta*0.5;
|
||||||
|
|
Loading…
Reference in New Issue