pml: fix in material calculation

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
pull/10/head
Thorsten Liebig 2013-08-16 13:16:39 +02:00
parent eed200d1a3
commit 6c80ad021d
1 changed files with 1 additions and 1 deletions

View File

@ -396,7 +396,7 @@ bool Operator_Ext_UPML::BuildExtension()
pos[2] = loc_pos[2] + m_StartPos[2];
for (int n=0; n<3; ++n)
{
m_Op->Calc_EffMatPos(0,pos,eff_Mat);
m_Op->Calc_EffMatPos(n,pos,eff_Mat);
CalcGradingKappa(n, pos,__Z0__ ,kappa_v ,kappa_i);
nP = (n+1)%3;
nPP = (n+2)%3;