Sphere¶
- class hoomd.mpcd.geometry.Sphere(radius, no_slip=True)¶
Bases:
Geometry
Spherical confinement.
- Parameters:
Sphere
confines particles inside a sphere ofradius
\(R\) centered at the origin.Examples:
Sphere with no-slip boundary condition.
sphere = hoomd.mpcd.geometry.Sphere(radius=5.0) stream = hoomd.mpcd.stream.BounceBack(period=1, geometry=sphere) simulation.operations.integrator.streaming_method = stream
Sphere with slip boundary condition.
sphere = hoomd.mpcd.geometry.Sphere(radius=5.0, no_slip=False) stream = hoomd.mpcd.stream.BounceBack(period=1, geometry=sphere) simulation.operations.integrator.streaming_method = stream
Members inherited from
Geometry
:- no_slip¶
Plates have a no-slip boundary condition when True.
Read more...
Members defined in
Sphere
: