Skip to content

Commit f9e468a

Browse files
committed
Fixes dielectric ring case
1 parent 60ce097 commit f9e468a

2 files changed

Lines changed: 21 additions & 1 deletion

File tree

partially_filled_coax.areas.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"geometries": [
3+
{
4+
"geometry": "Vacuum_0",
5+
"area": 4005.5306333269873
6+
},
7+
{
8+
"geometry": "Dielectric_1",
9+
"area": 1884.9555921538756
10+
},
11+
{
12+
"geometry": "Conductor_0",
13+
"area": 7853.98163397448
14+
},
15+
{
16+
"geometry": "Conductor_1",
17+
"area": 1963.49540849362
18+
}
19+
]
20+
}

test/test_mesher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def test_conductor_and_outer_dielectric(self):
253253
expectedEntities = [1,
254254
1,
255255
1,
256-
1, 1]
256+
2, 1]
257257
self.assertEqual(sorted(pGNames), sorted(expectedNames))
258258

259259
for idx, name in enumerate(expectedNames):

0 commit comments

Comments
 (0)