|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectetomica.action.BoxActionAdapter
etomica.action.BoxImposePbc
public class BoxImposePbc
Action that imposes the central-image effect of a box having periodic boundaries. Causes all atoms with coordinates outside the box boundaries to be moved to the central-image location (inside the boundaries).
| Field Summary |
|---|
| Fields inherited from class etomica.action.BoxActionAdapter |
|---|
box |
| Constructor Summary | |
|---|---|
BoxImposePbc(IBox box,
ISpace space)
Creates the action ready to perform on the given box. |
|
BoxImposePbc(ISpace space)
Creates the action without specifying a box. |
|
| Method Summary | |
|---|---|
void |
actionPerformed()
Completes the action defined by the class implementing this interface. |
IAtomPositionDefinition |
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(IAtomPositionDefinition positionDefinition)
|
| Methods inherited from class etomica.action.BoxActionAdapter |
|---|
getBox, setBox |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BoxImposePbc(ISpace space)
public BoxImposePbc(IBox box,
ISpace space)
box - | Method Detail |
|---|
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(IAtomPositionDefinition positionDefinition)
public IAtomPositionDefinition getPositionDefinition()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||