Ellipsoid¶ class hoomd.md.manifold.Ellipsoid(a, b, c, P=(0, 0, 0))¶ Bases: Manifold Ellipsoid manifold. Parameters: a (float) – length of the a-axis of the ellipsoidal constraint [length][\mathrm{length}][length]. b (float) – length of the b-axis of the ellipsoidal constraint [length][\mathrm{length}][length]. c (float) – length of the c-axis of the ellipsoidal constraint [length][\mathrm{length}][length]. P (tuple [float, float, float]) – center of the ellipsoid constraint (default origin) [length][\mathrm{length}][length]. Ellipsoid defines an ellipsoid: Implicit function F(x,y,z)=(x−Px)2a2+(y−Py)2b2+(z−Pz)2c2−1F(x,y,z) = \frac{(x-P_x)^{2}}{a^{2}} + \frac{(y-P_y)^{2}}{b^{2}} + \frac{(z-P_z)^{2}}{c^{2}} - 1 F(x,y,z)=a2(x−Px)2+b2(y−Py)2+c2(z−Pz)2−1 Example: ellipsoid1 = manifold.Ellipsoid(a=10, b=5, c=5) ellipsoid2 = manifold.Ellipsoid(a=5, b=10, c=10, P=(1, 0.5, 1))