def test_call(self):
"""Test that the bump EOS can be called
"""
bump_eos = EOSBump()
vol = np.logspace(np.log10(.1), np.log10(1), 50)
pressure = bump_eos(vol)
self.assertIsInstance(pressure, np.ndarray)
self.assertEqual(50, len(pressure))
评论列表
文章目录