Beispiel #1
0
 def test_tet_coord(self):
     coord = [0.5, 0.5, 0.5]
     coord = tet_coord(coord)
     self.assertTrue(np.allclose(coord, [1., 0.57735027, 0.40824829]))
 def test_tet_coord(self):
     coord = [0.5, 0.5, 0.5]
     coord = tet_coord(coord)
     self.assertTrue(np.allclose(coord, [ 1., 0.57735027, 0.40824829]))