changed xml style

pull/1/head
Thorsten Liebig 2010-03-12 21:14:17 +01:00
parent b9a3165aac
commit bb7aa0b2a3
6 changed files with 346 additions and 315 deletions

View File

@ -1,100 +1,102 @@
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?> <?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?>
<openEMS-Parameter NumberOfTimesteps="1000"> <openEMS>
<Excitation Type="0" f0="1000000000" fc="1000000000" /> <FDTD NumberOfTimesteps="1000">
<BoundaryCond xmin="0" xmax="0" ymin="0" ymax="0" zmin="0" zmax="0" /> <Excitation Type="0" f0="1000000000" fc="1000000000" />
</openEMS-Parameter> <BoundaryCond xmin="0" xmax="0" ymin="0" ymax="0" zmin="0" zmax="0" />
<ContinuousStructure> </FDTD>
<RectilinearGrid DeltaUnit="0.001000"> <ContinuousStructure>
<XLines Qty="93">-230,-225,-220,-215,-210,-205,-200,-195,-190,-185,-180,-175,-170,-165,-160,-155,-150,-145,-140,-135,-130,-125,-120,-115,-110,-105,-100,-95,-90,-85,-80,-75,-70,-65,-60,-55,-50,-45,-40,-35,-30,-25,-20,-15,-10,-5,0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100,105,110,115,120,125,130,135,140,145,150,155,160,165,170,175,180,185,190,195,200,205,210,215,220,225,230</XLines> <RectilinearGrid DeltaUnit="0.001000">
<YLines Qty="93">-230,-225,-220,-215,-210,-205,-200,-195,-190,-185,-180,-175,-170,-165,-160,-155,-150,-145,-140,-135,-130,-125,-120,-115,-110,-105,-100,-95,-90,-85,-80,-75,-70,-65,-60,-55,-50,-45,-40,-35,-30,-25,-20,-15,-10,-5,0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100,105,110,115,120,125,130,135,140,145,150,155,160,165,170,175,180,185,190,195,200,205,210,215,220,225,230</YLines> <XLines Qty="93">-230,-225,-220,-215,-210,-205,-200,-195,-190,-185,-180,-175,-170,-165,-160,-155,-150,-145,-140,-135,-130,-125,-120,-115,-110,-105,-100,-95,-90,-85,-80,-75,-70,-65,-60,-55,-50,-45,-40,-35,-30,-25,-20,-15,-10,-5,0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100,105,110,115,120,125,130,135,140,145,150,155,160,165,170,175,180,185,190,195,200,205,210,215,220,225,230</XLines>
<ZLines Qty="201">-500,-490,-480,-470,-460,-450,-440,-430,-420,-410,-400,-390,-380,-370,-360,-350,-340,-330,-320,-310,-300,-290,-280,-270,-260,-250,-240,-230,-220,-210,-200,-190,-180,-170,-160,-150,-140,-130,-120,-110,-100,-90,-80,-70,-60,-50,-40,-30,-20,-10,0,10,20,30,40,50,60,70,80,90,100,110,120,130,140,150,160,170,180,190,200,210,220,230,240,250,260,270,280,290,300,310,320,330,340,350,360,370,380,390,400,410,420,430,440,450,460,470,480,490,500,510,520,530,540,550,560,570,580,590,600,610,620,630,640,650,660,670,680,690,700,710,720,730,740,750,760,770,780,790,800,810,820,830,840,850,860,870,880,890,900,910,920,930,940,950,960,970,980,990,1000,1010,1020,1030,1040,1050,1060,1070,1080,1090,1100,1110,1120,1130,1140,1150,1160,1170,1180,1190,1200,1210,1220,1230,1240,1250,1260,1270,1280,1290,1300,1310,1320,1330,1340,1350,1360,1370,1380,1390,1400,1410,1420,1430,1440,1450,1460,1470,1480,1490,1500</ZLines> <YLines Qty="93">-230,-225,-220,-215,-210,-205,-200,-195,-190,-185,-180,-175,-170,-165,-160,-155,-150,-145,-140,-135,-130,-125,-120,-115,-110,-105,-100,-95,-90,-85,-80,-75,-70,-65,-60,-55,-50,-45,-40,-35,-30,-25,-20,-15,-10,-5,0,5,10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85,90,95,100,105,110,115,120,125,130,135,140,145,150,155,160,165,170,175,180,185,190,195,200,205,210,215,220,225,230</YLines>
</RectilinearGrid> <ZLines Qty="201">-500,-490,-480,-470,-460,-450,-440,-430,-420,-410,-400,-390,-380,-370,-360,-350,-340,-330,-320,-310,-300,-290,-280,-270,-260,-250,-240,-230,-220,-210,-200,-190,-180,-170,-160,-150,-140,-130,-120,-110,-100,-90,-80,-70,-60,-50,-40,-30,-20,-10,0,10,20,30,40,50,60,70,80,90,100,110,120,130,140,150,160,170,180,190,200,210,220,230,240,250,260,270,280,290,300,310,320,330,340,350,360,370,380,390,400,410,420,430,440,450,460,470,480,490,500,510,520,530,540,550,560,570,580,590,600,610,620,630,640,650,660,670,680,690,700,710,720,730,740,750,760,770,780,790,800,810,820,830,840,850,860,870,880,890,900,910,920,930,940,950,960,970,980,990,1000,1010,1020,1030,1040,1050,1060,1070,1080,1090,1100,1110,1120,1130,1140,1150,1160,1170,1180,1190,1200,1210,1220,1230,1240,1250,1260,1270,1280,1290,1300,1310,1320,1330,1340,1350,1360,1370,1380,1390,1400,1410,1420,1430,1440,1450,1460,1470,1480,1490,1500</ZLines>
<ParameterSet /> </RectilinearGrid>
<Properties> <ParameterSet />
<Material ID="0" Name="" Isotropy="1"> <Properties>
<FillColor R="90" G="37" B="93" a="255" /> <Material ID="0" Name="" Isotropy="1">
<EdgeColor R="90" G="37" B="93" a="255" /> <FillColor R="90" G="37" B="93" a="255" />
<Property Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.875000e-10" Sigma="2.661107e-05" /> <EdgeColor R="90" G="37" B="93" a="255" />
<PropertyY Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" /> <Property Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.875000e-10" Sigma="2.661107e-05" />
<PropertyZ Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" /> <PropertyY Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" />
<WeightX Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="term:pow(abs(z)-1300,4)" Sigma="term:pow(abs(z)-1300,4)" /> <PropertyZ Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" />
<WeightY Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="term:pow(abs(z)-1300,4)" Sigma="term:pow(abs(z)-1300,4)" /> <WeightX Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="term:pow(abs(z)-1300,4)" Sigma="term:pow(abs(z)-1300,4)" />
<WeightZ Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="term:pow(abs(z)-1300,4)" Sigma="term:pow(abs(z)-1300,4)" /> <WeightY Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="term:pow(abs(z)-1300,4)" Sigma="term:pow(abs(z)-1300,4)" />
</Material> <WeightZ Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="term:pow(abs(z)-1300,4)" Sigma="term:pow(abs(z)-1300,4)" />
<Electrode ID="1" Name="" Number="0" Delay="0.000000e+00"> </Material>
<FillColor R="5" G="23" B="88" a="255" /> <Electrode ID="1" Name="" Number="0" Delay="0.000000e+00">
<EdgeColor R="5" G="23" B="88" a="255" /> <FillColor R="5" G="23" B="88" a="255" />
<Excitation Type="0" Excit_X="1.000000e+00" Excit_Y="1.000000e+00" Excit_Z="0.000000e+00" /> <EdgeColor R="5" G="23" B="88" a="255" />
<Weight X="term:x/pow(rho,2)" Y="term:y/pow(rho,2)" Z="1.000000e+00" /> <Excitation Type="0" Excit_X="1.000000e+00" Excit_Y="1.000000e+00" Excit_Z="0.000000e+00" />
</Electrode> <Weight X="term:x/pow(rho,2)" Y="term:y/pow(rho,2)" Z="1.000000e+00" />
<DumpBox ID="2" Name="Et_" GlobalSetting="1" DumpType="0" DumpMode="2"> </Electrode>
<FillColor R="233" G="94" B="212" a="255" /> <DumpBox ID="2" Name="Et_" GlobalSetting="1" DumpType="0" DumpMode="2">
<EdgeColor R="233" G="94" B="212" a="255" /> <FillColor R="233" G="94" B="212" a="255" />
<ScalarDump DumpPhi="1" DumpDivE="0" DumpDivD="0" DumpDivP="0" DumpFieldW="0" DumpChargeW="0" /> <EdgeColor R="233" G="94" B="212" a="255" />
<VectorDump DumpEField="0" DumpDField="0" DumpPField="0" /> <ScalarDump DumpPhi="1" DumpDivE="0" DumpDivD="0" DumpDivP="0" DumpFieldW="0" DumpChargeW="0" />
<SubGridDump SubGridDump="0" SimpleDump="0" SubGridLevel="-1" /> <VectorDump DumpEField="0" DumpDField="0" DumpPField="0" />
</DumpBox> <SubGridDump SubGridDump="0" SimpleDump="0" SubGridLevel="-1" />
<ProbeBox ID="3" Name="u1" Number="0" Type="0"> </DumpBox>
<FillColor R="171" G="178" B="205" a="255" /> <ProbeBox ID="3" Name="u1" Number="0" Type="0">
<EdgeColor R="171" G="178" B="205" a="255" /> <FillColor R="171" G="178" B="205" a="255" />
</ProbeBox> <EdgeColor R="171" G="178" B="205" a="255" />
<ProbeBox ID="4" Name="i1" Number="0" Type="1"> </ProbeBox>
<FillColor R="198" G="155" B="180" a="255" /> <ProbeBox ID="4" Name="i1" Number="0" Type="1">
<EdgeColor R="198" G="155" B="180" a="255" /> <FillColor R="198" G="155" B="180" a="255" />
</ProbeBox> <EdgeColor R="198" G="155" B="180" a="255" />
<Material ID="5" Name="" Isotropy="1"> </ProbeBox>
<FillColor R="84" G="17" B="14" a="255" /> <Material ID="5" Name="" Isotropy="1">
<EdgeColor R="84" G="17" B="14" a="255" /> <FillColor R="84" G="17" B="14" a="255" />
<Property Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="5.600000e+10" Sigma="0.000000e+00" /> <EdgeColor R="84" G="17" B="14" a="255" />
<PropertyY Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" /> <Property Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="5.600000e+10" Sigma="0.000000e+00" />
<PropertyZ Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" /> <PropertyY Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" />
<WeightX Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.000000e+00" Sigma="1.000000e+00" /> <PropertyZ Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" />
<WeightY Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.000000e+00" Sigma="1.000000e+00" /> <WeightX Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.000000e+00" Sigma="1.000000e+00" />
<WeightZ Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.000000e+00" Sigma="1.000000e+00" /> <WeightY Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.000000e+00" Sigma="1.000000e+00" />
</Material> <WeightZ Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.000000e+00" Sigma="1.000000e+00" />
<Material ID="6" Name="" Isotropy="1"> </Material>
<FillColor R="130" G="116" B="65" a="255" /> <Material ID="6" Name="" Isotropy="1">
<EdgeColor R="130" G="116" B="65" a="255" /> <FillColor R="130" G="116" B="65" a="255" />
<Property Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" /> <EdgeColor R="130" G="116" B="65" a="255" />
<PropertyY Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" /> <Property Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" />
<PropertyZ Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" /> <PropertyY Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" />
<WeightX Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.000000e+00" Sigma="1.000000e+00" /> <PropertyZ Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" />
<WeightY Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.000000e+00" Sigma="1.000000e+00" /> <WeightX Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.000000e+00" Sigma="1.000000e+00" />
<WeightZ Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.000000e+00" Sigma="1.000000e+00" /> <WeightY Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.000000e+00" Sigma="1.000000e+00" />
</Material> <WeightZ Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.000000e+00" Sigma="1.000000e+00" />
</Properties> </Material>
<Primitives> </Properties>
<Box ID="0" PropertyID="0" Priority="10"> <Primitives>
<P1 X="-2.300000e+02" Y="-2.300000e+02" Z="1.300000e+03" /> <Box ID="0" PropertyID="0" Priority="10">
<P2 X="2.300000e+02" Y="2.300000e+02" Z="1.500000e+03" /> <P1 X="-2.300000e+02" Y="-2.300000e+02" Z="1.300000e+03" />
</Box> <P2 X="2.300000e+02" Y="2.300000e+02" Z="1.500000e+03" />
<Box ID="1" PropertyID="1" Priority="5"> </Box>
<P1 X="-2.300000e+02" Y="-2.300000e+02" Z="-5.000000e+02" /> <Box ID="1" PropertyID="1" Priority="5">
<P2 X="2.300000e+02" Y="2.300000e+02" Z="-5.000000e+02" /> <P1 X="-2.300000e+02" Y="-2.300000e+02" Z="-5.000000e+02" />
</Box> <P2 X="2.300000e+02" Y="2.300000e+02" Z="-5.000000e+02" />
<Box ID="2" PropertyID="2" Priority="0"> </Box>
<P1 X="-2.300000e+02" Y="0.000000e+00" Z="-5.000000e+02" /> <Box ID="2" PropertyID="2" Priority="0">
<P2 X="2.300000e+02" Y="0.000000e+00" Z="1.500000e+03" /> <P1 X="-2.300000e+02" Y="0.000000e+00" Z="-5.000000e+02" />
</Box> <P2 X="2.300000e+02" Y="0.000000e+00" Z="1.500000e+03" />
<Box ID="3" PropertyID="3" Priority="0"> </Box>
<P1 X="1.000000e+02" Y="0.000000e+00" Z="0.000000e+00" /> <Box ID="3" PropertyID="3" Priority="0">
<P2 X="2.300000e+02" Y="0.000000e+00" Z="0.000000e+00" /> <P1 X="1.000000e+02" Y="0.000000e+00" Z="0.000000e+00" />
</Box> <P2 X="2.300000e+02" Y="0.000000e+00" Z="0.000000e+00" />
<Box ID="4" PropertyID="4" Priority="0"> </Box>
<P1 X="-1.500000e+02" Y="-1.500000e+02" Z="0.000000e+00" /> <Box ID="4" PropertyID="4" Priority="0">
<P2 X="1.500000e+02" Y="1.500000e+02" Z="0.000000e+00" /> <P1 X="-1.500000e+02" Y="-1.500000e+02" Z="0.000000e+00" />
</Box> <P2 X="1.500000e+02" Y="1.500000e+02" Z="0.000000e+00" />
<Cylinder ID="5" PropertyID="5" Priority="100" Radius="1.000000e+02"> </Box>
<P0 X="0.000000e+00" Y="0.000000e+00" Z="-5.000000e+02" /> <Cylinder ID="5" PropertyID="5" Priority="100" Radius="1.000000e+02">
<P1 X="0.000000e+00" Y="0.000000e+00" Z="1.500000e+03" /> <P0 X="0.000000e+00" Y="0.000000e+00" Z="-5.000000e+02" />
</Cylinder> <P1 X="0.000000e+00" Y="0.000000e+00" Z="1.500000e+03" />
<Box ID="6" PropertyID="5" Priority="1"> </Cylinder>
<P1 X="-2.300000e+02" Y="-2.300000e+02" Z="-5.000000e+02" /> <Box ID="6" PropertyID="5" Priority="1">
<P2 X="2.300000e+02" Y="2.300000e+02" Z="1.500000e+03" /> <P1 X="-2.300000e+02" Y="-2.300000e+02" Z="-5.000000e+02" />
</Box> <P2 X="2.300000e+02" Y="2.300000e+02" Z="1.500000e+03" />
<Cylinder ID="7" PropertyID="6" Priority="9" Radius="2.300000e+02"> </Box>
<P0 X="0.000000e+00" Y="0.000000e+00" Z="-5.000000e+02" /> <Cylinder ID="7" PropertyID="6" Priority="9" Radius="2.300000e+02">
<P1 X="0.000000e+00" Y="0.000000e+00" Z="1.500000e+03" /> <P0 X="0.000000e+00" Y="0.000000e+00" Z="-5.000000e+02" />
</Cylinder> <P1 X="0.000000e+00" Y="0.000000e+00" Z="1.500000e+03" />
</Primitives> </Cylinder>
</ContinuousStructure> </Primitives>
</ContinuousStructure>
</openEMS>

View File

@ -1,41 +1,43 @@
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?> <?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?>
<openEMS-Parameter NumberOfTimesteps="1000"> <openEMS>
<Excitation Type="0" f0="500000000" fc="500000000" /> <FDTD NumberOfTimesteps="1000">
<BoundaryCond xmin="1" xmax="1" ymin="0" ymax="0" zmin="0" zmax="0" /> <Excitation Type="0" f0="500000000" fc="500000000" />
</openEMS-Parameter> <BoundaryCond xmin="1" xmax="1" ymin="0" ymax="0" zmin="0" zmax="0" />
<ContinuousStructure> </FDTD>
<RectilinearGrid DeltaUnit="0.001000"> <ContinuousStructure>
<XLines Qty="100">-990,-970,-950,-930,-910,-890,-870,-850,-830,-810,-790,-770,-750,-730,-710,-690,-670,-650,-630,-610,-590,-570,-550,-530,-510,-490,-470,-450,-430,-410,-390,-370,-350,-330,-310,-290,-270,-250,-230,-210,-190,-170,-150,-130,-110,-90,-70,-50,-30,-10,10,30,50,70,90,110,130,150,170,190,210,230,250,270,290,310,330,350,370,390,410,430,450,470,490,510,530,550,570,590,610,630,650,670,690,710,730,750,770,790,810,830,850,870,890,910,930,950,970,990</XLines> <RectilinearGrid DeltaUnit="0.001000">
<YLines Qty="100">-990,-970,-950,-930,-910,-890,-870,-850,-830,-810,-790,-770,-750,-730,-710,-690,-670,-650,-630,-610,-590,-570,-550,-530,-510,-490,-470,-450,-430,-410,-390,-370,-350,-330,-310,-290,-270,-250,-230,-210,-190,-170,-150,-130,-110,-90,-70,-50,-30,-10,10,30,50,70,90,110,130,150,170,190,210,230,250,270,290,310,330,350,370,390,410,430,450,470,490,510,530,550,570,590,610,630,650,670,690,710,730,750,770,790,810,830,850,870,890,910,930,950,970,990</YLines> <XLines Qty="100">-990,-970,-950,-930,-910,-890,-870,-850,-830,-810,-790,-770,-750,-730,-710,-690,-670,-650,-630,-610,-590,-570,-550,-530,-510,-490,-470,-450,-430,-410,-390,-370,-350,-330,-310,-290,-270,-250,-230,-210,-190,-170,-150,-130,-110,-90,-70,-50,-30,-10,10,30,50,70,90,110,130,150,170,190,210,230,250,270,290,310,330,350,370,390,410,430,450,470,490,510,530,550,570,590,610,630,650,670,690,710,730,750,770,790,810,830,850,870,890,910,930,950,970,990</XLines>
<ZLines Qty="100">-990,-970,-950,-930,-910,-890,-870,-850,-830,-810,-790,-770,-750,-730,-710,-690,-670,-650,-630,-610,-590,-570,-550,-530,-510,-490,-470,-450,-430,-410,-390,-370,-350,-330,-310,-290,-270,-250,-230,-210,-190,-170,-150,-130,-110,-90,-70,-50,-30,-10,10,30,50,70,90,110,130,150,170,190,210,230,250,270,290,310,330,350,370,390,410,430,450,470,490,510,530,550,570,590,610,630,650,670,690,710,730,750,770,790,810,830,850,870,890,910,930,950,970,990</ZLines> <YLines Qty="100">-990,-970,-950,-930,-910,-890,-870,-850,-830,-810,-790,-770,-750,-730,-710,-690,-670,-650,-630,-610,-590,-570,-550,-530,-510,-490,-470,-450,-430,-410,-390,-370,-350,-330,-310,-290,-270,-250,-230,-210,-190,-170,-150,-130,-110,-90,-70,-50,-30,-10,10,30,50,70,90,110,130,150,170,190,210,230,250,270,290,310,330,350,370,390,410,430,450,470,490,510,530,550,570,590,610,630,650,670,690,710,730,750,770,790,810,830,850,870,890,910,930,950,970,990</YLines>
</RectilinearGrid> <ZLines Qty="100">-990,-970,-950,-930,-910,-890,-870,-850,-830,-810,-790,-770,-750,-730,-710,-690,-670,-650,-630,-610,-590,-570,-550,-530,-510,-490,-470,-450,-430,-410,-390,-370,-350,-330,-310,-290,-270,-250,-230,-210,-190,-170,-150,-130,-110,-90,-70,-50,-30,-10,10,30,50,70,90,110,130,150,170,190,210,230,250,270,290,310,330,350,370,390,410,430,450,470,490,510,530,550,570,590,610,630,650,670,690,710,730,750,770,790,810,830,850,870,890,910,930,950,970,990</ZLines>
<ParameterSet /> </RectilinearGrid>
<Properties> <ParameterSet />
<Material ID="0" Name="" Isotropy="1"> <Properties>
<FillColor R="103" G="198" B="105" a="255" /> <Material ID="0" Name="" Isotropy="1">
<EdgeColor R="103" G="198" B="105" a="255" /> <FillColor R="103" G="198" B="105" a="255" />
<Property Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.000000e-03" Sigma="0.000000e+00" /> <EdgeColor R="103" G="198" B="105" a="255" />
<PropertyY Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" /> <Property Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.000000e-03" Sigma="0.000000e+00" />
<PropertyZ Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" /> <PropertyY Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" />
<WeightX Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.000000e+00" Sigma="1.000000e+00" /> <PropertyZ Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" />
<WeightY Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.000000e+00" Sigma="1.000000e+00" /> <WeightX Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.000000e+00" Sigma="1.000000e+00" />
<WeightZ Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.000000e+00" Sigma="1.000000e+00" /> <WeightY Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.000000e+00" Sigma="1.000000e+00" />
</Material> <WeightZ Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.000000e+00" Sigma="1.000000e+00" />
<Electrode ID="1" Name="" Number="0" Delay="0.000000e+00"> </Material>
<FillColor R="115" G="81" B="255" a="255" /> <Electrode ID="1" Name="" Number="0" Delay="0.000000e+00">
<EdgeColor R="115" G="81" B="255" a="255" /> <FillColor R="115" G="81" B="255" a="255" />
<Excitation Type="1" Excit_X="0.000000e+00" Excit_Y="1.000000e+00" Excit_Z="0.000000e+00" /> <EdgeColor R="115" G="81" B="255" a="255" />
<Weight X="1.000000e+00" Y="1.000000e+00" Z="1.000000e+00" /> <Excitation Type="1" Excit_X="0.000000e+00" Excit_Y="1.000000e+00" Excit_Z="0.000000e+00" />
</Electrode> <Weight X="1.000000e+00" Y="1.000000e+00" Z="1.000000e+00" />
</Properties> </Electrode>
<Primitives> </Properties>
<Box ID="0" PropertyID="0" Priority="0"> <Primitives>
<P1 X="-1.000000e+03" Y="-1.000000e+03" Z="-1.000000e+03" /> <Box ID="0" PropertyID="0" Priority="0">
<P2 X="1.000000e+03" Y="1.000000e+03" Z="1.000000e+03" /> <P1 X="-1.000000e+03" Y="-1.000000e+03" Z="-1.000000e+03" />
</Box> <P2 X="1.000000e+03" Y="1.000000e+03" Z="1.000000e+03" />
<Box ID="1" PropertyID="1" Priority="0"> </Box>
<P1 X="-1.000000e+01" Y="-7.500000e+01" Z="-1.000000e+01" /> <Box ID="1" PropertyID="1" Priority="0">
<P2 X="1.000000e+01" Y="7.500000e+01" Z="1.000000e+01" /> <P1 X="-1.000000e+01" Y="-7.500000e+01" Z="-1.000000e+01" />
</Box> <P2 X="1.000000e+01" Y="7.500000e+01" Z="1.000000e+01" />
</Primitives> </Box>
</ContinuousStructure> </Primitives>
</ContinuousStructure>
</openEMS>

View File

@ -68,7 +68,9 @@ void BuildDipol(const char* filename)
TiXmlDocument doc(filename); TiXmlDocument doc(filename);
doc.InsertEndChild(TiXmlDeclaration("1.0","ISO-8859-1","yes")); doc.InsertEndChild(TiXmlDeclaration("1.0","ISO-8859-1","yes"));
TiXmlElement FDTD_Opts("openEMS-Parameter"); TiXmlElement openEMS("openEMS");
TiXmlElement FDTD_Opts("FDTD");
FDTD_Opts.SetAttribute("NumberOfTimesteps",maxIter); FDTD_Opts.SetAttribute("NumberOfTimesteps",maxIter);
TiXmlElement Excite("Excitation"); TiXmlElement Excite("Excitation");
@ -86,14 +88,16 @@ void BuildDipol(const char* filename)
BC.SetAttribute("zmax",bounds[5]); BC.SetAttribute("zmax",bounds[5]);
FDTD_Opts.InsertEndChild(BC); FDTD_Opts.InsertEndChild(BC);
doc.InsertEndChild(FDTD_Opts); openEMS.InsertEndChild(FDTD_Opts);
if (CSX.Write2XML(&doc,true)==false) if (CSX.Write2XML(&openEMS,true)==false)
{ {
cerr << "writing failed" << endl; cerr << "writing failed" << endl;
exit(-1); exit(-1);
} }
doc.InsertEndChild(openEMS);
doc.SaveFile(); doc.SaveFile();
} }
@ -209,7 +213,9 @@ void BuildPlaneWave(const char* filename)
TiXmlDocument doc(filename); TiXmlDocument doc(filename);
doc.InsertEndChild(TiXmlDeclaration("1.0","ISO-8859-1","yes")); doc.InsertEndChild(TiXmlDeclaration("1.0","ISO-8859-1","yes"));
TiXmlElement FDTD_Opts("openEMS-Parameter"); TiXmlElement openEMS("openEMS");
TiXmlElement FDTD_Opts("FDTD");
FDTD_Opts.SetAttribute("NumberOfTimesteps",maxIter); FDTD_Opts.SetAttribute("NumberOfTimesteps",maxIter);
TiXmlElement Excite("Excitation"); TiXmlElement Excite("Excitation");
@ -227,14 +233,16 @@ void BuildPlaneWave(const char* filename)
BC.SetAttribute("zmax",bounds[5]); BC.SetAttribute("zmax",bounds[5]);
FDTD_Opts.InsertEndChild(BC); FDTD_Opts.InsertEndChild(BC);
doc.InsertEndChild(FDTD_Opts); openEMS.InsertEndChild(FDTD_Opts);
if (CSX.Write2XML(&doc,true)==false) if (CSX.Write2XML(&openEMS,true)==false)
{ {
cerr << "writing failed" << endl; cerr << "writing failed" << endl;
exit(-1); exit(-1);
} }
doc.InsertEndChild(openEMS);
doc.SaveFile(); doc.SaveFile();
} }
@ -382,7 +390,9 @@ void BuildMSL(const char* filename)
TiXmlDocument doc(filename); TiXmlDocument doc(filename);
doc.InsertEndChild(TiXmlDeclaration("1.0","ISO-8859-1","yes")); doc.InsertEndChild(TiXmlDeclaration("1.0","ISO-8859-1","yes"));
TiXmlElement FDTD_Opts("openEMS-Parameter"); TiXmlElement openEMS("openEMS");
TiXmlElement FDTD_Opts("FDTD");
FDTD_Opts.SetAttribute("NumberOfTimesteps",maxIter); FDTD_Opts.SetAttribute("NumberOfTimesteps",maxIter);
TiXmlElement Excite("Excitation"); TiXmlElement Excite("Excitation");
@ -400,14 +410,16 @@ void BuildMSL(const char* filename)
BC.SetAttribute("zmax",bounds[5]); BC.SetAttribute("zmax",bounds[5]);
FDTD_Opts.InsertEndChild(BC); FDTD_Opts.InsertEndChild(BC);
doc.InsertEndChild(FDTD_Opts); openEMS.InsertEndChild(FDTD_Opts);
if (CSX.Write2XML(&doc,true)==false) if (CSX.Write2XML(&openEMS,true)==false)
{ {
cerr << "writing failed" << endl; cerr << "writing failed" << endl;
exit(-1); exit(-1);
} }
doc.InsertEndChild(openEMS);
doc.SaveFile(); doc.SaveFile();
} }
@ -552,7 +564,9 @@ void BuildCoaxial_Cartesian(const char* filename)
TiXmlDocument doc(filename); TiXmlDocument doc(filename);
doc.InsertEndChild(TiXmlDeclaration("1.0","ISO-8859-1","yes")); doc.InsertEndChild(TiXmlDeclaration("1.0","ISO-8859-1","yes"));
TiXmlElement FDTD_Opts("openEMS-Parameter"); TiXmlElement openEMS("openEMS");
TiXmlElement FDTD_Opts("FDTD");
FDTD_Opts.SetAttribute("NumberOfTimesteps",maxIter); FDTD_Opts.SetAttribute("NumberOfTimesteps",maxIter);
TiXmlElement Excite("Excitation"); TiXmlElement Excite("Excitation");
@ -570,14 +584,16 @@ void BuildCoaxial_Cartesian(const char* filename)
BC.SetAttribute("zmax",bounds[5]); BC.SetAttribute("zmax",bounds[5]);
FDTD_Opts.InsertEndChild(BC); FDTD_Opts.InsertEndChild(BC);
doc.InsertEndChild(FDTD_Opts); openEMS.InsertEndChild(FDTD_Opts);
if (CSX.Write2XML(&doc,true)==false) if (CSX.Write2XML(&openEMS,true)==false)
{ {
cerr << "writing failed" << endl; cerr << "writing failed" << endl;
exit(-1); exit(-1);
} }
doc.InsertEndChild(openEMS);
doc.SaveFile(); doc.SaveFile();
} }

View File

@ -1,82 +1,84 @@
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?> <?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?>
<openEMS-Parameter NumberOfTimesteps="1000"> <openEMS>
<Excitation Type="0" f0="500000000" fc="500000000" /> <FDTD NumberOfTimesteps="1000">
<BoundaryCond xmin="1" xmax="1" ymin="0" ymax="0" zmin="0" zmax="0" /> <Excitation Type="0" f0="500000000" fc="500000000" />
</openEMS-Parameter> <BoundaryCond xmin="1" xmax="1" ymin="0" ymax="0" zmin="0" zmax="0" />
<ContinuousStructure> </FDTD>
<RectilinearGrid DeltaUnit="0.001000"> <ContinuousStructure>
<XLines Qty="51">-500,-480,-460,-440,-420,-400,-380,-360,-340,-320,-300,-280,-260,-240,-220,-200,-180,-160,-140,-120,-100,-80,-60,-40,-20,0,20,40,60,80,100,120,140,160,180,200,220,240,260,280,300,320,340,360,380,400,420,440,460,480,500</XLines> <RectilinearGrid DeltaUnit="0.001000">
<YLines Qty="51">0,10,20,30,40,50,60,70,80,90,100,110,120,130,140,150,160,170,180,190,200,210,220,230,240,250,260,270,280,290,300,310,320,330,340,350,360,370,380,390,400,410,420,430,440,450,460,470,480,490,500</YLines> <XLines Qty="51">-500,-480,-460,-440,-420,-400,-380,-360,-340,-320,-300,-280,-260,-240,-220,-200,-180,-160,-140,-120,-100,-80,-60,-40,-20,0,20,40,60,80,100,120,140,160,180,200,220,240,260,280,300,320,340,360,380,400,420,440,460,480,500</XLines>
<ZLines Qty="101">-1000,-980,-960,-940,-920,-900,-880,-860,-840,-820,-800,-780,-760,-740,-720,-700,-680,-660,-640,-620,-600,-580,-560,-540,-520,-500,-480,-460,-440,-420,-400,-380,-360,-340,-320,-300,-280,-260,-240,-220,-200,-180,-160,-140,-120,-100,-80,-60,-40,-20,0,20,40,60,80,100,120,140,160,180,200,220,240,260,280,300,320,340,360,380,400,420,440,460,480,500,520,540,560,580,600,620,640,660,680,700,720,740,760,780,800,820,840,860,880,900,920,940,960,980,1000</ZLines> <YLines Qty="51">0,10,20,30,40,50,60,70,80,90,100,110,120,130,140,150,160,170,180,190,200,210,220,230,240,250,260,270,280,290,300,310,320,330,340,350,360,370,380,390,400,410,420,430,440,450,460,470,480,490,500</YLines>
</RectilinearGrid> <ZLines Qty="101">-1000,-980,-960,-940,-920,-900,-880,-860,-840,-820,-800,-780,-760,-740,-720,-700,-680,-660,-640,-620,-600,-580,-560,-540,-520,-500,-480,-460,-440,-420,-400,-380,-360,-340,-320,-300,-280,-260,-240,-220,-200,-180,-160,-140,-120,-100,-80,-60,-40,-20,0,20,40,60,80,100,120,140,160,180,200,220,240,260,280,300,320,340,360,380,400,420,440,460,480,500,520,540,560,580,600,620,640,660,680,700,720,740,760,780,800,820,840,860,880,900,920,940,960,980,1000</ZLines>
<ParameterSet /> </RectilinearGrid>
<Properties> <ParameterSet />
<Material ID="0" Name="" Isotropy="1"> <Properties>
<FillColor R="232" G="231" B="141" a="255" /> <Material ID="0" Name="" Isotropy="1">
<EdgeColor R="232" G="231" B="141" a="255" /> <FillColor R="232" G="231" B="141" a="255" />
<Property Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.875000e-10" Sigma="2.661107e-05" /> <EdgeColor R="232" G="231" B="141" a="255" />
<PropertyY Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" /> <Property Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.875000e-10" Sigma="2.661107e-05" />
<PropertyZ Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" /> <PropertyY Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" />
<WeightX Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="term:pow(abs(z)-800,4)" Sigma="term:pow(abs(z)-800,4)" /> <PropertyZ Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" />
<WeightY Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="term:pow(abs(z)-800,4)" Sigma="term:pow(abs(z)-800,4)" /> <WeightX Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="term:pow(abs(z)-800,4)" Sigma="term:pow(abs(z)-800,4)" />
<WeightZ Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="term:pow(abs(z)-800,4)" Sigma="term:pow(abs(z)-800,4)" /> <WeightY Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="term:pow(abs(z)-800,4)" Sigma="term:pow(abs(z)-800,4)" />
</Material> <WeightZ Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="term:pow(abs(z)-800,4)" Sigma="term:pow(abs(z)-800,4)" />
<Material ID="1" Name="" Isotropy="1"> </Material>
<FillColor R="118" G="90" B="46" a="255" /> <Material ID="1" Name="" Isotropy="1">
<EdgeColor R="118" G="90" B="46" a="255" /> <FillColor R="118" G="90" B="46" a="255" />
<Property Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="5.600000e+07" Sigma="0.000000e+00" /> <EdgeColor R="118" G="90" B="46" a="255" />
<PropertyY Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" /> <Property Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="5.600000e+07" Sigma="0.000000e+00" />
<PropertyZ Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" /> <PropertyY Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" />
<WeightX Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.000000e+00" Sigma="1.000000e+00" /> <PropertyZ Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" />
<WeightY Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.000000e+00" Sigma="1.000000e+00" /> <WeightX Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.000000e+00" Sigma="1.000000e+00" />
<WeightZ Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.000000e+00" Sigma="1.000000e+00" /> <WeightY Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.000000e+00" Sigma="1.000000e+00" />
</Material> <WeightZ Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.000000e+00" Sigma="1.000000e+00" />
<Electrode ID="2" Name="" Number="0" Delay="0.000000e+00"> </Material>
<FillColor R="99" G="51" B="159" a="255" /> <Electrode ID="2" Name="" Number="0" Delay="0.000000e+00">
<EdgeColor R="99" G="51" B="159" a="255" /> <FillColor R="99" G="51" B="159" a="255" />
<Excitation Type="0" Excit_X="0.000000e+00" Excit_Y="-1.000000e+00" Excit_Z="0.000000e+00" /> <EdgeColor R="99" G="51" B="159" a="255" />
<Weight X="1.000000e+00" Y="1.000000e+00" Z="1.000000e+00" /> <Excitation Type="0" Excit_X="0.000000e+00" Excit_Y="-1.000000e+00" Excit_Z="0.000000e+00" />
</Electrode> <Weight X="1.000000e+00" Y="1.000000e+00" Z="1.000000e+00" />
<DumpBox ID="3" Name="Et_" GlobalSetting="1" DumpType="0" DumpMode="2"> </Electrode>
<FillColor R="201" G="154" B="102" a="255" /> <DumpBox ID="3" Name="Et_" GlobalSetting="1" DumpType="0" DumpMode="2">
<EdgeColor R="201" G="154" B="102" a="255" /> <FillColor R="201" G="154" B="102" a="255" />
<ScalarDump DumpPhi="1" DumpDivE="0" DumpDivD="0" DumpDivP="0" DumpFieldW="0" DumpChargeW="0" /> <EdgeColor R="201" G="154" B="102" a="255" />
<VectorDump DumpEField="0" DumpDField="0" DumpPField="0" /> <ScalarDump DumpPhi="1" DumpDivE="0" DumpDivD="0" DumpDivP="0" DumpFieldW="0" DumpChargeW="0" />
<SubGridDump SubGridDump="0" SimpleDump="0" SubGridLevel="-1" /> <VectorDump DumpEField="0" DumpDField="0" DumpPField="0" />
</DumpBox> <SubGridDump SubGridDump="0" SimpleDump="0" SubGridLevel="-1" />
<ProbeBox ID="4" Name="u1" Number="0" Type="0"> </DumpBox>
<FillColor R="50" G="13" B="183" a="255" /> <ProbeBox ID="4" Name="u1" Number="0" Type="0">
<EdgeColor R="50" G="13" B="183" a="255" /> <FillColor R="50" G="13" B="183" a="255" />
</ProbeBox> <EdgeColor R="50" G="13" B="183" a="255" />
<ProbeBox ID="5" Name="i1" Number="0" Type="1"> </ProbeBox>
<FillColor R="49" G="88" B="163" a="255" /> <ProbeBox ID="5" Name="i1" Number="0" Type="1">
<EdgeColor R="49" G="88" B="163" a="255" /> <FillColor R="49" G="88" B="163" a="255" />
</ProbeBox> <EdgeColor R="49" G="88" B="163" a="255" />
</Properties> </ProbeBox>
<Primitives> </Properties>
<Box ID="0" PropertyID="0" Priority="0"> <Primitives>
<P1 X="-5.000000e+02" Y="0.000000e+00" Z="8.000000e+02" /> <Box ID="0" PropertyID="0" Priority="0">
<P2 X="5.000000e+02" Y="5.000000e+02" Z="1.000000e+03" /> <P1 X="-5.000000e+02" Y="0.000000e+00" Z="8.000000e+02" />
</Box> <P2 X="5.000000e+02" Y="5.000000e+02" Z="1.000000e+03" />
<Box ID="1" PropertyID="1" Priority="100"> </Box>
<P1 X="-4.000000e+01" Y="5.000000e+01" Z="-1.000000e+03" /> <Box ID="1" PropertyID="1" Priority="100">
<P2 X="4.000000e+01" Y="6.000000e+01" Z="1.000000e+03" /> <P1 X="-4.000000e+01" Y="5.000000e+01" Z="-1.000000e+03" />
</Box> <P2 X="4.000000e+01" Y="6.000000e+01" Z="1.000000e+03" />
<Box ID="2" PropertyID="2" Priority="0"> </Box>
<P1 X="-4.000000e+01" Y="0.000000e+00" Z="-1.000000e+03" /> <Box ID="2" PropertyID="2" Priority="0">
<P2 X="4.000000e+01" Y="5.000000e+01" Z="-1.000000e+03" /> <P1 X="-4.000000e+01" Y="0.000000e+00" Z="-1.000000e+03" />
</Box> <P2 X="4.000000e+01" Y="5.000000e+01" Z="-1.000000e+03" />
<Box ID="3" PropertyID="3" Priority="0"> </Box>
<P1 X="-1.200000e+02" Y="0.000000e+00" Z="-1.000000e+03" /> <Box ID="3" PropertyID="3" Priority="0">
<P2 X="1.200000e+02" Y="7.500000e+01" Z="1.000000e+03" /> <P1 X="-1.200000e+02" Y="0.000000e+00" Z="-1.000000e+03" />
</Box> <P2 X="1.200000e+02" Y="7.500000e+01" Z="1.000000e+03" />
<Box ID="4" PropertyID="4" Priority="0"> </Box>
<P1 X="0.000000e+00" Y="5.000000e+01" Z="0.000000e+00" /> <Box ID="4" PropertyID="4" Priority="0">
<P2 X="0.000000e+00" Y="0.000000e+00" Z="0.000000e+00" /> <P1 X="0.000000e+00" Y="5.000000e+01" Z="0.000000e+00" />
</Box> <P2 X="0.000000e+00" Y="0.000000e+00" Z="0.000000e+00" />
<Box ID="5" PropertyID="5" Priority="0"> </Box>
<P1 X="-1.200000e+02" Y="2.500000e+01" Z="0.000000e+00" /> <Box ID="5" PropertyID="5" Priority="0">
<P2 X="1.200000e+02" Y="7.500000e+01" Z="0.000000e+00" /> <P1 X="-1.200000e+02" Y="2.500000e+01" Z="0.000000e+00" />
</Box> <P2 X="1.200000e+02" Y="7.500000e+01" Z="0.000000e+00" />
</Primitives> </Box>
</ContinuousStructure> </Primitives>
</ContinuousStructure>
</openEMS>

View File

@ -1,81 +1,83 @@
<?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?> <?xml version="1.0" encoding="ISO-8859-1" standalone="yes" ?>
<openEMS-Parameter NumberOfTimesteps="1000"> <openEMS>
<Excitation Type="0" f0="500000000" fc="500000000" /> <FDTD NumberOfTimesteps="1000">
<BoundaryCond xmin="1" xmax="1" ymin="0" ymax="0" zmin="0" zmax="0" /> <Excitation Type="0" f0="500000000" fc="500000000" />
</openEMS-Parameter> <BoundaryCond xmin="1" xmax="1" ymin="0" ymax="0" zmin="0" zmax="0" />
<ContinuousStructure> </FDTD>
<RectilinearGrid DeltaUnit="0.001000"> <ContinuousStructure>
<XLines Qty="51">-500,-480,-460,-440,-420,-400,-380,-360,-340,-320,-300,-280,-260,-240,-220,-200,-180,-160,-140,-120,-100,-80,-60,-40,-20,0,20,40,60,80,100,120,140,160,180,200,220,240,260,280,300,320,340,360,380,400,420,440,460,480,500</XLines> <RectilinearGrid DeltaUnit="0.001000">
<YLines Qty="51">-500,-480,-460,-440,-420,-400,-380,-360,-340,-320,-300,-280,-260,-240,-220,-200,-180,-160,-140,-120,-100,-80,-60,-40,-20,0,20,40,60,80,100,120,140,160,180,200,220,240,260,280,300,320,340,360,380,400,420,440,460,480,500</YLines> <XLines Qty="51">-500,-480,-460,-440,-420,-400,-380,-360,-340,-320,-300,-280,-260,-240,-220,-200,-180,-160,-140,-120,-100,-80,-60,-40,-20,0,20,40,60,80,100,120,140,160,180,200,220,240,260,280,300,320,340,360,380,400,420,440,460,480,500</XLines>
<ZLines Qty="201">-2000,-1980,-1960,-1940,-1920,-1900,-1880,-1860,-1840,-1820,-1800,-1780,-1760,-1740,-1720,-1700,-1680,-1660,-1640,-1620,-1600,-1580,-1560,-1540,-1520,-1500,-1480,-1460,-1440,-1420,-1400,-1380,-1360,-1340,-1320,-1300,-1280,-1260,-1240,-1220,-1200,-1180,-1160,-1140,-1120,-1100,-1080,-1060,-1040,-1020,-1000,-980,-960,-940,-920,-900,-880,-860,-840,-820,-800,-780,-760,-740,-720,-700,-680,-660,-640,-620,-600,-580,-560,-540,-520,-500,-480,-460,-440,-420,-400,-380,-360,-340,-320,-300,-280,-260,-240,-220,-200,-180,-160,-140,-120,-100,-80,-60,-40,-20,0,20,40,60,80,100,120,140,160,180,200,220,240,260,280,300,320,340,360,380,400,420,440,460,480,500,520,540,560,580,600,620,640,660,680,700,720,740,760,780,800,820,840,860,880,900,920,940,960,980,1000,1020,1040,1060,1080,1100,1120,1140,1160,1180,1200,1220,1240,1260,1280,1300,1320,1340,1360,1380,1400,1420,1440,1460,1480,1500,1520,1540,1560,1580,1600,1620,1640,1660,1680,1700,1720,1740,1760,1780,1800,1820,1840,1860,1880,1900,1920,1940,1960,1980,2000</ZLines> <YLines Qty="51">-500,-480,-460,-440,-420,-400,-380,-360,-340,-320,-300,-280,-260,-240,-220,-200,-180,-160,-140,-120,-100,-80,-60,-40,-20,0,20,40,60,80,100,120,140,160,180,200,220,240,260,280,300,320,340,360,380,400,420,440,460,480,500</YLines>
</RectilinearGrid> <ZLines Qty="201">-2000,-1980,-1960,-1940,-1920,-1900,-1880,-1860,-1840,-1820,-1800,-1780,-1760,-1740,-1720,-1700,-1680,-1660,-1640,-1620,-1600,-1580,-1560,-1540,-1520,-1500,-1480,-1460,-1440,-1420,-1400,-1380,-1360,-1340,-1320,-1300,-1280,-1260,-1240,-1220,-1200,-1180,-1160,-1140,-1120,-1100,-1080,-1060,-1040,-1020,-1000,-980,-960,-940,-920,-900,-880,-860,-840,-820,-800,-780,-760,-740,-720,-700,-680,-660,-640,-620,-600,-580,-560,-540,-520,-500,-480,-460,-440,-420,-400,-380,-360,-340,-320,-300,-280,-260,-240,-220,-200,-180,-160,-140,-120,-100,-80,-60,-40,-20,0,20,40,60,80,100,120,140,160,180,200,220,240,260,280,300,320,340,360,380,400,420,440,460,480,500,520,540,560,580,600,620,640,660,680,700,720,740,760,780,800,820,840,860,880,900,920,940,960,980,1000,1020,1040,1060,1080,1100,1120,1140,1160,1180,1200,1220,1240,1260,1280,1300,1320,1340,1360,1380,1400,1420,1440,1460,1480,1500,1520,1540,1560,1580,1600,1620,1640,1660,1680,1700,1720,1740,1760,1780,1800,1820,1840,1860,1880,1900,1920,1940,1960,1980,2000</ZLines>
<ParameterSet /> </RectilinearGrid>
<Properties> <ParameterSet />
<Material ID="0" Name="" Isotropy="1"> <Properties>
<FillColor R="74" G="236" B="41" a="255" /> <Material ID="0" Name="" Isotropy="1">
<EdgeColor R="74" G="236" B="41" a="255" /> <FillColor R="74" G="236" B="41" a="255" />
<Property Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.875000e-10" Sigma="2.661107e-05" /> <EdgeColor R="74" G="236" B="41" a="255" />
<PropertyY Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" /> <Property Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.875000e-10" Sigma="2.661107e-05" />
<PropertyZ Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" /> <PropertyY Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" />
<WeightX Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="term:pow(abs(z)-1800,4)" Sigma="term:pow(abs(z)-1800,4)" /> <PropertyZ Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" />
<WeightY Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="term:pow(abs(z)-1800,4)" Sigma="term:pow(abs(z)-1800,4)" /> <WeightX Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="term:pow(abs(z)-1800,4)" Sigma="term:pow(abs(z)-1800,4)" />
<WeightZ Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="term:pow(abs(z)-1800,4)" Sigma="term:pow(abs(z)-1800,4)" /> <WeightY Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="term:pow(abs(z)-1800,4)" Sigma="term:pow(abs(z)-1800,4)" />
</Material> <WeightZ Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="term:pow(abs(z)-1800,4)" Sigma="term:pow(abs(z)-1800,4)" />
<Material ID="1" Name="" Isotropy="1"> </Material>
<FillColor R="205" G="186" B="171" a="255" /> <Material ID="1" Name="" Isotropy="1">
<EdgeColor R="205" G="186" B="171" a="255" /> <FillColor R="205" G="186" B="171" a="255" />
<Property Epsilon="2.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" /> <EdgeColor R="205" G="186" B="171" a="255" />
<PropertyY Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" /> <Property Epsilon="2.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" />
<PropertyZ Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" /> <PropertyY Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" />
<WeightX Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.000000e+00" Sigma="1.000000e+00" /> <PropertyZ Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="0.000000e+00" Sigma="0.000000e+00" />
<WeightY Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.000000e+00" Sigma="1.000000e+00" /> <WeightX Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.000000e+00" Sigma="1.000000e+00" />
<WeightZ Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.000000e+00" Sigma="1.000000e+00" /> <WeightY Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.000000e+00" Sigma="1.000000e+00" />
</Material> <WeightZ Epsilon="1.000000e+00" Mue="1.000000e+00" Kappa="1.000000e+00" Sigma="1.000000e+00" />
<Electrode ID="2" Name="" Number="0" Delay="0.000000e+00"> </Material>
<FillColor R="242" G="251" B="227" a="255" /> <Electrode ID="2" Name="" Number="0" Delay="0.000000e+00">
<EdgeColor R="242" G="251" B="227" a="255" /> <FillColor R="242" G="251" B="227" a="255" />
<Excitation Type="0" Excit_X="0.000000e+00" Excit_Y="1.000000e+00" Excit_Z="0.000000e+00" /> <EdgeColor R="242" G="251" B="227" a="255" />
<Weight X="1.000000e+00" Y="1.000000e+00" Z="1.000000e+00" /> <Excitation Type="0" Excit_X="0.000000e+00" Excit_Y="1.000000e+00" Excit_Z="0.000000e+00" />
</Electrode> <Weight X="1.000000e+00" Y="1.000000e+00" Z="1.000000e+00" />
<DumpBox ID="3" Name="Et_" GlobalSetting="1" DumpType="0" DumpMode="0"> </Electrode>
<FillColor R="70" G="124" B="194" a="255" /> <DumpBox ID="3" Name="Et_" GlobalSetting="1" DumpType="0" DumpMode="0">
<EdgeColor R="70" G="124" B="194" a="255" /> <FillColor R="70" G="124" B="194" a="255" />
<ScalarDump DumpPhi="1" DumpDivE="0" DumpDivD="0" DumpDivP="0" DumpFieldW="0" DumpChargeW="0" /> <EdgeColor R="70" G="124" B="194" a="255" />
<VectorDump DumpEField="0" DumpDField="0" DumpPField="0" /> <ScalarDump DumpPhi="1" DumpDivE="0" DumpDivD="0" DumpDivP="0" DumpFieldW="0" DumpChargeW="0" />
<SubGridDump SubGridDump="0" SimpleDump="0" SubGridLevel="-1" /> <VectorDump DumpEField="0" DumpDField="0" DumpPField="0" />
</DumpBox> <SubGridDump SubGridDump="0" SimpleDump="0" SubGridLevel="-1" />
<DumpBox ID="4" Name="Ht_" GlobalSetting="1" DumpType="1" DumpMode="0"> </DumpBox>
<FillColor R="84" G="248" B="27" a="255" /> <DumpBox ID="4" Name="Ht_" GlobalSetting="1" DumpType="1" DumpMode="0">
<EdgeColor R="84" G="248" B="27" a="255" /> <FillColor R="84" G="248" B="27" a="255" />
<ScalarDump DumpPhi="1" DumpDivE="0" DumpDivD="0" DumpDivP="0" DumpFieldW="0" DumpChargeW="0" /> <EdgeColor R="84" G="248" B="27" a="255" />
<VectorDump DumpEField="0" DumpDField="0" DumpPField="0" /> <ScalarDump DumpPhi="1" DumpDivE="0" DumpDivD="0" DumpDivP="0" DumpFieldW="0" DumpChargeW="0" />
<SubGridDump SubGridDump="0" SimpleDump="0" SubGridLevel="-1" /> <VectorDump DumpEField="0" DumpDField="0" DumpPField="0" />
</DumpBox> <SubGridDump SubGridDump="0" SimpleDump="0" SubGridLevel="-1" />
</Properties> </DumpBox>
<Primitives> </Properties>
<Box ID="0" PropertyID="0" Priority="0"> <Primitives>
<P1 X="-5.000000e+02" Y="-5.000000e+02" Z="1.800000e+03" /> <Box ID="0" PropertyID="0" Priority="0">
<P2 X="5.000000e+02" Y="5.000000e+02" Z="2.000000e+03" /> <P1 X="-5.000000e+02" Y="-5.000000e+02" Z="1.800000e+03" />
</Box> <P2 X="5.000000e+02" Y="5.000000e+02" Z="2.000000e+03" />
<Box ID="1" PropertyID="0" Priority="0"> </Box>
<P1 X="-5.000000e+02" Y="-5.000000e+02" Z="-1.800000e+03" /> <Box ID="1" PropertyID="0" Priority="0">
<P2 X="5.000000e+02" Y="5.000000e+02" Z="-2.000000e+03" /> <P1 X="-5.000000e+02" Y="-5.000000e+02" Z="-1.800000e+03" />
</Box> <P2 X="5.000000e+02" Y="5.000000e+02" Z="-2.000000e+03" />
<Box ID="2" PropertyID="1" Priority="0"> </Box>
<P1 X="-5.000000e+02" Y="-5.000000e+02" Z="-1.000000e+03" /> <Box ID="2" PropertyID="1" Priority="0">
<P2 X="5.000000e+02" Y="5.000000e+02" Z="1.000000e+03" /> <P1 X="-5.000000e+02" Y="-5.000000e+02" Z="-1.000000e+03" />
</Box> <P2 X="5.000000e+02" Y="5.000000e+02" Z="1.000000e+03" />
<Box ID="3" PropertyID="2" Priority="0"> </Box>
<P1 X="-5.000000e+02" Y="-5.000000e+02" Z="0.000000e+00" /> <Box ID="3" PropertyID="2" Priority="0">
<P2 X="5.000000e+02" Y="5.000000e+02" Z="0.000000e+00" /> <P1 X="-5.000000e+02" Y="-5.000000e+02" Z="0.000000e+00" />
</Box> <P2 X="5.000000e+02" Y="5.000000e+02" Z="0.000000e+00" />
<Box ID="4" PropertyID="3" Priority="0"> </Box>
<P1 X="-3.333333e+02" Y="0.000000e+00" Z="-1.800000e+03" /> <Box ID="4" PropertyID="3" Priority="0">
<P2 X="3.333333e+02" Y="0.000000e+00" Z="1.800000e+03" /> <P1 X="-3.333333e+02" Y="0.000000e+00" Z="-1.800000e+03" />
</Box> <P2 X="3.333333e+02" Y="0.000000e+00" Z="1.800000e+03" />
<Box ID="5" PropertyID="4" Priority="0"> </Box>
<P1 X="-3.333333e+02" Y="0.000000e+00" Z="-1.800000e+03" /> <Box ID="5" PropertyID="4" Priority="0">
<P2 X="3.333333e+02" Y="0.000000e+00" Z="1.800000e+03" /> <P1 X="-3.333333e+02" Y="0.000000e+00" Z="-1.800000e+03" />
</Box> <P2 X="3.333333e+02" Y="0.000000e+00" Z="1.800000e+03" />
</Primitives> </Box>
</ContinuousStructure> </Primitives>
</ContinuousStructure>
</openEMS>

View File

@ -76,10 +76,17 @@ int openEMS::SetupFDTD(const char* file)
} }
cout << "Read openEMS Settings..." << endl; cout << "Read openEMS Settings..." << endl;
TiXmlElement* FDTD_Opts = doc.FirstChildElement("openEMS-Parameter"); TiXmlElement* openEMSxml = doc.FirstChildElement("openEMS");
if (openEMSxml==NULL)
{
cerr << "Can't read openEMS ... " << endl;
exit(-1);
}
TiXmlElement* FDTD_Opts = openEMSxml->FirstChildElement("FDTD");
if (FDTD_Opts==NULL) if (FDTD_Opts==NULL)
{ {
cerr << "Can't read openEMS Settings... " << endl; cerr << "Can't read openEMS FDTD Settings... " << endl;
exit(-1); exit(-1);
} }
FDTD_Opts->QueryIntAttribute("NumberOfTimesteps",&NrTS); FDTD_Opts->QueryIntAttribute("NumberOfTimesteps",&NrTS);
@ -112,7 +119,7 @@ int openEMS::SetupFDTD(const char* file)
cout << "Read Geometry..." << endl; cout << "Read Geometry..." << endl;
ContinuousStructure CSX; ContinuousStructure CSX;
string EC(CSX.ReadFromXML(&doc)); string EC(CSX.ReadFromXML(openEMSxml));
if (EC.empty()==false) if (EC.empty()==false)
{ {
cerr << EC << endl; cerr << EC << endl;