Skip to content

Commit

Permalink
Removes type in materialAssociations
Browse files Browse the repository at this point in the history
  • Loading branch information
lmdiazangulo committed Dec 30, 2024
1 parent 0876369 commit a55c1f7
Show file tree
Hide file tree
Showing 28 changed files with 67 additions and 143 deletions.
6 changes: 2 additions & 4 deletions testData/cases/coated_antenna/coated_antenna.fdtd.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,14 @@

"materialAssociations": [
{
"type": "cable",
"name" : "half_1",
"name" : "half_1",
"materialId": 1,
"initialTerminalId": 2,
"endTerminalId": 3,
"elementIds": [2]
},
{
"type": "cable",
"name" : "half_2",
"name" : "half_2",
"materialId": 1,
"initialTerminalId": 3,
"endTerminalId": 2,
Expand Down
3 changes: 1 addition & 2 deletions testData/cases/holland/holland1981.fdtd.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@

"materialAssociations": [
{
"type": "cable",
"name" : "single_wire",
"name" : "single_wire",
"materialId": 1,
"initialTerminalId": 2,
"endTerminalId": 2,
Expand Down
1 change: 0 additions & 1 deletion testData/cases/holland_with_dielectric.fdtd.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@

"materialAssociations": [
{
"type": "cable",
"name" : "single_wire",
"materialId": 1,
"initialTerminalId": 2,
Expand Down
5 changes: 0 additions & 5 deletions testData/cases/line_multiline_junction.fdtd.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,39 +133,34 @@
"materialAssociations": [
{
"name": "s1",
"type": "cable",
"elementIds": [ 1 ],
"materialId": 1,
"initialTerminalId": 4,
"endTerminalId": 6
},
{
"name": "s2",
"type": "cable",
"elementIds": [ 2 ],
"materialId": 1,
"initialTerminalId": 3,
"endTerminalId": 6
},
{
"name": "s3",
"type": "cable",
"elementIds": [ 3,4 ],
"materialId": 2,
"initialTerminalId": 5,
"endTerminalId": 5
},
{
"name": "s4",
"type": "cable",
"elementIds": [ 5 ],
"materialId": 1,
"initialTerminalId": 6,
"endTerminalId": 3
},
{
"name": "s5",
"type": "cable",
"elementIds": [ 6 ],
"materialId": 1,
"initialTerminalId": 6,
Expand Down
5 changes: 0 additions & 5 deletions testData/cases/line_multiline_junction_with_wires.fdtd.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,39 +133,34 @@
"materialAssociations": [
{
"name": "s1",
"type": "cable",
"elementIds": [ 1 ],
"materialId": 1,
"initialTerminalId": 4,
"endTerminalId": 6
},
{
"name": "s2",
"type": "cable",
"elementIds": [ 2 ],
"materialId": 1,
"initialTerminalId": 3,
"endTerminalId": 6
},
{
"name": "s3",
"type": "cable",
"elementIds": [ 3,4 ],
"materialId": 2,
"initialTerminalId": 5,
"endTerminalId": 5
},
{
"name": "s4",
"type": "cable",
"elementIds": [ 5 ],
"materialId": 1,
"initialTerminalId": 6,
"endTerminalId": 3
},
{
"name": "s5",
"type": "cable",
"elementIds": [ 6 ],
"materialId": 1,
"initialTerminalId": 6,
Expand Down
6 changes: 2 additions & 4 deletions testData/cases/multilines_4port_box.fdtd.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,16 +137,14 @@
"materialAssociations": [
{
"name": "s1",
"type": "cable",
"elementIds": [ 1,2 ],
"elementIds": [ 1,2 ],
"materialId": 1,
"initialTerminalId": 2,
"endTerminalId": 3
},
{
"name": "s2",
"type": "cable",
"elementIds": [ 3,4 ],
"elementIds": [ 3,4 ],
"materialId": 1,
"initialTerminalId": 4,
"endTerminalId": 2
Expand Down
6 changes: 2 additions & 4 deletions testData/cases/multilines_4port_box_nobox.fdtd.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,16 +130,14 @@
"materialAssociations": [
{
"name": "s1",
"type": "cable",
"elementIds": [ 1,2 ],
"elementIds": [ 1,2 ],
"materialId": 1,
"initialTerminalId": 2,
"endTerminalId": 3
},
{
"name": "s2",
"type": "cable",
"elementIds": [ 3,4 ],
"elementIds": [ 3,4 ],
"materialId": 1,
"initialTerminalId": 4,
"endTerminalId": 2
Expand Down
6 changes: 2 additions & 4 deletions testData/cases/multilines_balun.fdtd.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,16 +137,14 @@
"materialAssociations": [
{
"name": "s1",
"type": "cable",
"elementIds": [ 1,2 ],
"elementIds": [ 1,2 ],
"materialId": 1,
"initialTerminalId": 2,
"endTerminalId": 3
},
{
"name": "s2",
"type": "cable",
"elementIds": [ 3,4 ],
"elementIds": [ 3,4 ],
"materialId": 1,
"initialTerminalId": 4,
"endTerminalId": 2
Expand Down
6 changes: 2 additions & 4 deletions testData/cases/multilines_opamp.fdtd.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,16 +137,14 @@
"materialAssociations": [
{
"name": "s1",
"type": "cable",
"elementIds": [ 1,2 ],
"elementIds": [ 1,2 ],
"materialId": 1,
"initialTerminalId": 2,
"endTerminalId": 3
},
{
"name": "s2",
"type": "cable",
"elementIds": [ 3,4 ],
"elementIds": [ 3,4 ],
"materialId": 1,
"initialTerminalId": 4,
"endTerminalId": 2
Expand Down
3 changes: 1 addition & 2 deletions testData/cases/opamp_saturation.fdtd.json
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@
"materialAssociations": [
{
"name": "wire1",
"type": "cable",
"elementIds": [ 1, 2 ],
"elementIds": [ 1, 2 ],
"materialId": 1,
"initialTerminalId": 2,
"endTerminalId": 3
Expand Down
3 changes: 1 addition & 2 deletions testData/cases/paul_8_6_square.fdtd.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@
"materialAssociations": [
{
"name": "wire",
"type": "cable",
"elementIds": [ 1 ],
"elementIds": [ 1 ],
"materialId": 1,
"initialTerminalId": 2,
"endTerminalId": 3
Expand Down
3 changes: 1 addition & 2 deletions testData/cases/paul_8_6_triangle.fdtd.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@
"materialAssociations": [
{
"name": "wire",
"type": "cable",
"elementIds": [ 1 ],
"elementIds": [ 1 ],
"materialId": 1,
"initialTerminalId": 2,
"endTerminalId": 3
Expand Down
3 changes: 1 addition & 2 deletions testData/cases/paul_9_6.fdtd.json
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,7 @@
"materialAssociations": [
{
"name": "two_wires",
"type": "cable",
"elementIds": [ 1,2 ],
"elementIds": [ 1,2 ],
"materialId": 1,
"initialTerminalId": 2,
"endTerminalId": 3
Expand Down
3 changes: 1 addition & 2 deletions testData/cases/sgbc/sgbc.fdtd.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@

"materialAssociations": [
{
"type": "bulk",
"materialId": 1,
"materialId": 1,
"elementIds": [ 1 ]
},
{
Expand Down
9 changes: 3 additions & 6 deletions testData/cases/shieldedPair/shieldedPair.fdtd.json
Original file line number Diff line number Diff line change
Expand Up @@ -167,24 +167,21 @@
"materialAssociations": [
{
"name": "line_0",
"type": "cable",
"elementIds": [ 1 ],
"elementIds": [ 1 ],
"materialId": 2,
"initialTerminalId": 6,
"endTerminalId": 6
},
{
"name": "line_1",
"type": "cable",
"elementIds": [ 6,7 ],
"elementIds": [ 6,7 ],
"materialId": 1,
"initialTerminalId": 3,
"endTerminalId": 3,
"containedWithinElementId": 1
},
{
"type": "bulk",
"materialId" : 5,
"materialId" : 5,
"elementIds": [5]

}
Expand Down
3 changes: 1 addition & 2 deletions testData/cases/sphere/sphere.fdtd.json
Original file line number Diff line number Diff line change
Expand Up @@ -40903,8 +40903,7 @@
],
"materialAssociations": [
{
"type": "bulk",
"materialId": 1,
"materialId": 1,
"elementIds": [
3
]
Expand Down
3 changes: 1 addition & 2 deletions testData/cases/spice_connectors.fdtd.json
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@
"materialAssociations": [
{
"name": "wire",
"type": "cable",
"elementIds": [ 1 ],
"elementIds": [ 1 ],
"materialId": 1,
"initialTerminalId": 2,
"endTerminalId": 3
Expand Down
6 changes: 2 additions & 4 deletions testData/cases/towelHanger/towelHanger.fdtd.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,16 +69,14 @@

"materialAssociations": [
{
"type": "cable",
"name": "wire",
"name": "wire",
"materialId": 1,
"initialTerminalId": 2,
"endTerminalId": 3,
"elementIds": [2]
},
{
"type": "bulk",
"materialId" : 4,
"materialId" : 4,
"elementIds": [3]
}
],
Expand Down
3 changes: 1 addition & 2 deletions testData/cases/wire_panel.fdtd.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,7 @@
"materialAssociations": [
{
"name": "panel",
"type": "cable",
"elementIds": [ 1,2,3,4 ],
"elementIds": [ 1,2,3,4 ],
"materialId": 1,
"initialTerminalId": 2,
"endTerminalId": 2
Expand Down
6 changes: 2 additions & 4 deletions testData/input_examples/connectedWires.fdtd.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,16 +65,14 @@

"materialAssociations": [
{
"type": "cable",
"name": "cable1",
"name": "cable1",
"materialId": 1,
"initialTerminalId": 3,
"endTerminalId": 2,
"elementIds": [2]
},
{
"type": "cable",
"name": "cable2",
"name": "cable2",
"materialId": 1,
"initialTerminalId": 3,
"endTerminalId": 3,
Expand Down
3 changes: 1 addition & 2 deletions testData/input_examples/holland1981.fdtd.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@

"materialAssociations": [
{
"type": "cable",
"name" : "single_wire",
"name" : "single_wire",
"materialId": 1,
"initialTerminalId": 2,
"endTerminalId": 2,
Expand Down
Loading

0 comments on commit a55c1f7

Please sign in to comment.