Skip navigation links

Package etomica.action

Provides interfaces and classes that define elementary actions that can be performed on simulation elements.

See: Description

Package etomica.action Description

Provides interfaces and classes that define elementary actions that can be performed on simulation elements. Examples include classes that move an atom, or that change the density of a box. This package defines the Action interface. This interface includes the actionPerformed method, which a class implements to define its action.

Interfaces extending Action define actions for different etomica elements, such as Box, Atom, and so on. Atomset actions are expected as arguments to the allAtoms methods of atom iterators.

Activity implements Action and is an abstract class appropriate to encapsulate more complex, time-consuming tasks. Classes extending Activity are collected in the subpackage etomica.action.activity.

Skip navigation links