Constants

Geometry Constants

class mechanica.PointsType
Cube

Unit hollow cube

Disk

Unit disk

Ring

Unit ring

SolidCube

Unit solid cube

SolidSphere

Unit sphere shell

Sphere

Unit sphere

Boundary Condition Constants

mechanica.BOUNDARY_NONE

no boundary conditions

mechanica.PERIODIC_X

periodic in the x (first) direction

mechanica.PERIODIC_Y

periodic in the y (second) direction

mechanica.PERIODIC_Z

periodic in the z (third) direction

mechanica.PERIODIC_FULL

periodic in the all directions

mechanica.FREESLIP_X

free slip in the x (first) direction

mechanica.FREESLIP_Y

free slip in the y (second) direction

mechanica.FREESLIP_Z

free slip in the z (third) direction

mechanica.FREESLIP_FULL

free slip in the all directions

Integrator Constants

mechanica.FORWARD_EULER

Integrator constant: Forward Euler.

Recomended, most tested, standard single-step.

mechanica.RUNGE_KUTTA_4

Integrator constant: Runge-Kutta.

Experimental Runge-Kutta-4.

Particle Dynamics Constants

mechanica.Newtonian

Newtonian dynamics.

mechanica.Overdamped

Overdamped dynamics.

Potential Constants

mechanica.MxPotential.Kind.potential

Potential kind

mechanica.MxPotential.Kind.dpd

Dissipative particle dynamics kind