matlab: fix in lumped port priorities

pull/1/head
Thorsten Liebig 2010-11-26 14:51:39 +01:00
parent 2c60bf042e
commit c271a68226
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@ kappa_cell{1} = kappa*dir(1);
kappa_cell{2} = kappa*dir(2);
kappa_cell{3} = kappa*dir(3);
CSX = SetMaterialProperty( CSX, ['port' num2str(portnr) '_sheet_resistance'], 'Kappa', kappa_cell );
CSX = AddBox( CSX, ['port' num2str(portnr) '_sheet_resistance'], 0, m_start, m_stop );
CSX = AddBox( CSX, ['port' num2str(portnr) '_sheet_resistance'], 999, m_start, m_stop );
% calculate position of the voltage probe
v_start(idx_plane) = start(idx_plane);