|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectetomica.nbr.list.AtomPotentialList
public class AtomPotentialList
Class used to maintain list of whether each 1-body potential that applies to an AtomType is currently in effect or not for an Atom.
| Field Summary | |
|---|---|
protected boolean[] |
isInteractingList
|
| Constructor Summary | |
|---|---|
AtomPotentialList()
Constructs sequencer for the given atom. |
|
| Method Summary | |
|---|---|
void |
clearNbrs()
Clears neighbor lists, resetting all flags to false (not interacting). |
boolean[] |
getInteractingList()
Returns booleans indicating whether the Atom interacts with each potential or not. |
protected void |
setCapacity(int index)
|
void |
setIsInteracting(boolean flag,
int index)
Sets whether the atom is interacting or not with the potential corresponding to the given index. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean[] isInteractingList
| Constructor Detail |
|---|
public AtomPotentialList()
| Method Detail |
|---|
public void setIsInteracting(boolean flag,
int index)
public boolean[] getInteractingList()
protected void setCapacity(int index)
public void clearNbrs()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||