From c271a6822667ce543a9328d6001c3b824ed945e2 Mon Sep 17 00:00:00 2001 From: Thorsten Liebig Date: Fri, 26 Nov 2010 14:51:39 +0100 Subject: [PATCH] matlab: fix in lumped port priorities --- matlab/AddLumpedPort.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matlab/AddLumpedPort.m b/matlab/AddLumpedPort.m index ceb5e2c..d6b5046 100644 --- a/matlab/AddLumpedPort.m +++ b/matlab/AddLumpedPort.m @@ -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);