CollisionMethod

class hoomd.mpcd.collide.CollisionMethod(period, embedded_particles=None)

Bases: Operation

Base collision method.

Parameters:
  • period (int) – Number of integration steps between collisions.

  • embedded_particles (hoomd.filter.filter_like) – HOOMD particles to include in collision.


Members inherited from AutotunedObject:

property kernel_parameters

Kernel parameters. Read more...

property is_tuning_complete

Check if kernel parameter tuning is complete. Read more...

tune_kernel_parameters()

Start tuning kernel parameters. Read more...


Members defined in CollisionMethod:

embedded_particles

HOOMD particles to include in collision (read only).

These particles are included in per-cell quantities and have their velocities updated along with the MPCD particles.

You will need to create an appropriate method to integrate the positions of these particles. The recommended integrator is ConstantVolume with no thermostat (NVE). It is generally not a good idea to use a thermostat because the MPCD particles themselves already act as a heat bath for the embedded particles.

Warning

Do not embed particles that are part of a rigid body. Momentum will not be correctly transferred to the body. Support for this is planned in future.

Type:

hoomd.filter.filter_like

period

Number of integration steps between collisions (read only).

A collision is executed each time the timestep is a multiple of period. It must be a multiple of period for the StreamingMethod if one is attached to the Integrator.

Type:

int