improve default steady state probe positions

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
This commit is contained in:
Thorsten Liebig 2015-09-29 19:57:21 +02:00
parent 189b560e1d
commit 38ff1ce28c

View File

@ -734,12 +734,13 @@ int openEMS::SetupFDTD(const char* file)
{
for (int p=0;p<3;++p)
pos[p] = FDTD_Op->GetNumberOfLines(p)/2;
pos[n] = 10;
pos[n] *= 1/4;
Op_Ext_SSD->Add_E_Probe(pos, 0);
Op_Ext_SSD->Add_E_Probe(pos, 1);
Op_Ext_SSD->Add_E_Probe(pos, 2);
pos[n] = FDTD_Op->GetNumberOfLines(n)-10;
pos[n] *= 3/4;
Op_Ext_SSD->Add_E_Probe(pos, 0);
Op_Ext_SSD->Add_E_Probe(pos, 1);
Op_Ext_SSD->Add_E_Probe(pos, 2);