public class BoxImposePbc extends BoxActionAdapter
box
Constructor | Description |
---|---|
BoxImposePbc(Box box,
Space space) |
Creates the action ready to perform on the given box.
|
BoxImposePbc(Space space) |
Creates the action without specifying a box.
|
Modifier and Type | Method | Description |
---|---|---|
void |
actionPerformed() |
Completes the action defined by the class implementing this interface.
|
IMoleculePositionDefinition |
getPositionDefinition() |
|
int |
getPriority() |
|
boolean |
isApplyToMolecules() |
Returns the value of applyToMolecules.
|
void |
setApplyToMolecules(boolean applyToMolecules) |
Sets a flag indicating whether periodic boundaries are applied to the
molecules (true), or to the atoms (false).
|
void |
setPositionDefinition(IMoleculePositionDefinition positionDefinition) |
getBox, setBox
public BoxImposePbc(Space space)
public int getPriority()
public void actionPerformed()
IAction
public boolean isApplyToMolecules()
public void setApplyToMolecules(boolean applyToMolecules)
applyToMolecules
- The new value of the flag.public void setPositionDefinition(IMoleculePositionDefinition positionDefinition)
public IMoleculePositionDefinition getPositionDefinition()