예제 #1
0
 def test_roots_glass_p_m(self):
     oh = openhole.CircularHoleInfiniteAnisotropicPlate(
         self.lam_glass_p_m, 5)
     actual = oh.roots()
     desired = [-0.6045 + 0.7966j, 0.6045 + 0.7966j]
     assert_allclose(actual, desired, atol=1e-4)
예제 #2
0
 def test_roots_graphite_p_m(self):
     oh = openhole.CircularHoleInfiniteAnisotropicPlate(
         self.lam_grahite_p_m, 5)
     actual = oh.roots()
     desired = [-0.8597 + 0.5109j, 0.8597 + 0.5109j]
     assert_allclose(actual, desired, atol=1e-4)
예제 #3
0
 def test_roots_glass_0_90(self):
     oh = openhole.CircularHoleInfiniteAnisotropicPlate(
         self.lam_glass_0_90, 5)
     actual = oh.roots()
     desired = [0.4965j, 2.0142j]
     assert_allclose(actual, desired, atol=1e-4)
예제 #4
0
 def test_roots_graphite_0_90(self):
     oh = openhole.CircularHoleInfiniteAnisotropicPlate(
         self.lam_grahite_0_90, 5)
     actual = oh.roots()
     desired = [0.2747j, 3.6403j]
     assert_allclose(actual, desired, atol=1e-4)